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: Chen Fan
Subject: Re: [Qemu-devel] [RFC qom-cpu v4 09/10] piix4: implement function cpu_status_write() for vcpu ejection
Date: Wed, 27 Nov 2013 20:11:33 +0800

On Mon, 2013-11-25 at 19:38 +0100, Vasilis Liaskovitis wrote:
> 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.
> 
Ok, thanks for your attention.

> thanks,
> 
> - Vasilis





reply via email to

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