ajax,
What do you mean by a pci revision id bump? Do you want it in qemu or the kernel? Why is a revision bump needed when none of the behavior of the cirrus device has changed?
I agree that reading the BAR size from the device would be an enhancement. I'm working on the patch to include that now.
-Zach

On Mon Oct 27 2014 at 9:21:42 AM Adam Jackson <ajax@redhat.com> wrote:
On Mon, 2014-10-27 at 16:30 +0100, Gerd Hoffmann wrote:

> How about stop using cirrus and go for 'qemu -vga std' instead?
>
> Linux kernel 3.14+ comes with a modesetting driver for the qemu standard
> vga (CONFIG_DRM_BOCHS).  Just switch over, and all your cirrus pain is
> gone.
>
> That is much better than trying use features the real cirrus hardware
> never had, then praying that all qemu versions in the wild are actually
> doing what you want qemu do.

I was going to ask for a pci revision id bump at the same time, so the
guest could know.

I heartily agree, people should stop using cirrus.  And qemu should stop
defaulting to it.  Since neither has happened yet, enhancing the
emulation holds the promise of making the future better...

- ajax