Re: [Spice-devel] [PATCH] Allow Qemu to pass maximum head to guest

2015-06-12 Thread Frediano Ziglio
Decided to drop these changes as new ones are much better. Frediano - Original Message - > From: "Marc-André Lureau" > To: "Frediano Ziglio" > Cc: "spice-devel" > Sent: Monday, June 8, 2015 6:44:50 PM > Subject: Re: [Spice-devel] [PA

Re: [Spice-devel] [PATCH] Allow Qemu to pass maximum head to guest

2015-06-08 Thread Marc-André Lureau
On Mon, Jun 8, 2015 at 7:24 PM, Frediano Ziglio wrote: > Hi, > the idea behind this is to be able from libvirt to set the number of > heads. > Other cards (like vmware) support this "heads" setting. > Actually is expected to work with QXL using Windows guest as in this > configuration every lib

Re: [Spice-devel] [PATCH] Allow Qemu to pass maximum head to guest

2015-06-08 Thread Frediano Ziglio
> > Hi Frediano > > - Original Message - > > Add a max_head field to QXLRom so Qemu can specify the maximum heads it > > wants. This to support heads argument in libvirt properly. > > Padding fields are added to make the structure multiple of 8 bytes. This > > as Qemu append to this struc

Re: [Spice-devel] [PATCH] Allow Qemu to pass maximum head to guest

2015-06-08 Thread Marc-André Lureau
Hi Frediano - Original Message - > Add a max_head field to QXLRom so Qemu can specify the maximum heads it > wants. This to support heads argument in libvirt properly. > Padding fields are added to make the structure multiple of 8 bytes. This > as Qemu append to this structure some fields

[Spice-devel] [PATCH] Allow Qemu to pass maximum head to guest

2015-06-08 Thread Frediano Ziglio
Add a max_head field to QXLRom so Qemu can specify the maximum heads it wants. This to support heads argument in libvirt properly. Padding fields are added to make the structure multiple of 8 bytes. This as Qemu append to this structure some fields for mode settings. As this structure is packed not