From: Anthony Liguori <anthony@codemonkey.ws>
To: qemu-devel@nongnu.org
Cc: Paul Brook <paul@codesourcery.com>
Subject: Re: [Qemu-devel] [RFC] More robust migration
Date: Mon, 23 Feb 2009 19:15:14 -0600 [thread overview]
Message-ID: <49A34A22.8000106@codemonkey.ws> (raw)
In-Reply-To: <20090223220708.GA8471@shareable.org>
Jamie Lokier wrote:
> Paul Brook wrote:
>
>> I never said you need the same host. All the save/restore code
>> should be host independent. It should be possible to save state on
>> (say) i386 and restore on ppc64. Anything that prevents this is IMO
>> a bug.
>>
>> For KVM you're likely to need a cpu with at least as many features
>> as the old one, but that's the price you pay for using host hardware
>> features.
>>
>
> I'd prefer the "host hardware features" to be an acceleration
> mechanism, than something which makes a VM dependent on the specific
> host it's running on.
>
> Can't KVM invoke QEMU's emulation capabilities for those things it
> cannot provide itself because of missing host abilities?
>
In theory, software can do anything :-) In practice, it's pretty nasty
to mix TCG execution with direct execution. TCG doesn't guarantee
atomicity of translated instructions so if you had TCG running one VCPU
and bare metal running the other badness could occur. Plus, TCG has
hidden state that needs to be synchronized between the two.
Yeah, you could halt all VCPUs and just run one in TCG, or some other
equally hackish thing. But the point is, it's not easy and since it's
not a tremendously popular thing to do, noone's working on it. We have
much more important low-hanging fruit (like making qcow2 not suck).
Regards,
Anthony Liguori
> -- Jamie
>
>
>
next prev parent reply other threads:[~2009-02-24 1:15 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-20 14:36 [Qemu-devel] [RFC] More robust migration Andre Przywara
2009-02-20 15:15 ` Anthony Liguori
2009-02-20 16:09 ` Paul Brook
2009-02-20 16:38 ` Jamie Lokier
2009-02-20 16:47 ` Paul Brook
2009-02-23 3:51 ` Jamie Lokier
2009-02-23 11:55 ` Paul Brook
2009-02-23 22:07 ` Jamie Lokier
2009-02-23 23:21 ` Paul Brook
2009-02-24 1:15 ` Anthony Liguori [this message]
2009-02-24 10:18 ` Avi Kivity
2009-02-20 16:37 ` Jamie Lokier
2009-02-20 18:27 ` Anthony Liguori
2009-02-20 17:06 ` [Qemu-devel] " Charles Duffy
2009-02-23 3:54 ` Jamie Lokier
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=49A34A22.8000106@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=paul@codesourcery.com \
--cc=qemu-devel@nongnu.org \
/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).