From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEAWn-0007dq-Pb for qemu-devel@nongnu.org; Mon, 04 Aug 2014 01:09:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XEAWi-0000ar-8z for qemu-devel@nongnu.org; Mon, 04 Aug 2014 01:09:45 -0400 Received: from mx3-phx2.redhat.com ([209.132.183.24]:36516) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEAWi-0000an-1y for qemu-devel@nongnu.org; Mon, 04 Aug 2014 01:09:40 -0400 Date: Mon, 4 Aug 2014 01:09:34 -0400 (EDT) From: Vadim Rozenfeld Message-ID: <2034905649.17908804.1407128973996.JavaMail.zimbra@redhat.com> In-Reply-To: <201408041017396729221@sangfor.com> References: <201406300939223611342@sangfor.com> <1404122529.28960.24.camel@localhost> <201406301945131268456@sangfor.com> <1404130690.28960.39.camel@localhost> <201408041017396729221@sangfor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [questions] about KVM as aMicrosoft-compatiblehypervisor List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Zhang Haoyu Cc: Jidong Xiao , qemu-devel , kvm Hi Zhang, No I haven't seen such problem Which kernel version are you running? Does it include the latest lazy eli changes? Btw, hv_spinlocks=3D0xfffffff is a pretty huge value. Best regards, Vadim. ----- Original Message ----- From: "Zhang Haoyu" To: "Vadim Rozenfeld" Cc: "Jidong Xiao" , "qemu-devel" , "kvm" Sent: Monday, August 4, 2014 12:17:41 PM Subject: Re: Re: [Qemu-devel] [questions] about KVM as aMicrosoft-compatibl= ehypervisor Hi, Vadim I start a vm(windows server 2008 64bit) with below qemu command, get stuck = with black screen during boot stage,=20 no error report by qemu and kvm hypervisor, but if I remove the item "hv_va= pic", then start and run the VM successfully. /var/run/qemu-server/5195516385344.pid -daemonize -name win2008_iotest -smp= sockets=3D1,cores=3D1 -cpu core2duo,hv_spinlocks=3D0xfffffff,hv_relaxed,hv= _vapic -nodefaults -vga cirrus -no-hpet -k en-us -boot menu=3Don,splash-tim= e=3D8000 -m 2048 -usb -drive if=3Dnone,id=3Ddrive-ide0,media=3Dcdrom,aio=3D= native,forecast=3Ddisable -device ide-cd,bus=3Dide.0,unit=3D0,drive=3Ddrive= -ide0,id=3Dide0,bootindex=3D200 -drive file=3D/sf/data/3600605b006c126da1b0= cde571ba48d0d_00e0ed2d202e/images/host-00e0ed2d202e/win2008_iotest.vm/vm-di= sk-1.qcow2,if=3Dnone,id=3Ddrive-virtio1,cache=3Dwritethrough,aio=3Dnative,f= orecast=3Ddisable -device virtio-blk-pci,drive=3Ddrive-virtio1,id=3Dvirtio1= ,bus=3Dpci.0,addr=3D0xb -drive file=3D/sf/data/local/images/host-00e0ed2d20= 2e/win2008_iotest.vm/vm-disk-1.qcow2,if=3Dnone,id=3Ddrive-virtio2,cache=3Dw= ritethrough,aio=3Dnative,forecast=3Ddisable -device virtio-blk-pci,drive=3D= drive-virtio2,id=3Dvirtio2,bus=3Dpci.0,addr=3D0xc,bootindex=3D101 -netdev t= ype=3Dtap,id=3Dnet0,ifname=3D519551638534400,script=3D/sf/etc/kvm/vtp-bridg= e,vhost=3Don,vhostforc e=3Don -device virtio-net-pci,mac=3DFE:FC:FE:58:E0:81,netdev=3Dnet0,bus=3D= pci.0,addr=3D0x12,id=3Dnet0,bootindex=3D300 -rtc driftfix=3Dslew,clock=3Drt= ,base=3Dlocaltime -global kvm-pit.lost_tick_policy=3Ddiscard -global PIIX4_= PM.disable_s3=3D1 -global PIIX4_PM.disable_s4=3D1 -post win2008_iotest -ena= ble-kvm -L /boot/pc-bios Seen similar problem before? Any ideas? Thanks, Zhang Haoyu >> >> Hi, Vadim >> >> I read the kvm-2012-forum paper < KVM as a Microsoft-compatible hyper= visor>,=20 >> >> Any update and other references, please? >> >>=20 >> >> Thanks, >> >> Zhang Haoyu >> >>=20 >> >>=20 >> > >> >Unfortunately, not too much. >> >From the the most recent, we have lazy eoi implemented by=20 >> >MST and reference time counter. >> > >> How to get the source of windows pv-eoi? >I'll be referencing to git://git.kernel.org/pub/scm/virt/kvm/kvm.git > >for lazy eoi please take a look at commit: >b63cf42fd1d8c18fab71222321aaf356f63089c9 > >> And what is "reference time counter", could you provide some references = or code, please? >Take a look at commit: >e984097b553ed2d6551c805223e4057421370f00 > >I also suggest reading Hypervisor Functional Specification 3.0a provided >by Microsoft and available for downloading >from http://www.microsoft.com/en-au/download/details.aspx?id=3D39289 > >Best regards, >Vadim.