Re: [PATCH 0/5] cpus: a few tweaks to CPU realization

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

 



On 30/5/24 21:42, Alex Bennée wrote:
The recent IPS plugin exposed a race condition between vcpu_init
callbacks and the other vcpu state callbacks. I originally thought
there was some wider re-factoring to be done to clean this up but it
turns out things are broadly where they should be. However some of the
stuff allocated in the vCPU threads can clearly be done earlier so
I've moved enough from cpu_common_realizefn to cpu_common_initfn to
allow plugins to queue work before the threads start solving the race.

Please review.

Alex Bennée (5):
   hw/core: expand on the alignment of CPUState
   cpu: move Qemu[Thread|Cond] setup into common code
   cpu-target: don't set cpu->thread_id to bogus value
   plugins: remove special casing for cpu->realized

Thanks, patches 1-4 queued so far.




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux