[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] HVM vcpu add/remove
Hi, all These patches are HVM vcpu add/remove patches. With these patches, user can run-time add/remove HVM vcpus by 'cpu_set vcpu-number online/offline' at qemu monitor interface. At HVM booting, HVM maxvcpus/vcpu_avail can be set at config file, with 'maxvcpus=x vcpus=y' ras_xen_py_1.patch: - currently xend has parse 'vcpus' to qemu, we need also parse 'vcpu_avail' to qemu. ras_xen_acpi_2.patch: In order to support HVM vcpu add/remove, we need set dsdt and madt infrastructure: - at dsdt, define ACPI objects and control methods (like _MAT, _EJ0, _STA) for processors; - at dsdt, define control method _L02 corresponding to SCI interrupts, build scan and notify method which trigger HVM acpi driver to add/remove cpu; - at madt, re-order madt subitems sequence, in order to make checksum locating more creditable (will not be influenced by madt change in the future). What is more, the re-order match normal madt sequence habit; ras_xen_hvminfo_3.patch - currently firmware has got 'vcpus' from xend, this patch add parse 'vcpu_avail' to firmware; - setup madt 'lapic' subitems of processors accoring to vcpu_avail; ras_qemu_cpuset_1.patch - setup gpe ioread/iowrite at qmeu; - setup vcpu add/remove user interface through monitor; - setup SCI logic; Signed-off-by: Liu, Jinsong <jinsong.liu@xxxxxxxxx> _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |