Oops,
RTFM! :)
PS:
Windows guest requires SRAT table for hotplug to work so add an extra option:
-numa node
to QEMU command line.
So status is, windows works. linux does not.
See attachment for more info
Regards,
Gerrit
Hi Igor,
I’m trying the memory hot plug. But I have trouble getting it to work. This is what happens. I tried some tested guest OSes and some untested.
I tried three flavours of linux with automatic or manual memory hot plug support:
CentOS 6 cpu hotplug: works
memory h otplug: Kernel sees memory, but ext4 filesystem crashes,
says it’s mounted readonly, but cannot execute anything to try and read the logs.
latest Ubuntu and debian:
same problem
Windows 2012: cpu hotplug: works
memory hotplug: windows keeps running, but does not see the memory. nothing shows up in event viewer.
Used commands to add memory:
(qemu) object_add memory-ram,id=mem1,size=1G
object_add memory-ram,id=mem1,size=1G
(qemu) device_add dimm,id=dimm1,memdev=mem1
device_add dimm,id=dimm1,memdev=mem1
Am I doing something wrong? How can I make this work? If you need any logs. Let me know which one.
Regards,
Gerrit
On Wed, 23 Apr 2014 12:16:30 +0000
"Kolk, G. van der" <address@hidden> wrote:
Dear Qemu developers,
I'm doing a masters thesis project which involves Qemu. Especially cpu and memory hot plugging. But I have a hard time finding the right git repository which contains the latest memory hot plugging work. Can anyone please point me in the right direction?
the last version was posted here:
https://lists.gnu.org/archive/html/qemu-devel/2014-04/msg00734.html
Regards,
Gerrit van der Kolk
--
Regards,
Igor
|