qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] dataplane bug: fail to start VM with dataplane enable
@ 2013-03-13 10:01 Dunrong Huang
  2013-03-13 11:28 ` Stefan Hajnoczi
  0 siblings, 1 reply; 3+ messages in thread
From: Dunrong Huang @ 2013-03-13 10:01 UTC (permalink / raw)
  To: qemu-devel; +Cc: Paolo Bonzini, Stefan Hajnoczi

Hi,  Paolo && Stefan:

When I test the dataplane feature with git master, I find that VM will
hang if dataplane is enabled. But if I use qemu-1.4.0, VM can start
normally.

The command I boot QEMU is:
x86_64-softmmu/qemu-system-x86_64 -enable-kvm -m 1024 -smp 2 -drive
file=centos-6.4.raw,if=none,id=drive-virtio-disk,format=raw,cache=none,aio=native
-device virtio-blk-pci,config-wce=off,scsi=off,x-data-plane=on,drive=drive-virtio-disk,id=virtio-disk

git bisect implicates this bug was introduced by following commit:

commit 82959e8262df7da882d715f8a0cb4e8c7cd6e94b
Author: Paolo Bonzini <pbonzini@redhat.com>
Date:   Fri Feb 22 10:40:34 2013 +0100

    dataplane: remove EventPoll in favor of AioContext

    During the review of the dataplane code, the EventPoll API morphed itself
    (not concidentially) into something very very similar to an AioContext.
    Thus, it is trivial to convert virtio-blk-dataplane to use AioContext,
    and a first baby step towards letting dataplane talk directly to the
    QEMU block layer.

    The only interesting note is the value-copy of EventNotifiers.  At least
    in my opinion this is part of the EventNotifier API and is even portable
    to Windows.  Of course, in this case you should not close the notifier's
    underlying file descriptors or handle with event_notifier_cleanup.

    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>

I can provide more information if need.
-- 
Best Regards,

Dunrong Huang

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-14  2:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-13 10:01 [Qemu-devel] dataplane bug: fail to start VM with dataplane enable Dunrong Huang
2013-03-13 11:28 ` Stefan Hajnoczi
2013-03-14  2:04   ` Dunrong Huang

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).