All of lore.kernel.org
 help / color / mirror / Atom feed
* Re:RE: [PATCH 1/3] KVM: pci passthrough un-page-aligned mmio device on machines w/o VT-d
@ 2008-12-16 10:13 刘晓建
  2008-12-17  0:32 ` Han, Weidong
  0 siblings, 1 reply; 3+ messages in thread
From: 刘晓建 @ 2008-12-16 10:13 UTC (permalink / raw)
  To: kvm

2008-12-16,"Han, Weidong" <weidong.han@intel.com> wrote:
>Pls note that multiple devices may share one page for their MMIO, and they may
> be
> assigned to different guests, there is potential isolation issue. So we don't
> allow to assign these devices.

In my view, we can modify the get_real_device() to open the file /proc/iomem to
find out whether the "potential issue" is a real one, instead of disabling this
feature all the times.

Xiaojian Liu

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Re:RE: [PATCH 1/3] KVM: pci passthrough un-page-aligned mmio device on machines w/o VT-d
  2008-12-16 10:13 Re:RE: [PATCH 1/3] KVM: pci passthrough un-page-aligned mmio device on machines w/o VT-d 刘晓建
@ 2008-12-17  0:32 ` Han, Weidong
  0 siblings, 0 replies; 3+ messages in thread
From: Han, Weidong @ 2008-12-17  0:32 UTC (permalink / raw)
  To: '刘晓建', 'kvm@vger.kernel.org'

刘晓建 wrote:
> 2008-12-16,"Han, Weidong" <weidong.han@intel.com> wrote:
>> Pls note that multiple devices may share one page for their MMIO,
>> and they may be assigned to different guests, there is potential
>> isolation issue. So we don't allow to assign these devices.
> 
> In my view, we can modify the get_real_device() to open the file
> /proc/iomem to find out whether the "potential issue" is a real one,
> instead of disabling this feature all the times.
> 
> Xiaojian Liu

As I know, there are few devices that have unpage-aligned mmio, and they are almost legacy. What's more, it's a little weird to map unpage-aligned memory slot, though I don't know what's problem on it. In short, I don't perfer to assign these devices.

Regards,
Weidong

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re:RE: [PATCH 1/3] KVM: pci passthrough un-page-aligned mmio device on machines w/o VT-d
@ 2008-12-16  9:56 刘晓建
  0 siblings, 0 replies; 3+ messages in thread
From: 刘晓建 @ 2008-12-16  9:56 UTC (permalink / raw)
  To: kvm

> In my view, we can modify the get_real_device() to open the file /dev/iomem to
> find out whether the "potential issue" is a real one, instead of disabling this
> feature all the times.

Sorry, I made a mistake. I mean the file /proc/iomem, not /dev/iomem.

Regards,
Xiaojian Liu



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-12-17  0:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-16 10:13 Re:RE: [PATCH 1/3] KVM: pci passthrough un-page-aligned mmio device on machines w/o VT-d 刘晓建
2008-12-17  0:32 ` Han, Weidong
  -- strict thread matches above, loose matches on Subject: below --
2008-12-16  9:56 刘晓建

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.