unmapping of persistent grants in qemu
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qemu (Debian) |
Fix Released
|
Unknown
|
|||
qemu (Ubuntu) |
Fix Released
|
Medium
|
Stefan Bader | ||
Trusty |
Fix Released
|
Medium
|
Stefan Bader | ||
Utopic |
Fix Released
|
Medium
|
Stefan Bader |
Bug Description
A patch was discussed in xen-devel mailing list, to deal with unmapping of persistent grants in qemu for Xen on 12 Nov 2014. This patch is not included in any stable qemu release (including 2.0.2, 2.1.2 and 2.2.0-rc2 ) yet. The patch is available here.
http://
Without this patch, when creating a xen guest from OpenStack, using the Xen+libvirt approach, it will result in dom0 kernel crashes, with dmesg as following.
[ 9443.130600] blkfront: xvda: flush diskcache: enabled; persistent grants: enabled; indirect descriptors: disabled;
[ 9443.132818] xvda: xvda1
[ 9444.604489] xen:grant_table: WARNING: g.e. 0x30 still in use!
[ 9444.604496] deferring g.e. 0x30 (pfn 0xffffffffffffffff)
[ 9444.604499] xen:grant_table: WARNING: g.e. 0x31 still in use!
[ 9444.604502] deferring g.e. 0x31 (pfn 0xffffffffffffffff)
[ 9444.604505] xen:grant_table: WARNING: g.e. 0x32 still in use!
[ 9444.604508] deferring g.e. 0x32 (pfn 0xffffffffffffffff)
==== lots of them====
[ 9444.604719] xen:grant_table: WARNING: g.e. 0xe still in use!
[ 9444.604721] deferring g.e. 0xe (pfn 0xffffffffffffffff)
[ 9444.604723] xen:grant_table: WARNING: g.e. 0xd still in use!
[ 9444.604725] deferring g.e. 0xd (pfn 0xffffffffffffffff)
[ 9448.325408] ------------[ cut here ]------------
[ 9448.325421] WARNING: CPU: 5 PID: 19902 at /build/
1a9/0x1b0()
[ 9448.325492] CPU: 5 PID: 19902 Comm: sudo Tainted: GF O 3.13.0-33-generic #58-Ubuntu
[ 9448.325494] Hardware name: Dell Inc. PowerEdge R710/00W9X3, BIOS 2.1.15 09/02/2010
[ 9448.325497] 0000000000000009 ffff8802d13d9aa8 ffffffff8171bd04 0000000000000000
[ 9448.325501] ffff8802d13d9ae0 ffffffff810676cd 0000000000000000 0000000000000001
[ 9448.325505] ffff88030418ffe0 ffff88031d6ab180 0000000000000010 ffff8802d13d9af0
[ 9448.325509] Call Trace:
[ 9448.325518] [<ffffffff8171b
[ 9448.325523] [<ffffffff81067
[ 9448.325526] [<ffffffff81067
[ 9448.325530] [<ffffffff81004
[ 9448.325534] [<ffffffff81006
[ 9448.325538] [<ffffffff81006
[ 9448.325543] [<ffffffff81177
[ 9448.325548] [<ffffffff81182
[ 9448.325552] [<ffffffff8117d
[ 9448.325557] [<ffffffff811c2
[ 9448.325560] [<ffffffff81181
[ 9448.325564] [<ffffffff811c2
[ 9448.325570] [<ffffffff81213
[ 9448.325576] [<ffffffff8131d
[ 9448.325579] [<ffffffff8131c
[ 9448.325584] [<ffffffff811c2
[ 9448.325587] [<ffffffff811c4
[ 9448.325591] [<ffffffff811c4
[ 9448.325596] [<ffffffff8172c
[ 9448.325599] ---[ end trace 53ac16782e751c0a ]---
[ 9448.347994] ------------[ cut here ]------------
[ 9448.348004] WARNING: CPU: 1 PID: 19902 at /build/
description: | updated |
Changed in qemu (Ubuntu): | |
assignee: | nobody → Stefan Bader (smb) |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in debian: | |
status: | Unknown → New |
Changed in debian: | |
status: | New → Fix Released |
affects: | debian → qemu (Debian) |
I have just uploaded a modified version of qemu to my testing PPA[1]. I assumed your primary environment is Trusty. As soon as that is build you can get the updated qemu by adding that PPA. If you need packages for a different release, let me know.
[1] https:/ /launchpad. net/~smb/ +archive/ ubuntu/ xen?field. series_ filter= trusty