Re: [PATCH] KVM: x86/xen: Fix runstate updates to be atomic when preempting vCPU

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

 



On 23/10/21 21:47, Woodhouse, David wrote:
  	BUILD_BUG_ON(sizeof(((struct vcpu_runstate_info *)0)->state) !=
  		     sizeof(vx->current_runstate));
  	BUILD_BUG_ON(sizeof(((struct compat_vcpu_runstate_info *)0)->state) !=
  		     sizeof(vx->current_runstate));

We can also use sizeof_field here, while you're at it (separate patch, though).

Paolo




[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