* [Qemu-devel] [RFC 1.0] pc_piix: set qxl revision to 2 for pc-0.14
@ 2011-11-13 13:27 Alon Levy
2011-11-14 10:40 ` Gerd Hoffmann
2011-11-15 15:04 ` Anthony Liguori
0 siblings, 2 replies; 10+ messages in thread
From: Alon Levy @ 2011-11-13 13:27 UTC (permalink / raw)
To: kraxel; +Cc: qemu-devel, avi
The default is still 3, and I didn't change older machine types.
Signed-off-by: Alon Levy <alevy@redhat.com>
---
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(-)
diff --git a/hw/pc_piix.c b/hw/pc_piix.c
index 27ea570..970f43c 100644
--- a/hw/pc_piix.c
+++ b/hw/pc_piix.c
@@ -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 = {
--
1.7.7.3
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [Qemu-devel] [RFC 1.0] pc_piix: set qxl revision to 2 for pc-0.14
2011-11-13 13:27 [Qemu-devel] [RFC 1.0] pc_piix: set qxl revision to 2 for pc-0.14 Alon Levy
@ 2011-11-14 10:40 ` Gerd Hoffmann
2011-11-14 11:44 ` Alon Levy
2011-11-15 15:04 ` Anthony Liguori
1 sibling, 1 reply; 10+ messages in thread
From: Gerd Hoffmann @ 2011-11-14 10:40 UTC (permalink / raw)
To: Alon Levy; +Cc: qemu-devel, avi
On 11/13/11 14:27, Alon Levy wrote:
> The default is still 3, and I didn't change older machine types.
Looks good to me.
> Signed-off-by: Alon Levy <alevy@redhat.com>
> ---
> 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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Qemu-devel] [RFC 1.0] pc_piix: set qxl revision to 2 for pc-0.14
2011-11-14 10:40 ` Gerd Hoffmann
@ 2011-11-14 11:44 ` Alon Levy
2011-11-14 15:55 ` Gerd Hoffmann
0 siblings, 1 reply; 10+ messages in thread
From: Alon Levy @ 2011-11-14 11:44 UTC (permalink / raw)
To: Gerd Hoffmann; +Cc: qemu-devel, avi
On Mon, Nov 14, 2011 at 11:40:57AM +0100, Gerd Hoffmann wrote:
> On 11/13/11 14:27, Alon Levy wrote:
> > 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?
> > Signed-off-by: Alon Levy <alevy@redhat.com>
> > ---
> > 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
>
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Qemu-devel] [RFC 1.0] pc_piix: set qxl revision to 2 for pc-0.14
2011-11-14 11:44 ` Alon Levy
@ 2011-11-14 15:55 ` Gerd Hoffmann
2011-11-14 16:07 ` Anthony Liguori
0 siblings, 1 reply; 10+ messages in thread
From: Gerd Hoffmann @ 2011-11-14 15:55 UTC (permalink / raw)
To: qemu-devel, avi, Anthony Liguori
On 11/14/11 12:44, Alon Levy wrote:
> On Mon, Nov 14, 2011 at 11:40:57AM +0100, Gerd Hoffmann wrote:
>> On 11/13/11 14:27, Alon Levy wrote:
>>> 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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Qemu-devel] [RFC 1.0] pc_piix: set qxl revision to 2 for pc-0.14
2011-11-14 15:55 ` Gerd Hoffmann
@ 2011-11-14 16:07 ` Anthony Liguori
2011-11-14 17:45 ` Avi Kivity
0 siblings, 1 reply; 10+ messages in thread
From: Anthony Liguori @ 2011-11-14 16:07 UTC (permalink / raw)
To: Gerd Hoffmann; +Cc: qemu-devel, avi
On 11/14/2011 09:55 AM, Gerd Hoffmann wrote:
> On 11/14/11 12:44, Alon Levy wrote:
>> On Mon, Nov 14, 2011 at 11:40:57AM +0100, Gerd Hoffmann wrote:
>>> On 11/13/11 14:27, Alon Levy wrote:
>>>> 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?
Yes, I'll apply directly.
Regards,
Anthony Liguori
>
> thanks,
> Gerd
>
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Qemu-devel] [RFC 1.0] pc_piix: set qxl revision to 2 for pc-0.14
2011-11-14 16:07 ` Anthony Liguori
@ 2011-11-14 17:45 ` Avi Kivity
2011-11-14 17:48 ` Anthony Liguori
0 siblings, 1 reply; 10+ messages in thread
From: Avi Kivity @ 2011-11-14 17:45 UTC (permalink / raw)
To: Anthony Liguori; +Cc: Gerd Hoffmann, qemu-devel
On 11/14/2011 06:07 PM, Anthony Liguori wrote:
>> 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?
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Qemu-devel] [RFC 1.0] pc_piix: set qxl revision to 2 for pc-0.14
2011-11-14 17:45 ` Avi Kivity
@ 2011-11-14 17:48 ` Anthony Liguori
2011-11-14 17:51 ` Avi Kivity
0 siblings, 1 reply; 10+ messages in thread
From: Anthony Liguori @ 2011-11-14 17:48 UTC (permalink / raw)
To: Avi Kivity
Cc: Justin >> "Justin M. Forbes", Gerd Hoffmann,
qemu-devel
On 11/14/2011 11:45 AM, Avi Kivity wrote:
> On 11/14/2011 06:07 PM, Anthony Liguori wrote:
>>> 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
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Qemu-devel] [RFC 1.0] pc_piix: set qxl revision to 2 for pc-0.14
2011-11-14 17:48 ` Anthony Liguori
@ 2011-11-14 17:51 ` Avi Kivity
2011-11-15 10:54 ` Gerd Hoffmann
0 siblings, 1 reply; 10+ messages in thread
From: Avi Kivity @ 2011-11-14 17:51 UTC (permalink / raw)
To: Anthony Liguori
Cc: Justin >> "Justin M. Forbes", Gerd Hoffmann,
qemu-devel
On 11/14/2011 07:48 PM, Anthony Liguori wrote:
> On 11/14/2011 11:45 AM, Avi Kivity wrote:
>> On 11/14/2011 06:07 PM, Anthony Liguori wrote:
>>>> 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?
>
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).
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Qemu-devel] [RFC 1.0] pc_piix: set qxl revision to 2 for pc-0.14
2011-11-14 17:51 ` Avi Kivity
@ 2011-11-15 10:54 ` Gerd Hoffmann
0 siblings, 0 replies; 10+ messages in thread
From: Gerd Hoffmann @ 2011-11-15 10:54 UTC (permalink / raw)
To: Avi Kivity; +Cc: Justin >> "Justin M. Forbes", qemu-devel
Hi,
> 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.
> 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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Qemu-devel] [RFC 1.0] pc_piix: set qxl revision to 2 for pc-0.14
2011-11-13 13:27 [Qemu-devel] [RFC 1.0] pc_piix: set qxl revision to 2 for pc-0.14 Alon Levy
2011-11-14 10:40 ` Gerd Hoffmann
@ 2011-11-15 15:04 ` Anthony Liguori
1 sibling, 0 replies; 10+ messages in thread
From: Anthony Liguori @ 2011-11-15 15:04 UTC (permalink / raw)
To: Alon Levy; +Cc: avi, kraxel, qemu-devel
On 11/13/2011 07:27 AM, Alon Levy wrote:
> The default is still 3, and I didn't change older machine types.
>
> Signed-off-by: Alon Levy<alevy@redhat.com>
Applied. Thanks.
Regards,
Anthony Liguori
> ---
> 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(-)
>
> diff --git a/hw/pc_piix.c b/hw/pc_piix.c
> index 27ea570..970f43c 100644
> --- a/hw/pc_piix.c
> +++ b/hw/pc_piix.c
> @@ -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 = {
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2011-11-15 15:04 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-13 13:27 [Qemu-devel] [RFC 1.0] pc_piix: set qxl revision to 2 for pc-0.14 Alon Levy
2011-11-14 10:40 ` Gerd Hoffmann
2011-11-14 11:44 ` Alon Levy
2011-11-14 15:55 ` Gerd Hoffmann
2011-11-14 16:07 ` Anthony Liguori
2011-11-14 17:45 ` Avi Kivity
2011-11-14 17:48 ` Anthony Liguori
2011-11-14 17:51 ` Avi Kivity
2011-11-15 10:54 ` Gerd Hoffmann
2011-11-15 15:04 ` Anthony Liguori
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).