Hi again, On Tue, Oct 16, 2018 at 02:25:42PM +0800, Wanpeng Li wrote: > > - set_debugreg(0, 6); > > + if (vcpu->arch.dr6) > > + set_debugreg(0, 6); > > I tried this immediately after the offline discussion between Paolo > and you several months ago, however, I can observe the issue was still > present. I finally came up with a test setup myself: L0 is ubuntu 18.04, L1 is is debian testing, L2 ist just kvm with sebios and no OS. Without a patch to the L1 kernel L0 sees about 100k DR_ACCESS exit during seabios boot alone. Using if (vcpu->arch.dr6 != DR6_INIT) set_debugreg(DR6_INIT, 6); the useless DR_ACCESS exits are gone. I'll post an updated patch in a new thread. regards Christian