Re: [libvirt] [PATCH] conf: Parse virtio-crypto in the domain XML

2017-01-08 Thread Gonglei (Arei)
> > Sent: Monday, January 09, 2017 10:15 AM > To: libvir-list@redhat.com > Cc: Wubin (H); Zhoujian (jay, Euler); Gonglei (Arei); berra...@redhat.com; > longpeng > Subject: [PATCH] conf: Parse virtio-crypto in the domain XML > > As virtio-crypto has been supported in QE

Re: [libvirt] [Qemu-devel] Question about how to distinguish a usb device in usb pass-through feature

2014-06-09 Thread Gonglei (Arei)
Hi, Qemu has supported 3rd method for USB passthrough except two ways that you have pointed: hostbus+hostport -- match for a specific physical port in the host, any device which is plugged in there gets passed to the guest. The method can resolve your all problems. AFAICT, libvirt do not suppo

Re: [libvirt] [PATCH] migration: Fix possible bug for migrate cancel

2014-03-28 Thread Gonglei (Arei)
> > >> Return error for migrate cancel, when migration status is not > > >> MIG_STATE_SETUP or MIG_STATE_ACTIVE. Thus, libvirt can can > > >> perceive the operation fails. > > >> > > >> Signed-off-by: zengjunliang > > >> Signed-off-by: Gonglei > > > > > > I think this is done on purpose, because

Re: [libvirt] question for in ethernet type and multiple queues in KVM (start VM failed)

2014-03-26 Thread Gonglei (Arei)
> > > > I use ethernet vif for VM (libvirt 1.1.0 qemu 1.5.1). xml as such > > > > > > > > > > > > > > > > > > > > tap_mq is a tap device with multi_queue property which was created > on host by ip c

Re: [libvirt] [PATCH] migration: Fix possible bug for migrate cancel

2014-03-25 Thread Gonglei (Arei)
> -Original Message- > From: Eric Blake [mailto:ebl...@redhat.com] > Sent: Tuesday, March 25, 2014 12:01 AM > To: Paolo Bonzini; Gonglei (Arei); qemu-de...@nongnu.org > Cc: quint...@redhat.com; owass...@redhat.com; Yanqiangjun; Zhaoyanbin > (A); Zengjunliang; libv

[libvirt] USB: about the auto identify funciton for guest OS

2013-09-13 Thread Gonglei (Arei)
Hi, all Qemu upstream had achieved USB Auto Connect function for the guest. the patch was: https://lists.gnu.org/archive/html/qemu-devel/2011-05/msg02341.html However, Libvirt has not provide such an interface that identifies a USB device for pass through with physical port, rather than the de

[libvirt] USB: USB Passthrough Device Autoconnect Feature

2013-09-12 Thread Gonglei (Arei)
Hi, all Qemu upstream had achieved USB Passthrough Device Autoconnect Feature for the guest. Such as a USB device is unplugged from the host then plugged back in to the same USB physical port. the patch was: https://lists.gnu.org/archive/html/qemu-devel/2011-05/msg02341.html However, Libvirt

[libvirt] [PATCH] usb: Correct test for virUSBDeviceListSteal

2013-07-04 Thread Gonglei (Arei)
In the for loop, the if condition is always true, and will execute memmove. But it will cause the list->devs[i+1] overflow while i equals list->count-1. Signed-off-by: Gonglei --- src/util/virusb.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/util/virusb.c b/src/

[libvirt] Hostdev: USB passthrough, about hostport support

2013-07-03 Thread Gonglei (Arei)
Hi, the Qemu upstream has a hostport property which allows to specify the host usb devices to pass through by bus number and physical port. Will the libvirt have a plan to support this? Thanks! The Qemu's patch: http://git.qemu.org/?p=qemu-stable-1.4.git;a=commitdiff;h=9056a2972a9e93519

[libvirt] "virsh edit" failed to take effect on KVM

2013-05-09 Thread Gonglei (Arei)
Hi all, we use the command "virsh edit" to modify the VM configuration information online on KVM Platform(libvirt-1.0.0 and qemu-1.4), but it does not take effect after reboot. However, it works fine on Xen Platform. for an example,a VM is running with the following configuration infor