WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] HVM vcpu add/remove

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] HVM vcpu add/remove
From: "Liu, Jinsong" <jinsong.liu@xxxxxxxxx>
Date: Wed, 9 Dec 2009 17:26:30 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Wed, 09 Dec 2009 01:27:43 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acp4sbDZngaRsrGvQ92S4YNJ60tLtQ==
Thread-topic: [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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] HVM vcpu add/remove, Liu, Jinsong <=