Re: [PART1 RFC v3 12/12] svm: Manage vcpu load/unload when enable AVIC

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

 



Radim,

On 04/05/2016 09:56 PM, Radim Krčmář wrote:
I meant to change the place where we remember that is_running must not
be true.  Something like

   svm_vcpu_blocking(struct kvm_vcpu *vcpu):
          vcpu->is_blocking = true;
          avic_set_running(vcpu, false);

   avic_vcpu_load(struct kvm_vcpu *vcpu, bool is_load):
          avic_set_running(vcpu, is_load && !vcpu->is_blocking)

I assume that you also imply that we would also need:

	svm_vcpu_unblocking(struct kvm_vcpu *vcpu) {
		avic_set_running(vcpu, false);
		vcpu->is_blocking = false;
	}

Thanks,
Suravee
--
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