From: sandmann@cs.au.dk (Søren Sandmann)
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: "Søren Sandmann Pedersen" <ssp@redhat.com>,
qemu-devel@nongnu.org, kraxel@redhat.com
Subject: Re: [Qemu-devel] [PATCH] qxl: Default to PCI revision 4 when spice-server is new enough
Date: Thu, 04 Oct 2012 19:31:34 +0200 [thread overview]
Message-ID: <ye8391ucfex.fsf@llama05.cs.au.dk> (raw)
In-Reply-To: <506D5A74.5040904@redhat.com> (Paolo Bonzini's message of "Thu, 4 Oct 2012 11:44:20 +0200")
Paolo Bonzini <pbonzini@redhat.com> writes:
> Il 03/10/2012 19:57, Søren Sandmann ha scritto:
>> From: Søren Sandmann Pedersen <ssp@redhat.com>
>>
>> When spice-server is newer than 0.12.0, the default revision should be
>> QXL_REVISION_STABLE_V12.
>>
>> Signed-off-by: Soren Sandmann <ssp@redhat.com>
>> ---
>> hw/qxl.h | 3 +--
>> 1 files changed, 1 insertions(+), 2 deletions(-)
>>
>> diff --git a/hw/qxl.h b/hw/qxl.h
>> index 5553824..4460bb2 100644
>> --- a/hw/qxl.h
>> +++ b/hw/qxl.h
>> @@ -129,8 +129,7 @@ typedef struct PCIQXLDevice {
>> } \
>> } while (0)
>>
>> -#if 0
>> -/* spice-server 0.12 is still in development */
>> +#if SPICE_SERVER_VERSION >= 0x000c00 /* 0x000c00 == 0.12.0 */
>> #define QXL_DEFAULT_REVISION QXL_REVISION_STABLE_V12
>> #else
>> #define QXL_DEFAULT_REVISION QXL_REVISION_STABLE_V10
>>
>
> No, that's not possible. The revision must be the same for all machines
> started with the same "-M" argument. So your only choice is to make
> 0.12 a requirement for QEMU 1.3. Then you can use compatibility
> properties (see the long list of strings in hw/pc_piix.c) to ensure that
> pc-1.2 and earlier machines use the previous revision.
Spice server 0.12 is already, so I'll send a patch to require that
unconditionally. I'm assuming that later strings override earlier ones
so that the revision=3 I added won't take effect for previous machines.
Søren
next prev parent reply other threads:[~2012-10-04 17:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-03 17:57 [Qemu-devel] [PATCH] qxl: Default to PCI revision 4 when spice-server is new enough Søren Sandmann
2012-10-04 9:44 ` Paolo Bonzini
2012-10-04 17:31 ` Søren Sandmann [this message]
2012-10-04 17:37 ` [Qemu-devel] [PATCH] Require spice-server 0.12.0 and spice-protocol 0.12.2 Søren Sandmann
2012-10-05 7:25 ` Paolo Bonzini
2012-10-05 14:02 ` Søren Sandmann
2012-10-08 7:33 ` Gerd Hoffmann
2012-10-05 7:21 ` [Qemu-devel] [PATCH] qxl: Default to PCI revision 4 when spice-server is new enough Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ye8391ucfex.fsf@llama05.cs.au.dk \
--to=sandmann@cs.au.dk \
--cc=kraxel@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=ssp@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.