Re: [PATCH 2/4] KVM: x86/xen: Compatibility fixes for shared runstate area

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

 



On Wed, 2022-11-23 at 00:46 +0100, Michal Luczaj wrote:
> 
> > +             /* Either map the second page, or deactivate the second GPC */
> > +             if (sz1 > sz) {
> 
> Out of curiosity: is there a reason behind potentially
> kvm_gpc_activate()ing a "len=0" cache? (sz1==sz leads to sz2=0)
> I feel I may be missing something, but shouldn't the comparison be >=?

No good reason. Fixed in my tree; thanks.


Attachment: smime.p7s
Description: S/MIME cryptographic signature


[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