qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Does PCI hotplug work with IVSHMEM?


From: Ivano Cerrato
Subject: Re: [Qemu-devel] Does PCI hotplug work with IVSHMEM?
Date: Wed, 22 Jul 2015 07:48:54 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

Thank you for the answer!
Why do you say that it is not safe to do hotplug with ivshmem?

    Ivano

Il 21/07/2015 18:37, Marc-André Lureau ha scritto:
Hi

On Tue, Jul 21, 2015 at 12:13 PM, Ivano Cerrato <address@hidden> wrote:
Is there any way to force the Guest OS to recognize the new device without
rebooting? Such as rmmod/insmod or equivalent?
This can be observed in qemu monitor too, info qtree:

       dev: ivshmem, id ""
         chardev = ""
         size = "2048M"
         vectors = 1 (0x1)
         ioeventfd = false
         msi = true
         shm = "foo"
         role = ""
         use64 = 1 (0x1)
         addr = 05.0
         romfile = ""
         rombar = 1 (0x1)
         multifunction = false
         command_serr_enable = true
         class RAM controller, addr 00:05.0, pci id 1af4:1110 (sub 1af4:1100)
         bar 0: mem at 0x40000000 [0x400000ff]
         bar 2: mem at 0xffffffffffffffff [0x7ffffffe]

Check dmesg, it fails to allocate for me, but with 1G it works (f22
x86_64). I don't know what's the reason behind it.

Note that it's not safe to do hotplug with ivshmem (it may assert in
various ways), I proposed a patch series a few weeks ago, I am going
to send an updated version soon.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]