qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Hotplug ram and vhost-user
@ 2017-12-05 17:41 Dr. David Alan Gilbert
  2017-12-07 15:52 ` Maxime Coquelin
  0 siblings, 1 reply; 11+ messages in thread
From: Dr. David Alan Gilbert @ 2017-12-05 17:41 UTC (permalink / raw)
  To: marcandre.lureau, maxime.coquelin; +Cc: qemu-devel

Hi,
  Since I'm reworking the memory map update code I've been
trying to test it with hot adding RAM; but even on upstream
I'm finding that hot adding RAM causes the guest to stop passing
packets with vhost-user-bridge;  have either of you seen the same
thing?

I'm doing:
./tests/vhost-user-bridge -u /tmp/vubrsrc.sock
$QEMU -enable-kvm -m 1G,maxmem=2G,slots=4 -smp 2 -object memory-backend-file,id=mem,size=1G,mem-path=/dev/shm,share=on -numa node,memdev=mem -mem-prealloc -trace events=vhost-trace-file -chardev socket,id=char0,path=/tmp/vubrsrc.sock -netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce -device virtio-net-pci,netdev=mynet1 $IMAGE -net none 

(with a f27 guest) and then doing:
(qemu) object_add memory-backend-file,id=mem1,size=256M,mem-path=/dev/shm
(qemu) device_add pc-dimm,id=dimm1,memdev=mem1

but then not getting any responses inside the guest.

I can see the code sending another set-mem-table with the
extra chunk of RAM and fd, and I think I can see the bridge
mapping it.

Dave

--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-12-07 18:57 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-05 17:41 [Qemu-devel] Hotplug ram and vhost-user Dr. David Alan Gilbert
2017-12-07 15:52 ` Maxime Coquelin
2017-12-07 15:56   ` Michael S. Tsirkin
2017-12-07 16:35     ` Maxime Coquelin
2017-12-07 16:55       ` Michael S. Tsirkin
2017-12-07 16:56       ` Michael S. Tsirkin
2017-12-07 16:25   ` Dr. David Alan Gilbert
2017-12-07 16:42     ` Maxime Coquelin
2017-12-07 18:23       ` Dr. David Alan Gilbert
2017-12-07 18:33         ` Maxime Coquelin
2017-12-07 18:57           ` Dr. David Alan Gilbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).