qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Alex Bligh <alex@alex.org.uk>
Cc: "Ryan Harper" <ryan.harper@canonical.com>,
	"Serge Hallyn" <serge.hallyn@canonical.com>,
	"quintela@redhat.com" <quintela@redhat.com>,
	Libvirt <libvir-list@redhat.com>,
	"Serge Hallyn" <serge.hallyn@ubuntu.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	"Alexander Graf" <agraf@suse.de>,
	"Cole Robinson" <crobinso@redhat.com>,
	"Amit Shah" <amit.shah@redhat.com>,
	"Bruce Rogers" <brogers@suse.com>,
	"Andreas Färber" <afaerber@suse.de>,
	"Serge E. Hallyn" <serge@hallyn.com>
Subject: Re: [Qemu-devel] [PATCH v3 1/2] Add machine type pc-1.0-qemu-kvm for live migrate compatibility with qemu-kvm
Date: Mon, 22 Sep 2014 15:38:13 +0300	[thread overview]
Message-ID: <20140922123813.GC7992@redhat.com> (raw)
In-Reply-To: <54A1B0FE-AF54-4B4B-BB92-9269A30E5437@alex.org.uk>

On Mon, Sep 22, 2014 at 01:28:30PM +0100, Alex Bligh wrote:
> Michael,
> 
> (Reordering)
> 
> On 22 Sep 2014, at 12:50, Michael S. Tsirkin <mst@redhat.com> wrote:
> 
> > 
> >> @@ -257,6 +259,11 @@ static int pit_dispatch_post_load(void *opaque, int version_id)
> >>     return 0;
> >> }
> >> 
> >> +static bool has_irq_disabled(void *opaque, int version_id)
> >> +{
> >> +    return (version_id >= 3) || ((version_id == 2) && qemu_kvm_1_0_compat);
> >> +}
> >> +
> > Can you add a device property like we do for
> > other compat behaviours?
> > That's better than a global variable.
> > Same for other devices.
> 
> I can see 'opaque' points to PIIX4PMState or PITCommonState. Do you mean
> to put them in there? Could you point to an example to copy.

Look for PC_COMPAT_ macros, we have a ton of flags like this.


> -- 
> Alex Bligh
> 
> 
> 

  reply	other threads:[~2014-09-22 13:03 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-21 14:38 [Qemu-devel] [PATCH v3 0/2] Add machine type pc-1.0-qemu-kvm for live migrate compatibility with qemu-kvm Alex Bligh
2014-09-21 14:38 ` [Qemu-devel] [PATCH v3 1/2] " Alex Bligh
2014-09-22 11:50   ` Michael S. Tsirkin
2014-09-22 12:28     ` Alex Bligh
2014-09-22 12:38       ` Michael S. Tsirkin [this message]
2014-09-21 14:38 ` [Qemu-devel] [PATCH v3 2/2] Add configure option --enable-pc-1-0-qemu-kvm Alex Bligh
2014-09-22 11:36   ` Michael S. Tsirkin
2014-09-22 11:42     ` [Qemu-devel] [libvirt] " Daniel P. Berrange
2014-09-22 11:53       ` Michael S. Tsirkin
2014-09-22 15:24       ` Markus Armbruster
2014-09-22 15:36         ` Michael S. Tsirkin
2014-09-22 15:47           ` Serge Hallyn
2014-09-22 15:44         ` Paolo Bonzini
2014-09-22 17:30           ` Alex Bligh
2014-09-22 19:10             ` Paolo Bonzini
2014-09-22 19:36               ` Alex Bligh
2014-09-23  0:12                 ` Serge Hallyn
2014-09-22 11:50     ` [Qemu-devel] " Alex Bligh
2014-09-22 12:10       ` Michael S. Tsirkin
2014-09-22 13:05         ` Alex Bligh
2014-09-22 15:45           ` Andreas Färber
2014-09-22 16:54             ` Alex Bligh
2014-09-22 17:26               ` Markus Armbruster
2014-09-23  3:46               ` Michael S. Tsirkin
2014-09-23  3:44             ` Michael S. Tsirkin
2014-09-22 15:32     ` Markus Armbruster
2014-09-22 17:21       ` Michael S. Tsirkin
2014-09-23  7:59         ` Markus Armbruster
2014-09-23  8:24           ` Michael S. Tsirkin

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=20140922123813.GC7992@redhat.com \
    --to=mst@redhat.com \
    --cc=afaerber@suse.de \
    --cc=agraf@suse.de \
    --cc=alex@alex.org.uk \
    --cc=amit.shah@redhat.com \
    --cc=brogers@suse.com \
    --cc=crobinso@redhat.com \
    --cc=libvir-list@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=quintela@redhat.com \
    --cc=ryan.harper@canonical.com \
    --cc=serge.hallyn@canonical.com \
    --cc=serge.hallyn@ubuntu.com \
    --cc=serge@hallyn.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 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).