[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Xen-devel] Re: [Qemu-devel] [PATCH 03/15] xen: Add a new target to qemu
From: |
Ian Jackson |
Subject: |
[Xen-devel] Re: [Qemu-devel] [PATCH 03/15] xen: Add a new target to qemu: target-xen |
Date: |
Fri, 13 Aug 2010 13:47:18 +0100 |
Blue Swirl writes ("[Xen-devel] Re: [Qemu-devel] [PATCH 03/15] xen: Add a new
target to qemu: target-xen"):
> I don't understand why it would be a target, QEMU calls CPU
> architectures targets. Isn't it possible to have Xen for Sparc, PPC or
> ARM? It should really be just a machine, not copy&paste from x86
> target.
Qemu's targets include much more of Qemu's system emulation than is
appropriate for Xen, because the hypervisor is doing more of the
work. For example, there is no representation of the guest CPU state
outside the hypervisor so Qemu doesn't see that at all.
So it makes sense to do Xen emulation in Qemu as a new target than
just as a machine.
Yes, in principle Xen for Sparc, PPC and ARM are possible; some of
these have existed in the past although targets other than i386,
itanium and amd64 aren't currently supported by xen-unstable. So
perhaps the currently-introduced xen target should be called
target-i386-xen. However, in practice since in a Xen system Qemu
doesn't deal with CPU instructions these other targets will be much
more like each other than (say) i386 is close to m68k.
Or to put it all another way: from the point of view of Qemu, Xen is
a weird kind of cpu architecture whose instruction emulation is done
"by magic" and Qemu doesn't need to care vary much about that.
Ian.
- [Qemu-devel] [PATCH 15/15] xen: Add a Xen specific ACPI Implementation to target-xen, (continued)
[Qemu-devel] [PATCH 13/15] vl.c: Introduce getter for shutdown_requested and reset_requested., stefano . stabellini, 2010/08/12
[Qemu-devel] [PATCH 03/15] xen: Add a new target to qemu: target-xen, stefano . stabellini, 2010/08/12
[Qemu-devel] Re: [PATCH 03/15] xen: Add a new target to qemu: target-xen, Anthony Liguori, 2010/08/13
[Qemu-devel] [PATCH 10/15] xen: Introduce the Xen mapcache, stefano . stabellini, 2010/08/12
[Qemu-devel] Re: [PATCH 00/15] RFC xen device model support, Anthony Liguori, 2010/08/13