Bug 1232308 - [abrt] qemu-system-x86: qemu_ram_alloc(): qemu-system-x86_64 killed by SIGABRT
Summary: [abrt] qemu-system-x86: qemu_ram_alloc(): qemu-system-x86_64 killed by SIGABRT
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm-rhev
Version: 7.2
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Markus Armbruster
QA Contact: Virtualization Bugs
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:1e3f4bba7893f2ac643bcae8ef7...
Depends On: 1215372
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-16 13:09 UTC by Dr. David Alan Gilbert
Modified: 2015-12-04 16:46 UTC (History)
22 users (show)

Fixed In Version: qemu-kvm-rhev-2.3.0-25.el7
Doc Type: Bug Fix
Doc Text:
Clone Of: 1215372
Environment:
Last Closed: 2015-12-04 16:46:53 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:2546 0 normal SHIPPED_LIVE qemu-kvm-rhev bug fix and enhancement update 2015-12-04 21:11:56 UTC

Description Dr. David Alan Gilbert 2015-06-16 13:09:46 UTC
I managed to trigger this on qemu-kvm-common-rhev-2.3.0-1.el7.x86_64
with just 
/usr/libexec/qemu-kvm -m 10000000


+++ This bug was initially created as a clone of Bug #1215372 +++

Version-Release number of selected component:
qemu-system-x86-2.3.0-0.5.rc3.fc22

Additional info:
reporter:       libreport-2.5.1
backtrace_rating: 4
cmdline:        /usr/bin/qemu-system-x86_64 -machine accel=kvm -name boxes-unknown -S -machine pc-i440fx-1.6,accel=kvm,usb=off -cpu Penryn -m 3115 -realtime mlock=off -smp 4,sockets=1,cores=4,threads=1 -uuid 8bd53789-adab-484f-8c53-a6df9d5f1dbf -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/home/guillaume/.config/libvirt/qemu/lib/boxes-unknown.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-shutdown -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 -boot strict=on -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x5.0x7 -device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x5 -device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x5.0x1 -device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x5.0x2 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x6 -device usb-ccid,id=ccid0 -drive file=/home/guillaume/.local/share/gnome-boxes/images/boxes-unknown,if=none,id=drive-ide0-0-0,format=qcow2,cache=none -device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -drive if=none,id=drive-ide0-1-0,readonly=on,format=raw -device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev tap,fd=23,id=hostnet0 -device rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:db:56:54,bus=pci.0,addr=0x3 -chardev spicevmc,id=charsmartcard0,name=smartcard -device ccid-card-passthru,chardev=charsmartcard0,id=smartcard0,bus=ccid0.0 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -chardev spicevmc,id=charchannel0,name=vdagent -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 -device usb-tablet,id=input0 -spice port=5901,addr=127.0.0.1,disable-ticketing,image-compression=off,seamless-migration=on -device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vgamem_mb=16,bus=pci.0,addr=0x2 -device AC97,id=sound0,bus=pci.0,addr=0x4 -chardev spicevmc,id=charredir0,name=usbredir -device usb-redir,chardev=charredir0,id=redir0 -chardev spicevmc,id=charredir1,name=usbredir -device usb-redir,chardev=charredir1,id=redir1 -chardev spicevmc,id=charredir2,name=usbredir -device usb-redir,chardev=charredir2,id=redir2 -chardev spicevmc,id=charredir3,name=usbredir -device usb-redir,chardev=charredir3,id=redir3 -incoming fd:20 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7 -msg timestamp=on
crash_function: error_propagate
executable:     /usr/bin/qemu-system-x86_64
global_pid:     11226
kernel:         4.0.0-1.fc22.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000
var_log_messages: [System Logs]:\n-- Logs begin at sam 2014-06-07 10:53:48 EDT, end at sam 2015-04-25 19:21:48 EDT. --

Truncated backtrace:
Thread no. 1 (8 frames)
 #2 error_propagate at util/error.c:173
 #3 qemu_ram_alloc_internal at /usr/src/debug/qemu-2.3.0-rc3/exec.c:1544
 #4 qemu_ram_alloc at /usr/src/debug/qemu-2.3.0-rc3/exec.c:1558
 #5 memory_region_init_ram at /usr/src/debug/qemu-2.3.0-rc3/memory.c:1138
 #6 allocate_system_memory_nonnuma at /usr/src/debug/qemu-2.3.0-rc3/numa.c:341
 #7 memory_region_allocate_system_memory at /usr/src/debug/qemu-2.3.0-rc3/numa.c:354
 #8 pc_memory_init at /usr/src/debug/qemu-2.3.0-rc3/hw/i386/pc.c:1248
 #9 pc_init1 at /usr/src/debug/qemu-2.3.0-rc3/hw/i386/pc_piix.c:183

