Re: [PATCH 3/3] kvm common: verify that cpu slot is available when creating new vcpu

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

 



Am Sun, 8 Feb 2009 04:26:16 -0200
schrieb Marcelo Tosatti <mtosatti@xxxxxxxxxx>:
> Its confusing that there is the exact same check below, with kvm->lock
> held, and that both are needed since assignment happens under the lock.
> 
> Can you also make it straightforward while fixing the bug please.
> 
> Probably just hold it all the way through kvm_vm_ioctl_create_vcpu? Or
> is that not possible?
Okay, let me see what I can do to come up with a better fix.
On s390, we have to link our sie control blocks (representing
vcpu for the hardware) with our sca (representing virtual
machine for the hardware). These are bidirectional pointers.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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