At 2017-12-07 17:35:42, "Peter Krempa" <pkrempa(a)redhat.com> wrote:
On Thu, Dec 07, 2017 at 09:26:12 +0800, Chen Hanxiao wrote:
> From: Chen Hanxiao <chenhanxiao(a)gmail.com>
>
> We lacked of hot unplugging redirdev device.
> This patch add support for it.
> We could use detach-device --live now.
>
> Signed-off-by: Chen Hanxiao <chenhanxiao(a)gmail.com>
> ---
> v2: add news section
>
> docs/news.xml | 9 ++++
> src/qemu/qemu_driver.c | 4 +-
> src/qemu/qemu_hotplug.c | 111 ++++++++++++++++++++++++++++++++++++++++++++++++
> src/qemu/qemu_hotplug.h | 3 ++
> 4 files changed, 126 insertions(+), 1 deletion(-)
>
> diff --git a/docs/news.xml b/docs/news.xml
> index 0ec9857e2..ec32dc850 100644
> --- a/docs/news.xml
> +++ b/docs/news.xml
> @@ -35,6 +35,15 @@
> <libvirt>
> <release version="v4.0.0" date="unreleased">
> <section title="New features">
> + <change>
> + <summary>
> + qemu: Add support for hot unplug redirdev device
> + </summary>
> + <description>
> + We've supported hotplug redirdev device, but lacked of
> + hot unplug feature. Now we can do it by libvirt.
> + </description>
> + </change>
> </section>
> <section title="Improvements">
> </section>
News section should be in a separate patch.
Thanks, will be changed in the next patchset.
Regards,
- Chen