qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Zhang Haoyu" <zhanghy@sangfor.com>
To: "Vadim Rozenfeld" <vrozenfe@redhat.com>
Cc: "Jidong Xiao" <jidong.xiao@gmail.com>,
	qemu-devel <qemu-devel@nongnu.org>, kvm <kvm@vger.kernel.org>
Subject: Re: [Qemu-devel] [questions] about KVM as aMicrosoft-compatiblehypervisor
Date: Mon, 4 Aug 2014 10:17:41 +0800	[thread overview]
Message-ID: <201408041017396729221@sangfor.com> (raw)
In-Reply-To: 1404130690.28960.39.camel@localhost

Hi, Vadim

I start a vm(windows server 2008 64bit) with below qemu command, get stuck with black screen during boot stage, 
no error report by qemu and kvm hypervisor, but if I remove the item "hv_vapic", then start and run the VM successfully.

/var/run/qemu-server/5195516385344.pid -daemonize -name win2008_iotest -smp sockets=1,cores=1 -cpu core2duo,hv_spinlocks=0xfffffff,hv_relaxed,hv_vapic -nodefaults -vga cirrus -no-hpet -k en-us -boot menu=on,splash-time=8000 -m 2048 -usb -drive if=none,id=drive-ide0,media=cdrom,aio=native,forecast=disable -device ide-cd,bus=ide.0,unit=0,drive=drive-ide0,id=ide0,bootindex=200 -drive file=/sf/data/3600605b006c126da1b0cde571ba48d0d_00e0ed2d202e/images/host-00e0ed2d202e/win2008_iotest.vm/vm-disk-1.qcow2,if=none,id=drive-virtio1,cache=writethrough,aio=native,forecast=disable -device virtio-blk-pci,drive=drive-virtio1,id=virtio1,bus=pci.0,addr=0xb -drive file=/sf/data/local/images/host-00e0ed2d202e/win2008_iotest.vm/vm-disk-1.qcow2,if=none,id=drive-virtio2,cache=writethrough,aio=native,forecast=disable -device virtio-blk-pci,drive=drive-virtio2,id=virtio2,bus=pci.0,addr=0xc,bootindex=101 -netdev type=tap,id=net0,ifname=519551638534400,script=/sf/etc/kvm/vtp-bridge,vhost=on,vhostforc
 e=on -device virtio-net-pci,mac=FE:FC:FE:58:E0:81,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300 -rtc driftfix=slew,clock=rt,base=localtime -global kvm-pit.lost_tick_policy=discard -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 -post win2008_iotest -enable-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 hypervisor>, 
>> >> Any update and other references, please?
>> >> 
>> >> Thanks,
>> >> Zhang Haoyu
>> >> 
>> >> 
>> >
>> >Unfortunately, not too much.
>> >From the the most recent, we have lazy eoi implemented by 
>> >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=39289
>
>Best regards,
>Vadim.

  reply	other threads:[~2014-08-04  2:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-30  1:39 [Qemu-devel] [questions] about KVM as a Microsoft-compatible hypervisor Zhang Haoyu
2014-06-30 10:02 ` Vadim Rozenfeld
2014-06-30 10:19   ` Jidong Xiao
2014-06-30 11:36     ` Vadim Rozenfeld
2014-06-30 11:45   ` [Qemu-devel] [questions] about KVM as a Microsoft-compatiblehypervisor Zhang Haoyu
2014-06-30 12:18     ` Vadim Rozenfeld
2014-08-04  2:17       ` Zhang Haoyu [this message]
2014-08-04  5:09         ` [Qemu-devel] [questions] about KVM as aMicrosoft-compatiblehypervisor Vadim Rozenfeld
2014-08-04  6:29         ` [Qemu-devel] [questions] about KVM asaMicrosoft-compatiblehypervisor Zhang Haoyu
2014-08-06  9:55           ` Vadim Rozenfeld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201408041017396729221@sangfor.com \
    --to=zhanghy@sangfor.com \
    --cc=jidong.xiao@gmail.com \
    --cc=kvm@vger.kernel.org \
    --cc=qemu-devel@nongnu.org \
    --cc=vrozenfe@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).