------- Comment From [email protected] 2016-08-13 15:03 EDT-------
(In reply to comment #10)
> (In reply to comment #9)
> > You say that this is because of a ddw bugfix in the qemu in PowerKVM.  Which
> > version of qemu, or which version of PowerKVM, includes this change?

qemu-2.5-6.el7_1.pkvm3_1_1.2200.0 contains the fix for DDW issue of
QEMU.

> > is this reproducible with the qemu in some version of Ubuntu, and if
so, which version(s)?

I have tried Ubuntu14.04.5 as a guest, here I can see the problem with
the qemu mentioned above i.e. 2.5-6 of PowerKVM host.

> >
> > What are the steps to reproduce the failure?
1. Prepare the guest for memory hot plug, by adding the following tags to the 
guest's xml. Here I have a guest with NUMA support

<maxMemory slots='32' unit='KiB'>134217728</maxMemory>
<memory unit='KiB'>73400320</memory>
<currentMemory unit='KiB'>73400320</currentMemory>
<vcpu placement='static' current='24'>32</vcpu>
<cpu>
<topology sockets='32' cores='1' threads='1'/>
<numa>
<cell id='0' cpus='0,4,8,12,16,20,24,28' memory='2097152' unit='KiB'/>
<cell id='1' cpus='1,5,9,13,17,21,25,29' memory='2097152' unit='KiB'/>
<cell id='2' cpus='2,6,10,14,18,22,26,30' memory='2097152' unit='KiB'/>
<cell id='3' cpus='3,7,11,15,19,23,27,31' memory='2097152' unit='KiB'/>
</numa>
</cpu>

2. define the guest, start the guest, log in and check the current memory.
virsh define <filename.xml>
virsh start <domain name> --console
log in
cat /proc/meminfo | grep -i memtotal

3. From Host, hot plug the memory using the following command
virsh attach-device <domain name> men_hp.xml --live

mem_hp.xml  for hot plugging 8G is given below, change the value
according to your environment.

<memory model='dimm'>
<target>
<size unit='KiB'>8388608</size>
<node>0</node>
</target>
</memory>

4. In the guest Memory value should have increased by 8GB, but there
will be no change.

5. From Guest OS /var/log/drmgr
[root@localhost ~]# cat /var/log/drmgr
...
drmgr: -c mem -a -q 1
Validating Memory DLPAR capability...yes.
Maximum of 496 LMBs
Could not find LMB with drc-index of 0
Found 0 LMBs currently allocated
Could not gather LMB (logical memory block information.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1612424

Title:
  Ubuntu14.04.05 To get memory hotplug working in PowerKVM, powerpc-
  utils needs update to version 1.3.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/powerpc-utils/+bug/1612424/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to