[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1186984] Re: large -initrd can wrap around in memory c
From: |
Bart Van Assche |
Subject: |
[Qemu-devel] [Bug 1186984] Re: large -initrd can wrap around in memory causing memory corruption |
Date: |
Mon, 23 Mar 2015 02:49:00 -0000 |
Just saw something similar with qemu 2.2.1:
KVM: injection failed, MSI lost (Input/output error)
qemu-system-x86_64: /home/bart/software/qemu-2.2.1/hw/net/vhost_net.c:264:
vhost_net_stop_one: Assertion `r >= 0' failed.
2015-03-23 02:44:44.952+0000: shutting down
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1186984
Title:
large -initrd can wrap around in memory causing memory corruption
Status in QEMU:
New
Bug description:
We don't use large -initrd in libguestfs any more, but I noticed that
a large -initrd file now crashes qemu spectacularly:
$ ls -lh /tmp/kernel /tmp/initrd
-rw-r--r--. 1 rjones rjones 273M Jun 3 14:02 /tmp/initrd
lrwxrwxrwx. 1 rjones rjones 35 Jun 3 14:02 /tmp/kernel ->
/boot/vmlinuz-3.9.4-200.fc18.x86_64
$ ./x86_64-softmmu/qemu-system-x86_64 -L pc-bios \
-kernel /tmp/kernel -initrd /tmp/initrd -hda /tmp/test1.img -serial stdio
\
-append console=ttyS0
qemu crashes with one of several errors:
PFLASH: Possible BUG - Write block confirm
qemu: fatal: Trying to execute code outside RAM or ROM at
0x00000000000b96cd
If -enable-kvm is used:
KVM: injection failed, MSI lost (Operation not permitted)
In all cases the SDL display fills up with coloured blocks before the
crash (see the attached screenshot).
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1186984/+subscriptions
- [Qemu-devel] [Bug 1186984] Re: large -initrd can wrap around in memory causing memory corruption,
Bart Van Assche <=