Re: [Qemu-devel] [PATCH] Inter-VM shared memory PCI device

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jamie Lokier
Date: Sunday, March 7, 2010 - 6:45 pm

Paul Brook wrote:

Yes. Guest-observable behaviour is likely to be quite different on
different hosts, expecially beteen x86 and non-x86 hosts, which is not
good at all for emulation.

Memory barriers performed by the guest would help, but would not
remove the fact that behaviour would vary beteen different host types
if a guest doesn't call them.  I.e. you could accidentally have some
guests working fine for years on x86 hosts, which gain subtle
memory corruption as soon as you run them on a different host.

This is acceptable when recompiling code for different architectures,
but it's asking for trouble with binary guest images which aren't
supposed to depend on host architecture.

However, coherence could be made host-type-independent by the host
mapping and unampping pages, so that each page is only mapped into one
guest (or guest CPU) at a time.  Just like some clustering filesystems
do to maintain coherence.

-- Jamie
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Support adding a file to qemu's ram allocation, Cam Macdonell, (Fri Mar 5, 4:52 pm)
[PATCH] Inter-VM shared memory PCI device, Cam Macdonell, (Fri Mar 5, 4:52 pm)
Re: [Qemu-devel] [PATCH] Inter-VM shared memory PCI device, Jamie Lokier, (Sun Mar 7, 6:45 pm)
Re: [PATCH] Inter-VM shared memory PCI device, Avi Kivity, (Mon Mar 8, 2:56 am)
Re: [PATCH] Inter-VM shared memory PCI device, Cam Macdonell, (Mon Mar 8, 10:57 am)
Re: [PATCH] Inter-VM shared memory PCI device, Avi Kivity, (Tue Mar 9, 3:29 am)
Re: [PATCH] Inter-VM shared memory PCI device, Arnd Bergmann, (Tue Mar 9, 5:49 am)
Re: [PATCH] Inter-VM shared memory PCI device, Avi Kivity, (Tue Mar 9, 6:03 am)
[PATCH] Inter-VM shared memory PCI device, Cam Macdonell, (Tue Mar 9, 8:27 am)
Re: [PATCH] Inter-VM shared memory PCI device, Cam Macdonell, (Tue Mar 9, 9:44 am)
Re: [PATCH] Inter-VM shared memory PCI device, Avi Kivity, (Tue Mar 9, 10:28 am)
Re: [PATCH] Inter-VM shared memory PCI device, Anthony Liguori, (Tue Mar 9, 10:34 am)
Re: [PATCH] Inter-VM shared memory PCI device, Cam Macdonell, (Tue Mar 9, 11:34 am)
Re: [Qemu-devel] [PATCH] Inter-VM shared memory PCI device, Anthony Liguori, (Tue Mar 9, 2:41 pm)
Re: [Qemu-devel] [PATCH] Inter-VM shared memory PCI device, Anthony Liguori, (Tue Mar 9, 2:44 pm)
Re: [PATCH] Inter-VM shared memory PCI device, Avi Kivity, (Wed Mar 10, 2:21 am)
Re: [PATCH] Inter-VM shared memory PCI device, Arnd Bergmann, (Wed Mar 10, 7:04 am)
Re: [PATCH] Inter-VM shared memory PCI device, Cam Macdonell, (Wed Mar 10, 9:36 am)
Re: [Qemu-devel] [PATCH] Inter-VM shared memory PCI device, Anthony Liguori, (Wed Mar 10, 10:13 am)
Re: [PATCH] Inter-VM shared memory PCI device, Avi Kivity, (Wed Mar 10, 11:49 pm)
Re: [PATCH] Inter-VM shared memory PCI device, Avi Kivity, (Wed Mar 10, 11:50 pm)
Re: [PATCH] Inter-VM shared memory PCI device, Arnd Bergmann, (Thu Mar 11, 5:57 am)
Re: [PATCH] Inter-VM shared memory PCI device, Avi Kivity, (Thu Mar 11, 6:07 am)
Re: [PATCH] Inter-VM shared memory PCI device, Arnd Bergmann, (Thu Mar 11, 7:32 am)