Re: [RFC PATCH] kvm: x86: reduce rtc 0x70 access vm-exit time

2017-08-12 Thread Paolo Bonzini
- Original Message - > From: "Peng Hao" > To: pbonz...@redhat.com, rkrc...@redhat.com > Cc: k...@vger.kernel.org, linux-kernel@vger.kernel.org, "Peng Hao" > > Sent: Saturday, August 12, 2017 2:06:51 PM > Subject: [RFC PATCH] kvm: x86: reduce

[RFC PATCH] kvm: x86: reduce rtc 0x70 access vm-exit time

2017-08-11 Thread Peng Hao
some versions of windows guest access rtc frequently because of rtc as system tick.guest access rtc like this: write register index to 0x70, then write or read data from 0x71. writing 0x70 port is just as index and do nothing else. So we can use coalesced mmio to handle this scene to reduce VM-EXIT