pc_piix: set qxl revision to 2 for pc-0.14
RFC 1/1 pc_piix: set qxl revision to 2 for pc-0.14
The default is still 3, and I didn't change older machine types.
---
Is there a better way then copy pasting this to the older pc types to get the revision == 2 for them as well?
hw/pc_piix.c | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-)
hw/pc_piix.c +12 -0
@@ -311,6 +311,18 @@ static QEMUMachine pc_machine_v0_14 = { .desc = "Standard PC", .init = pc_init_pci, .max_cpus = 255, + .compat_props = (GlobalProperty []) { + { + .driver ="qxl" , + .property ="revision" , + .value =stringify (2 ), + },{ + .driver ="qxl-vga" , + .property ="revision" , + .value =stringify (2 ), + }, + {/* end of list */ } + }, };static QEMUMachine pc_machine_v0_13 = {
Signature · 1 line
1.7.7.3
Quoted 1 line · Alon Levy
The default is still 3, and I didn't change older machine types.
Looks good to me.
Quoted 4 lines
Signed-off-by Alon Levy <[email protected]>---
Is there a better way then copy pasting this to the older pc types to get the revision == 2 for them as well?
Unfortunaly not, although we probably should have one to make compat props less error prone ...
Not an issue in that case though as 0.14 was the first qemu version with spice.
cheers,
Gerd
Quoted 5 lines · Gerd Hoffmann
Quoted 1 line · Alon Levy
The default is still 3, and I didn't change older machine types.
Looks good to me.
ok, so do you want another email with subject PATCH or can I consider this in the queue?
Quoted 15 lines
Quoted 4 lines
Signed-off-by Alon Levy <[email protected]>---
Is there a better way then copy pasting this to the older pc types to get the revision == 2 for them as well?Unfortunaly not, although we probably should have one to make compat props less error prone ...
Not an issue in that case though as 0.14 was the first qemu version with spice.
cheers,
Gerd
Quoted 9 lines · Alon Levy
Quoted 5 lines · Gerd Hoffmann
Quoted 1 line · Alon Levy
The default is still 3, and I didn't change older machine types.
Looks good to me.
ok, so do you want another email with subject PATCH or can I consider this in the queue?
Antony, can you apply this directly or do you wanna have a single-patch-pull-request instead?
thanks,
Gerd
Quoted 5 lines · Gerd Hoffmann
Quoted 4 lines · Alon Levy
Quoted 3 lines · Gerd Hoffmann
Quoted 1 line · Alon Levy
The default is still 3, and I didn't change older machine types.
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
Looks good to me.
ok, so do you want another email with subject PATCH or can I consider this in the queue?
Antony, can you apply this directly or do you wanna have a single-patch-pull-request instead?
Yes, I'll apply directly.
Regards,
Anthony Liguori
Quoted 5 lines
thanks,
Gerd
Quoted 5 lines · Anthony Liguori
Quoted 2 lines
Antony, can you apply this directly or do you wanna have a single-patch-pull-request instead?
Yes, I'll apply directly.
Does stable-0.15 need it too?
Signature · 1 line
error compiling committee.c: too many arguments to function
Quoted 8 lines · Avi Kivity
Quoted 5 lines · Anthony Liguori
Quoted 2 lines
Antony, can you apply this directly or do you wanna have a single-patch-pull-request instead?
Yes, I'll apply directly.
Does stable-0.15 need it too?
You mean to set the revision to 2 for 0.14, right? Not to set the revision to 2 for 0.15?
Regards,
Anthony Liguori
Quoted 1 line
Quoted 6 lines · Anthony Liguori
Quoted 5 lines · Avi Kivity
Quoted 4 lines · Anthony Liguori
Quoted 2 lines
Antony, can you apply this directly or do you wanna have a single-patch-pull-request instead?
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
Yes, I'll apply directly.
Does stable-0.15 need it too?
You mean to set the revision to 2 for 0.14, right? Not to set the revision to 2 for 0.15?
I mean, change stable-0.15 so that if it is invoked with -M 0.14, you get a rev 2 qxl device.
The Fedora 16 regression which triggered this was running 0.15, I imagine (but it could be running virt-preview, or something, so not sure).
Signature · 1 line
error compiling committee.c: too many arguments to function
Hi,
Quoted 2 lines
I mean, change stable-0.15 so that if it is invoked with -M 0.14, you get a rev 2 qxl device.
0.15 has qxl rev 2 too, 1.0 got rev 3. No need to do anything for -stable. Also 0.15 didn't got its own machine type, so the pc-0.14 compat property (master branch) covers both 0.14 and 0.15. Everything is fine.
Quoted 2 lines
The Fedora 16 regression which triggered this was running 0.15, I imagine (but it could be running virt-preview, or something, so not sure).
Must have been due to backports then, or running a master snapshot.
cheers,
Gerd
Anthony Liguori
AppliedQuoted 3 lines · Alon Levy
The default is still 3, and I didn't change older machine types.
Signed-off-by Alon Levy<[email protected]>
Applied. Thanks.
Regards,
Anthony Liguori
Quoted 30 lines
---
Is there a better way then copy pasting this to the older pc types to get the revision == 2 for them as well?hw/pc_piix.c | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-)hw/pc_piix.c +12
-0@@ -311,6 +311,18 @@ static QEMUMachine pc_machine_v0_14 = { .desc = "Standard PC", .init = pc_init_pci, .max_cpus = 255, + .compat_props = (GlobalProperty []) { + { + .driver ="qxl" , + .property ="revision" , + .value =stringify (2 ), + },{ + .driver ="qxl-vga" , + .property ="revision" , + .value =stringify (2 ), + }, + {/* end of list */ } + }, };static QEMUMachine pc_machine_v0_13 = {