qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC qom-cpu v4 09/10] piix4: implement function cpu_st


From: Vasilis Liaskovitis
Subject: Re: [Qemu-devel] [RFC qom-cpu v4 09/10] piix4: implement function cpu_status_write() for vcpu ejection
Date: Mon, 25 Nov 2013 19:38:06 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Fri, Nov 22, 2013 at 09:02:27AM +0100, Vasilis Liaskovitis wrote:
> Hi,
> 
> On Wed, Oct 09, 2013 at 05:43:17PM +0800, Chen Fan wrote:
> > When OS eject a vcpu (like: echo 1 > /sys/bus/acpi/devices/LNXCPUXX/eject),
> > it will call acpi EJ0 method, the firmware will write the new cpumap, QEMU
> > will know which vcpu need to be ejected.
> 
> I think that the _EJ0 callback (CPEJ method in 
> hw/i386/acpi-dsdt-cpu-hotplug.dsl)
> currently does not write the new cpumap, it only sleeps. So cpu_state_write is
> never called on ejection, and the cpu objects remain allocated in qemu. Is 
> there
> an updated version of the patchseries with a CPEJ that writes the new cpumap?

oops, never mind. I missed your seabios patch mentioned in the head message,
got it now.

thanks,

- Vasilis



reply via email to

[Prev in Thread] Current Thread [Next in Thread]