If you have a chance to try to reproduce this with upstream qemu, we
could get them involved in debugging this.

(Upstream qemu means:

    git clone git://git.qemu.org/qemu.git
    apt-get build-dep qemu-kvm
    ./configure --target-list="x86_64-softmmu i386-softmmu x86_64-linux-user 
i386-linux-user"
    make
    ./x86_64-softmmu/qemu-system-x86_64 -hda x.img <...>

Although, this reminds me, due to a known bug it may not build.  Drat.  If that
happens, please let me know and i'll raise that bug to critical priority.  You
can work around it by applying the following patch:

diff --git a/hw/9pfs/virtio-9p-handle.c b/hw/9pfs/virtio-9p-handle.c
index f96d17a..38f45b1 100644
--- a/hw/9pfs/virtio-9p-handle.c
+++ b/hw/9pfs/virtio-9p-handle.c
@@ -22,6 +22,16 @@
 #include "qemu-xattr.h"
 #include <unistd.h>
 #include <linux/fs.h>
+#define AT_FDCWD               -100    /* Special value used to indicate
+                                           openat should use the current
+                                           working directory. */
+#define AT_SYMLINK_NOFOLLOW    0x100   /* Do not follow symbolic links.  */
+#define AT_REMOVEDIR           0x200   /* Remove directory instead of
+                                           unlinking file.  */
+#define AT_SYMLINK_FOLLOW      0x400   /* Follow symbolic links.  */
+#define AT_NO_AUTOMOUNT                0x800   /* Suppress terminal automount 
traversal */
+#define AT_EMPTY_PATH          0x1000  /* Allow empty relative pathname */
+#include <fcntl.h>
 #ifdef CONFIG_LINUX_MAGIC_H
 #include <linux/magic.h>
 #endif

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/924247

Title:
  KVM - reboot VM problem

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/924247/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to