--- Additional comment from Guillaume Poirier-Morency on 2015-04-25 19:28:35 EDT ---



--- Additional comment from Guillaume Poirier-Morency on 2015-04-25 19:28:36 EDT ---



--- Additional comment from Guillaume Poirier-Morency on 2015-04-25 19:28:38 EDT ---



--- Additional comment from Guillaume Poirier-Morency on 2015-04-25 19:28:39 EDT ---



--- Additional comment from Guillaume Poirier-Morency on 2015-04-25 19:28:40 EDT ---



--- Additional comment from Guillaume Poirier-Morency on 2015-04-25 19:28:41 EDT ---



--- Additional comment from Guillaume Poirier-Morency on 2015-04-25 19:28:45 EDT ---



--- Additional comment from Guillaume Poirier-Morency on 2015-04-25 19:28:46 EDT ---



--- Additional comment from Guillaume Poirier-Morency on 2015-04-25 19:28:48 EDT ---



--- Additional comment from Guillaume Poirier-Morency on 2015-04-25 19:28:49 EDT ---



--- Additional comment from Guillaume Poirier-Morency on 2015-04-25 19:28:53 EDT ---



--- Additional comment from Bastien Nocera on 2015-04-30 10:23:20 EDT ---

Another user experienced a similar problem:

Tried to add an ISO image from a remote SMB server in Boxes.

reporter:       libreport-2.5.1
backtrace_rating: 4
cmdline:        /usr/bin/qemu-system-x86_64 -machine accel=kvm -name fedora21 -S -machine pc-i440fx-2.3,accel=kvm,usb=off -cpu SandyBridge -m 1024 -realtime mlock=off -smp 4,sockets=1,cores=2,threads=2 -uuid 4f17c4f6-ff62-4cf9-8319-a2e104e3b78e -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/home/hadess/.config/libvirt/qemu/lib/fedora21.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet -no-reboot -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 -boot strict=on -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x6.0x7 -device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x6 -device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x6.0x1 -device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x6.0x2 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 -device usb-ccid,id=ccid0 -drive file=/home/hadess/.local/share/gnome-boxes/images/fedora21,if=none,id=drive-virtio-disk0,format=qcow2,cache=none -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x7,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=2 -drive file=/run/user/1000/gvfs/smb-share:server=diskstation.local,,share=bastien/ISOs/Fedora-Live-Workstation-x86_64-21-5.iso,if=none,id=drive-ide0-1-0,readonly=on,format=raw -device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=1 -netdev tap,fd=21,id=hostnet0 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:05:24:b3,bus=pci.0,addr=0x3 -chardev spicevmc,id=charsmartcard0,name=smartcard -device ccid-card-passthru,chardev=charsmartcard0,id=smartcard0,bus=ccid0.0 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -chardev spicevmc,id=charchannel0,name=vdagent -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 -device usb-tablet,id=input0 -device usb-mouse,id=input1 -device usb-kbd,id=input2 -spice port=5900,addr=127.0.0.1,disable-ticketing,image-compression=off,seamless-migration=on -device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vgamem_mb=16,bus=pci.0,addr=0x2 -device AC97,id=sound0,bus=pci.0,addr=0x4 -chardev spicevmc,id=charredir0,name=usbredir -device usb-redir,chardev=charredir0,id=redir0 -chardev spicevmc,id=charredir1,name=usbredir -device usb-redir,chardev=charredir1,id=redir1 -chardev spicevmc,id=charredir2,name=usbredir -device usb-redir,chardev=charredir2,id=redir2 -chardev spicevmc,id=charredir3,name=usbredir -device usb-redir,chardev=charredir3,id=redir3 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x8 -msg timestamp=on
crash_function: error_propagate
executable:     /usr/bin/qemu-system-x86_64
global_pid:     18509
kernel:         4.0.0-0.rc5.git4.1.fc22.x86_64
package:        qemu-system-x86-2.3.0-0.3.rc2.fc22
reason:         qemu-system-x86_64 killed by SIGABRT
runlevel:       N 5
type:           CCpp
uid:            1000

--- Additional comment from Robert Graham on 2015-05-30 15:20:55 EDT ---

Another user experienced a similar problem:

Tried to create a new VM via Gnome Boxes app.

Step 1) Click on New
Step 2) Click on Enter URL and insert http://mirror.acsnet.com/centos/6.6/isos/x86_64/CentOS-6.6-x86_64-bin-DVD1.iso into the field.

Boxes will download the ISO image and attempt to start qemu. At this point qemu crashes and core dumps.

reporter:       libreport-2.5.1
backtrace_rating: 4
cmdline:        /usr/bin/qemu-system-x86_64 -machine accel=kvm -name boxes-unknown -S -machine pc-i440fx-2.3,accel=kvm,usb=off -cpu Westmere -m 2048 -realtime mlock=off -smp 4,sockets=1,cores=2,threads=2 -uuid 6c3e7512-84df-4cdd-97a7-831e19313d42 -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/home/rgraham/.config/libvirt/qemu/lib/boxes-unknown.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet -no-reboot -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 -boot strict=on -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x6.0x7 -device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x6 -device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x6.0x1 -device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x6.0x2 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 -device usb-ccid,id=ccid0 -drive file=/home/rgraham/.local/share/gnome-boxes/images/boxes-unknown,if=none,id=drive-ide0-0-0,format=qcow2,cache=writeback -device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=2 -drive file=/home/rgraham/Downloads/CentOS-6.6-x86_64-bin-DVD1.iso,if=none,id=drive-ide0-1-0,readonly=on,format=raw -device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=1 -netdev tap,fd=22,id=hostnet0 -device rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:04:e7:54,bus=pci.0,addr=0x3 -chardev spicevmc,id=charsmartcard0,name=smartcard -device ccid-card-passthru,chardev=charsmartcard0,id=smartcard0,bus=ccid0.0 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -chardev spicevmc,id=charchannel0,name=vdagent -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 -device usb-tablet,id=input0 -device usb-mouse,id=input1 -device usb-kbd,id=input2 -spice port=5900,addr=127.0.0.1,disable-ticketing,image-compression=off,seamless-migration=on -device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vgamem_mb=16,bus=pci.0,addr=0x2 -device AC97,id=sound0,bus=pci.0,addr=0x4 -chardev spicevmc,id=charredir0,name=usbredir -device usb-redir,chardev=charredir0,id=redir0 -chardev spicevmc,id=charredir1,name=usbredir -device usb-redir,chardev=charredir1,id=redir1 -chardev spicevmc,id=charredir2,name=usbredir -device usb-redir,chardev=charredir2,id=redir2 -chardev spicevmc,id=charredir3,name=usbredir -device usb-redir,chardev=charredir3,id=redir3 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7 -msg timestamp=on
crash_function: error_propagate
executable:     /usr/bin/qemu-system-x86_64
global_pid:     28859
kernel:         4.0.4-301.fc22.x86_64
package:        qemu-system-x86-2.3.0-4.fc22
reason:         qemu-system-x86_64 killed by SIGABRT
runlevel:       N 5
type:           CCpp
uid:            1000

--- Additional comment from Cole Robinson on 2015-06-05 17:06:42 EDT ---

Anyone that hit this, can you post /var/log/libvirt/qemu/$vmname.log ?
If using gnome-boxes, that will be ~/.cache/libvirt/qemu/log/$vmname.log

--- Additional comment from Robert Graham on 2015-06-06 10:33:06 EDT ---

I updated to the newest gnome-boxes package on 5/30/15 and have not experienced qemu crashing since.

Previous package release:
gnome-boxes-3.16.2-1.fc22.x86_64

Current package release:
gnome-boxes-3.16.2-2.fc22.x86_64

--- Additional comment from Robert Graham on 2015-06-07 12:41:07 EDT ---



--- Additional comment from Cole Robinson on 2015-06-08 17:04:32 EDT ---

Hmm, that log file doesn't seem to contain bits about the VM when it crashed. Annoyingly it's filled with tons of

((null):7924): Spice-Warning **: red_channel.c:546:red_channel_client_send_ping: getsockopt failed, Operation not supported

Probably a side effect of running as non-root. But it doesn't seem to the be the root issue. So if anyone else hits this crash again, please attach the qemu log file as well

--- Additional comment from Dr. David Alan Gilbert on 2015-06-16 07:25:54 EDT ---

I think my reading of the original backtrace makes me think it's an out-of-ram failure.

 #2 error_propagate at util/error.c:173
 #3 qemu_ram_alloc_internal at /usr/src/debug/qemu-2.3.0-rc3/exec.c:1544
that's checking for errors just after 'ram_block_add'

and looking inside ram_block_add the only place the error gets set is by phys_mem_alloc failing.

 #4 qemu_ram_alloc at /usr/src/debug/qemu-2.3.0-rc3/exec.c:1558
 #5 memory_region_init_ram at /usr/src/debug/qemu-2.3.0-rc3/memory.c:1138
 #6 allocate_system_memory_nonnuma at /usr/src/debug/qemu-2.3.0-rc3/numa.c:341

In here we have:
        memory_region_init_ram(mr, owner, name, ram_size, &error_abort);
and commit 49946538 started passing error_abort to that.


 #7 memory_region_allocate_system_memory at /usr/src/debug/qemu-2.3.0-rc3/numa.c:354
 #8 pc_memory_init at /usr/src/debug/qemu-2.3.0-rc3/hw/i386/pc.c:1248
 #9 pc_init1 at /usr/src/debug/qemu-2.3.0-rc3/hw/i386/pc_piix.c:183

Dave

Comment 3 Markus Armbruster 2015-09-08 16:24:47 UTC
Broken in upstream commit ef701d7, v2.2.0.

Comment 5 Markus Armbruster 2015-09-11 17:43:21 UTC
Proposed upstream fix:
http://lists.gnu.org/archive/html/qemu-devel/2015-09/msg03198.html

Comment 6 Markus Armbruster 2015-09-18 17:36:41 UTC
Upstream commit 4f96676..0bdaa3a

Comment 7 Miroslav Rezanina 2015-09-23 13:25:55 UTC
Fix included in qemu-kvm-rhev-2.3.0-25.el7

Comment 8 huiqingding 2015-09-24 05:14:44 UTC
Reproduce this bug using the following version:
qemu-kvm-rhev-2.3.0-25.el7.x86_64
kernel-3.10.0-319.el7.x86_64

# /usr/libexec/qemu-kvm -m 10000000
qemu-kvm: cannot set up guest memory 'pc.ram': Cannot allocate memory
Aborted (core dumped)

(gdb) bt
#0  0x00007ffff06ee5f7 in raise () from /lib64/libc.so.6
#1  0x00007ffff06efce8 in abort () from /lib64/libc.so.6
#2  0x000055555585946a in error_propagate (dst_errp=<optimized out>, local_err=<optimized out>) at util/error.c:173
#3  0x00005555555ed158 in qemu_ram_alloc_internal (size=size@entry=10485760000000, max_size=max_size@entry=10485760000000, resized=resized@entry=0x0, host=host@entry=0x0, resizeable=resizeable@entry=false, 
    mr=mr@entry=0x5555569dcd00, errp=errp@entry=0x555556122dd0 <error_abort>) at /usr/src/debug/qemu-2.3.0/exec.c:1541
#4  0x00005555555edada in qemu_ram_alloc (size=size@entry=10485760000000, mr=mr@entry=0x5555569dcd00, errp=errp@entry=0x555556122dd0 <error_abort>) at /usr/src/debug/qemu-2.3.0/exec.c:1555
#5  0x0000555555622cd9 in memory_region_init_ram (mr=mr@entry=0x5555569dcd00, owner=owner@entry=0x0, name=name@entry=0x555555871324 "pc.ram", size=size@entry=10485760000000, errp=0x555556122dd0 <error_abort>)
    at /usr/src/debug/qemu-2.3.0/memory.c:1204
#6  0x000055555561bd9a in allocate_system_memory_nonnuma (ram_size=10485760000000, name=0x555555871324 "pc.ram", owner=0x0, mr=0x5555569dcd00) at /usr/src/debug/qemu-2.3.0/numa.c:435
#7  memory_region_allocate_system_memory (mr=mr@entry=0x5555569dcd00, owner=owner@entry=0x0, name=name@entry=0x555555871324 "pc.ram", ram_size=10485760000000) at /usr/src/debug/qemu-2.3.0/numa.c:448
#8  0x000055555565c254 in pc_memory_init (machine=machine@entry=0x555556959a00, system_memory=system_memory@entry=0x5555569dc700, below_4g_mem_size=3221225472, above_4g_mem_size=10482538774528, 
    rom_memory=rom_memory@entry=0x5555569dcc00, ram_memory=ram_memory@entry=0x7fffffffe180, guest_info=guest_info@entry=0x555556974780) at /usr/src/debug/qemu-2.3.0/hw/i386/pc.c:1330
#9  0x000055555565dd73 in pc_init1 (machine=0x555556959a00, kvmclock_enabled=1, pci_enabled=1) at /usr/src/debug/qemu-2.3.0/hw/i386/pc_piix.c:182
#10 0x00005555555e579e in main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at vl.c:4257

Comment 9 huiqingding 2015-09-24 05:19:55 UTC
(In reply to huiqingding from comment #8)
> Reproduce this bug using the following version:
> qemu-kvm-rhev-2.3.0-25.el7.x86_64
> kernel-3.10.0-319.el7.x86_64
> 
Correct: Reproduce this bug using qemu-kvm-rhev-2.3.0-24.el7.x86_64

> # /usr/libexec/qemu-kvm -m 10000000
> qemu-kvm: cannot set up guest memory 'pc.ram': Cannot allocate memory
> Aborted (core dumped)
> 
> (gdb) bt
> #0  0x00007ffff06ee5f7 in raise () from /lib64/libc.so.6
> #1  0x00007ffff06efce8 in abort () from /lib64/libc.so.6
> #2  0x000055555585946a in error_propagate (dst_errp=<optimized out>,
> local_err=<optimized out>) at util/error.c:173
> #3  0x00005555555ed158 in qemu_ram_alloc_internal
> (size=size@entry=10485760000000, max_size=max_size@entry=10485760000000,
> resized=resized@entry=0x0, host=host@entry=0x0,
> resizeable=resizeable@entry=false, 
>     mr=mr@entry=0x5555569dcd00, errp=errp@entry=0x555556122dd0
> <error_abort>) at /usr/src/debug/qemu-2.3.0/exec.c:1541
> #4  0x00005555555edada in qemu_ram_alloc (size=size@entry=10485760000000,
> mr=mr@entry=0x5555569dcd00, errp=errp@entry=0x555556122dd0 <error_abort>) at
> /usr/src/debug/qemu-2.3.0/exec.c:1555
> #5  0x0000555555622cd9 in memory_region_init_ram
> (mr=mr@entry=0x5555569dcd00, owner=owner@entry=0x0,
> name=name@entry=0x555555871324 "pc.ram", size=size@entry=10485760000000,
> errp=0x555556122dd0 <error_abort>)
>     at /usr/src/debug/qemu-2.3.0/memory.c:1204
> #6  0x000055555561bd9a in allocate_system_memory_nonnuma
> (ram_size=10485760000000, name=0x555555871324 "pc.ram", owner=0x0,
> mr=0x5555569dcd00) at /usr/src/debug/qemu-2.3.0/numa.c:435
> #7  memory_region_allocate_system_memory (mr=mr@entry=0x5555569dcd00,
> owner=owner@entry=0x0, name=name@entry=0x555555871324 "pc.ram",
> ram_size=10485760000000) at /usr/src/debug/qemu-2.3.0/numa.c:448
> #8  0x000055555565c254 in pc_memory_init
> (machine=machine@entry=0x555556959a00,
> system_memory=system_memory@entry=0x5555569dc700,
> below_4g_mem_size=3221225472, above_4g_mem_size=10482538774528, 
>     rom_memory=rom_memory@entry=0x5555569dcc00,
> ram_memory=ram_memory@entry=0x7fffffffe180,
> guest_info=guest_info@entry=0x555556974780) at
> /usr/src/debug/qemu-2.3.0/hw/i386/pc.c:1330
> #9  0x000055555565dd73 in pc_init1 (machine=0x555556959a00,
> kvmclock_enabled=1, pci_enabled=1) at
> /usr/src/debug/qemu-2.3.0/hw/i386/pc_piix.c:182
> #10 0x00005555555e579e in main (argc=<optimized out>, argv=<optimized out>,
> envp=<optimized out>) at vl.c:4257

Comment 10 huiqingding 2015-09-24 05:23:29 UTC
Verify this bug using the following version:
qemu-kvm-rhev-2.3.0-25.el7.x86_64
kernel-3.10.0-319.el7.x86_64

# /usr/libexec/qemu-kvm -m 10000000
qemu-kvm: cannot set up guest memory 'pc.ram': Cannot allocate memory


Based on the above result, I think this bug has been fixed.

Comment 11 juzhang 2015-09-25 03:11:03 UTC
According to comment9 and comment10, set this issue as verified.

Comment 13 errata-xmlrpc 2015-12-04 16:46:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2546.html


Note You need to log in before you can comment on or make changes to this bug.