From: Xujun Ma <1839428@bugs.launchpad.net>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [Bug 1839428] Re: qemu core dumped when repeat "system_reset" multiple times during guest boot
Date: Thu, 08 Aug 2019 07:26:10 -0000 [thread overview]
Message-ID: <156524917013.25618.5202785092149465578.malone@gac.canonical.com> (raw)
In-Reply-To: 156524772160.13996.4537778553837159229.malonedeb@wampee.canonical.com
Upstream qemu-v3.1.0 pass
Upstream qemu-v3.1.1 pass
Upstream qemu-v4.0.0 fail
Upstream qemu-v4.0.0-rc0 fail
So the problem occurs due to patch between qemu-v3.1.1 to
qemu-v4.0.0-rc0.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1839428
Title:
qemu core dumped when repeat "system_reset" multiple times during
guest boot
Status in QEMU:
New
Bug description:
commit 864ab314f1d924129d06ac7b571f105a2b76a4b2 (HEAD, tag: v4.1.0-rc4, origin/master, origin/HEAD, master)
Test arch:x86 and power
Steps:
1.Boot up guest with command
power cmdline:
/usr/libexec/backup/qemu-kvm \
-smp 8 \
-m 4096 \
-nodefaults \
-device virtio-blk-pci,id=image1,drive=drive_image1,bootindex=1,bus=pci.0,addr=0x7 \
-drive file=rhel77-ppc64le-virtio.qcow2,if=none,id=drive_image1,format=qcow2,cache=none \
-chardev stdio,mux=on,id=serial_id_serial0,server,nowait,signal=off \
-device spapr-vty,id=serial111,chardev=serial_id_serial0 \
-mon chardev=serial_id_serial0,mode=readline \
x86 cmdline:
/usr/libexec/qemu-kvm \
-m 4096 -smp 8 \
-boot menu=on \
-device virtio-blk-pci,id=image1,drive=drive_image1\
-drive file=rhel77-64-virtio.qcow2,if=none,id=drive_image1,format=qcow2,cache=none \
-vga std \
-vnc :9 \
-nographic \
-device virtio-net-pci,netdev=net0,id=nic0,mac=52:54:00:c4:e7:84 \
-netdev tap,id=net0,script=/etc/qemu-ifup,downscript=/etc/qemu-ifdown,vhost=on \
2.when guest start to boot up kernel(when no output infomation),run
hmp command "system_reset"
Result:
Sometimes,qemu core dumped with error as following:
system_reset
(qemu) qemu-system-ppc64: /root/qemu/hw/virtio/virtio.c:225: vring_get_region_caches: Assertion `caches != NULL' failed.
b.sh: line 11: 73679 Aborted (core dumped) /usr/local/bin/qemu-system-ppc64 -enable-kvm -smp 8 -m 4096 -nodefaults -device virtio-blk-pci,id=image1,drive=drive_image1,bootindex=1,bus=pci.0,addr=0x7 -drive file=rhel77-ppc64le-virtio.qcow2,if=none,id=drive_image1,format=qcow2,cache=none -chardev stdio,mux=on,id=serial_id_serial0,server,nowait,signal=off -device spapr-vty,id=serial111,chardev=serial_id_serial0 -mon chardev=serial_id_serial0,mode=readline
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1839428/+subscriptions
next prev parent reply other threads:[~2019-08-08 7:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-08 7:02 [Qemu-devel] [Bug 1839428] [NEW] qemu core dumped when repeat "system_reset" multiple times during guest boot Xujun Ma
2019-08-08 7:26 ` Xujun Ma [this message]
2019-08-15 20:34 ` [Qemu-devel] [Bug 1839428] " Philippe Mathieu-Daudé
2019-08-16 9:06 ` Philippe Mathieu-Daudé
2019-08-27 6:16 ` Xujun Ma
2019-09-18 13:17 ` Stefan Hajnoczi
2020-01-09 13:40 ` Thomas Huth
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=156524917013.25618.5202785092149465578.malone@gac.canonical.com \
--to=1839428@bugs.launchpad.net \
--cc=qemu-devel@nongnu.org \
/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).