Re: [Qemu-devel] default slot used for vga device on q35 machines

2013-08-05 Thread Eric Blake
On 08/03/2013 01:32 PM, Laine Stump wrote: >>> >>> 1) Is this difference intentional, or a bug? >> The vga simply goes into the first free slot. That happens to be #2 >> with i440fx and #1 with q35. > > > It sounds like it's a safe bet to assume that -vga will put the device > on slot 2 for pc

Re: [Qemu-devel] default slot used for vga device on q35 machines

2013-08-04 Thread Gerd Hoffmann
Hi, >>> 1) Is this difference intentional, or a bug? >> The vga simply goes into the first free slot. That happens to be #2 >> with i440fx and #1 with q35. > > It sounds like it's a safe bet to assume that -vga will put the device > on slot 2 for pc machinetypes and slot 1 for q35, no matter w

Re: [Qemu-devel] default slot used for vga device on q35 machines

2013-08-03 Thread Laine Stump
On 08/02/2013 02:49 AM, Gerd Hoffmann wrote: > Hi, > >> qemu-kvm -M q35 -nodefaults -nodefconfig -qmp unix:/tmp/qemu,server >> -vnc :15 -vga std -usb >> >> Then ran "query-pci" in the qmp monitor and found that the vga device is >> put at slot 1 instead of slot 2. >> >> My questions: >> >> 1) I

Re: [Qemu-devel] default slot used for vga device on q35 machines

2013-08-02 Thread Laine Stump
On 08/02/2013 03:23 AM, Markus Armbruster wrote: > Gerd Hoffmann writes: > >> Hi, >> >>> qemu-kvm -M q35 -nodefaults -nodefconfig -qmp unix:/tmp/qemu,server >>> -vnc :15 -vga std -usb >>> >>> Then ran "query-pci" in the qmp monitor and found that the vga device is >>> put at slot 1 instead of

Re: [Qemu-devel] default slot used for vga device on q35 machines

2013-08-02 Thread Markus Armbruster
Laine Stump writes: > On 08/02/2013 03:23 AM, Markus Armbruster wrote: >> Gerd Hoffmann writes: >> >>> Hi, >>> qemu-kvm -M q35 -nodefaults -nodefconfig -qmp unix:/tmp/qemu,server -vnc :15 -vga std -usb Then ran "query-pci" in the qmp monitor and found that the vga device

Re: [Qemu-devel] default slot used for vga device on q35 machines

2013-08-02 Thread Markus Armbruster
Gerd Hoffmann writes: > Hi, > >> qemu-kvm -M q35 -nodefaults -nodefconfig -qmp unix:/tmp/qemu,server >> -vnc :15 -vga std -usb >> >> Then ran "query-pci" in the qmp monitor and found that the vga device is >> put at slot 1 instead of slot 2. >> >> My questions: >> >> 1) Is this difference

Re: [Qemu-devel] default slot used for vga device on q35 machines

2013-08-01 Thread Gerd Hoffmann
Hi, > qemu-kvm -M q35 -nodefaults -nodefconfig -qmp unix:/tmp/qemu,server > -vnc :15 -vga std -usb > > Then ran "query-pci" in the qmp monitor and found that the vga device is > put at slot 1 instead of slot 2. > > My questions: > > 1) Is this difference intentional, or a bug? The vga simp

[Qemu-devel] default slot used for vga device on q35 machines

2013-08-01 Thread Laine Stump
libvirt makes an assumption that if you specify "-vga qxl" instead of "-device qxl-vga,...", the vga device will be connected to slot 2. I learned this in a recent discussion about a bug caused by switching over to using the former syntax (in order to support multiheaded QXL): https://bugzilla.r