Re: [PATCH 19/27] Export symbols for KVM module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 29.10.2009, at 03:46, Benjamin Herrenschmidt wrote:

On Wed, 2009-10-21 at 17:03 +0200, Alexander Graf wrote:
We want to be able to build KVM as a module. To enable us doing so, we
need some more exports from core Linux parts.

This patch exports all functions and variables that are required for KVM.

Signed-off-by: Alexander Graf <agraf@xxxxxxx>

Acked-by: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>
---

Quick nit:

u16 mmu_slb_size = 64;
+EXPORT_SYMBOL_GPL(mmu_slb_size);

This value might change when doing a partition migration between a
POWER6 and a POWER7 so KVM might need to be extra careful...

It shouldn't be an issue.

The SLB size for the guest and the SLB size we project things on to on the host are completely independent. So when we migrate, only the guest information is transferred to the new host which then uses its own SLB information to regenerate the shadow entries.

So everything's fine :-)

Alex

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux