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

Re: [Xen-devel] [PATCH] HVM vcpu hotplug: Fix acpi method NTFY bug



On 31/01/2010 14:04, "Liu, Jinsong" <jinsong.liu@xxxxxxxxx> wrote:

> According to your suggestion, I plan to modify the patch as:
> 1. cancel method NTFY, merge it into method PRSC;
> 2. at method PRSC, only scan 'maxvcpus' times. we can transfer 'maxvcpus'
> (which comes from cmdline) from qemu to dsdt side through bios_info;
> 3. at mk_dsdt.c, add some comments to make it clear;
> Do you think it OK?

I don't even mind if you don't do #2. That's up to you. Bear in mind that to
be able to merge NTFY into PRSC, you will have to completely unroll PRSC
(one way to view it is moving the loops out of the DSDT and into mk_dsdt.c,
to be executed at build time and produce straight-line code). That would
mean you emit the code to check against max_vcpus 128 times. Is it worth it?
I don't know.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.