Re: [PATCH] KVM: APIC: avoid instruction emulation for EOI writes

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

 



On 2011-09-11 09:11, Avi Kivity wrote:
> On 09/10/2011 11:41 AM, ya su wrote:
>> 0x80637b85:  testl $0x1000, 0xfffe0300
>> 0x80637b8f:   jne 0x80637b85
>> 0x80637b91:  mov %ecx, 0xfffe0300
>> 0x80637b97:  testl $0x1000, 0xfffe0300
>> 0x80637ba1:  jne 0x80637b97
>>
>>      I wonder why testl operation will also cause a ICR write, from the
>> asm code, there should only issue one IPI, but from trace-cmd, it
>> issued 3 IPI, is there something wrong?
> 
> It's a bug in test insn emulation, coincidentally I wrote a patch to fix
> it yesterday, not imagining that it actually happens in practice.
> 
>>     Is it also possible to optimize ICR write emulation, from the
>> result, winxp vm will produce a lot of ICR writes
>>
> 
> Unfortunately not.

I'm just hoping we'll see hardware-assisted APIC, ideally also IOAPIC
virtualization soon.

Jan


Attachment: signature.asc
Description: OpenPGP digital 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