public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] reserved-ram for pci-passthrough without VT-d capable hardware
@ 2009-04-27 17:00 Passera, Pablo R
  2009-04-27 17:43 ` Andrea Arcangeli
  0 siblings, 1 reply; 16+ messages in thread
From: Passera, Pablo R @ 2009-04-27 17:00 UTC (permalink / raw)
  To: kvm@vger.kernel.org, Andrea Arcangeli

Andrea,
        We are working with embedded hardware that does not have VT-d and we need 1-1 mapping. I wonder which is the status of this patch. Have you continued updating it with the latest KVM version?

Regards,
Pablo

On Wed, Jul 30, 2008 at 05:16:06PM +0300, Dor Laor wrote:
> In addition KVM is used in embedded too and things are slower there, we
> know of a specific use case (production) that demands
> 1:1 mapping and can't use VT-d

Since you mentioned this ;), I take opportunity to add that those
embedded usages are the ones that are totally fine with the compile
time passthrough-guest-ram decision, instead of a boot time
decision. Those host kernels will likely have RT patches (KVM works
great with preempt-RT indeed) and in turn the compile time ram
selection is the least of their problems as you can imagine ;). So you
can see my patch as an embedded-build option, similar to "Configure
standard kernel features (for small systems)" and no distro is
shipping new kernels with that feature on either.

Than if we decide 1:1 should have larger userbase instead of only the
people that knows what they're doing (i.e. 1:1 guest can destroy
linux-hypervisor) we can always add a bit of strtol parsing to 16bit
kernelloader.



^ permalink raw reply	[flat|nested] 16+ messages in thread
* KVM: PCIPT: direct mmio pfn check
@ 2008-06-23 14:52 benami
  2008-06-23 14:52 ` [PATCH] " benami
  0 siblings, 1 reply; 16+ messages in thread
From: benami @ 2008-06-23 14:52 UTC (permalink / raw)
  To: amit.shah; +Cc: kvm, andrea, aliguori, allen.m.kay, muli, benami

In some cases it is not enough to identify mmio memory slots by
pfn_valid.
This patch adds checking PageReserved before assuming that a pfn is RAM.
This patch applies to the main KVM tree.
It was tested with direct mmio using the PCI pass-through tree.



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

end of thread, other threads:[~2009-05-05 19:53 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-27 17:00 [PATCH] reserved-ram for pci-passthrough without VT-d capable hardware Passera, Pablo R
2009-04-27 17:43 ` Andrea Arcangeli
2009-04-28 13:35   ` Passera, Pablo R
2009-04-28 18:06     ` Andrea Arcangeli
2009-05-05 19:53       ` Passera, Pablo R
  -- strict thread matches above, loose matches on Subject: below --
2008-06-23 14:52 KVM: PCIPT: direct mmio pfn check benami
2008-06-23 14:52 ` [PATCH] " benami
2008-06-25  0:57   ` Andrea Arcangeli
2008-06-25  1:18     ` [PATCH] reserved-ram for pci-passthrough without VT-d capable hardware Andrea Arcangeli
2008-07-29 12:11       ` Andrea Arcangeli
2008-07-29 12:43         ` Andi Kleen
2008-07-29 12:53           ` Andrea Arcangeli
2008-07-29 13:17             ` Andi Kleen
2008-07-30  6:20               ` Amit Shah
2008-07-30 12:27                 ` Andi Kleen
2008-07-30 13:58                 ` Andrea Arcangeli
2008-07-30 14:16                   ` Dor Laor
2008-07-30 14:38                     ` Andrea Arcangeli
2008-07-30 14:22                   ` FUJITA Tomonori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox