Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1685782 - Enhance QEMU warnings on the basis of different[native,compatible] guests on P9 while hot plug huge page memory to guest.
Summary: Enhance QEMU warnings on the basis of different[native,compatible] guests on ...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux Advanced Virtualization
Classification: Red Hat
Component: qemu-kvm
Version: 8.1
Hardware: ppc64le
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: David Gibson
QA Contact: Min Deng
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-06 03:28 UTC by Min Deng
Modified: 2019-04-05 18:50 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:


Attachments (Terms of Use)

Description Min Deng 2019-03-06 03:28:20 UTC
Description of problem:
Enhance QEMU warnings on the basis of different[native,compatible] guests on P9 while hot plug huge page memory to guest.

Version-Release number of selected component (if applicable):
qemu-kvm-3.1.0-18.module+el8+2834+fa8bb6e2

How reproducible:
5/5

Steps to Reproduce:
1.boot up a native rhel8 guest,which is backing up with ram 
  /usr/libexec/qemu-kvm -name avocado-vt-vm1 -machine pseries -nodefaults -device VGA,bus=pci.0,addr=0x2 -chardev socket,id=serial_id_serial0,path=/tmp/5,server,nowait -device spapr-vty,reg=0x30000000,chardev=serial_id_serial0 -device qemu-xhci,id=usb1,bus=pci.0,addr=0x3 -device virtio-scsi-pci,id=virtio_scsi_pci0,bus=pci.0,addr=0x4 -device scsi-hd,id=image1,drive=drive_scsi11,bus=virtio_scsi_pci0.0,channel=0,scsi-id=0,lun=0,bootindex=0 -blockdev driver=file,cache.direct=on,cache.no-flush=off,filename=rhel80-ppc64le-virtio-scsi.raw,node-name=drive_scsi1 -blockdev driver=raw,node-name=drive_scsi11,file=drive_scsi1 -m 1G,slots=256,maxmem=2T -smp 2,maxcpus=2,cores=1,threads=1,sockets=2 -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1 -vnc :33 -rtc base=utc,clock=host -enable-kvm -monitor stdio -numa node

2.hotplug memory
  (qemu) object_add memory-backend-file,id=mem22,mem-path=/mnt  /kvm_hugepage,size=15G
  (qemu) device_add pc-dimm,id=dimm22,memdev=mem22

  (qemu) qemu-kvm: Huge page support disabled (n/a for main memory).

3.run memhog inside guest,huge page could be used up by checking 

memhog:memhog -r2 XG
cat /proc/meminfo|grep Huge

Actual results:

  (qemu) qemu-kvm: Huge page support disabled (n/a for main memory).

   Actually,native guest might support it.It needs to be enhanced for different P9 guests.[native,compatible]

Expected results:

  Some guests could actually take advantage of huge page.We should make it clearly.


Additional info:

Comment 1 Min Deng 2019-03-06 03:29:02 UTC
It's a ppc only bug.And it wasn't reproducible on x86,thanks.

Comment 2 Min Deng 2019-03-06 03:33:01 UTC
Talked with David,and it would be good to improve it in the future,Thanks.


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