Re: [libvirt] [PATCH] libxl: add tunnelled migration support

2016-11-20 Thread Bob Liu
On 11/19/2016 08:22 AM, Jim Fehlig wrote: > On 11/10/2016 09:14 PM, Bob Liu wrote: >> Tunnelled migration doesn't require any extra network connections beside the >> libvirt daemon. >> It's capable of strong encryption and the default option of openstack-nova. >> >&

[libvirt] [PATCH] libxl: add tunnelled migration support

2016-11-10 Thread Bob Liu
igned-off-by: Bob Liu <bob@oracle.com> --- src/libxl/libxl_driver.c| 58 - src/libxl/libxl_migration.c | 281 +--- src/libxl/libxl_migration.h | 9 ++ 3 files changed, 331 insertions(+), 17 deletions(-) diff --git a/src/libxl/libxl_drive

Re: [libvirt] [RFC PATCH] libxl: add tunnelled migration support

2016-10-27 Thread Bob Liu
On 10/26/2016 07:24 PM, Joao Martins wrote: > On 10/26/2016 07:33 AM, Bob Liu wrote: >> Tunnelled migration doesn't require any extra network connections beside the >> libvirt daemon. >> It's capable of strong encryption and is the default option in >> openstack

[libvirt] [RFC PATCH] libxl: add tunnelled migration support

2016-10-26 Thread Bob Liu
igned-off-by: Bob Liu <bob@oracle.com> --- src/libxl/libxl_driver.c| 58 ++- src/libxl/libxl_migration.c | 241 +--- src/libxl/libxl_migration.h | 9 ++ 3 files changed, 292 insertions(+), 16 deletions(-) diff --git a/src/libxl/libxl

[libvirt] [PATCH v2] libxl: add memory attach support

2016-08-31 Thread Bob Liu
ve Signed-off-by: Bob Liu <bob@oracle.com> --- v2: * Unlock virDomainObj while attaching. * Fix memory leak of mem. --- src/libxl/libxl_domain.c | 1 + src/libxl/libxl_driver.c | 35 +++ 2 files changed, 36 insertions(+) diff --git a/src/libxl/libx

Re: [libvirt] [PATCH] libxl: add memory attach support

2016-08-31 Thread Bob Liu
On 08/30/2016 11:20 PM, Joao Martins wrote: > Hey! > > On 08/30/2016 11:00 AM, Bob Liu wrote: >> Support for VIR_DOMAIN_DEVICE_MEMORY on domainAttachDeviceFlags API in libxl >> driver, using libxl_set_memory_target in xen libxl. >> >> With "virsh attach-devi

[libvirt] [PATCH] libxl: add memory attach support

2016-08-30 Thread Bob Liu
ve Signed-off-by: Bob Liu <bob@oracle.com> --- src/libxl/libxl_domain.c | 1 + src/libxl/libxl_driver.c | 29 + 2 files changed, 30 insertions(+) diff --git a/src/libxl/libxl_domain.c b/src/libxl/libxl_domain.c index f529a2e..3924ba0 100644 --- a/src/libx

[libvirt] [PATCH 4/4] xmconfigdata: drop tests for multi serial

2016-08-17 Thread Bob Liu
xen-xm doesn't support mult serial devices at all, so these tests are meaningless. Signed-off-by: Bob Liu <bob@oracle.com> --- v2: Also delete the test case from xmconfigtest. --- .../test-fullvirt-serial-dev-2-ports.cfg | 27 - .../test-fullvirt-serial-dev-2-por

[libvirt] [PATCH 3/4] xlconfigdata: add tests for multi serial

2016-08-17 Thread Bob Liu
Adding tests for domXML <-> xl.cfg conversions containing multiple serial devices. Signed-off-by: Bob Liu <bob@oracle.com> --- tests/xlconfigdata/test-fullvirt-multiserial.cfg | 25 + tests/xlconfigdata/test-fullvirt-multiserial.xml | 64 tests/xl

[libvirt] [PATCH v3 1/4] libxl: support serial list

2016-08-17 Thread Bob Liu
to always returning the first one). [0] https://lists.xen.org/archives/html/xen-devel/2016-08/msg00438.html Signed-off-by: Bob Liu <bob@oracle.com> --- v3: Comments from Jim. v2: Add #ifdef LIBXL_HAVE_BUILDINFO_SERIAL_LIST. --- src/libxl/libxl_conf.c | 23 --- src

[libvirt] [PATCH 2/4] xenconfig: rm format/parse multi serial for xen-xm

2016-08-17 Thread Bob Liu
xen-xm doesn't support multi serial at all, this patch drop the domXML <-> xl.cfg conversions. Signed-off-by: Bob Liu <bob@oracle.com> --- src/xenconfig/xen_common.c | 21 + 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/src/xenconfig/xen_co

Re: [libvirt] [PATCH 4/4] xmconfigdata: drop multi serial tests

2016-08-17 Thread Bob Liu
On 08/17/2016 06:25 PM, Joao Martins wrote: > > > On 08/17/2016 02:23 AM, Bob Liu wrote: >> xen-xm doesn't support mult serial devices at all, so these tests are >> meaningless. >> >> Signed-off-by: Bob Liu <bob@oracle.com> >> --- >> .../

[libvirt] [PATCH 4/4] xmconfigdata: drop multi serial tests

2016-08-16 Thread Bob Liu
xen-xm doesn't support mult serial devices at all, so these tests are meaningless. Signed-off-by: Bob Liu <bob@oracle.com> --- .../test-fullvirt-serial-dev-2-ports.cfg | 27 - .../test-fullvirt-serial-dev-2-ports.xml | 65 -- .../test-fu

[libvirt] [PATCH v3 1/4] libxl: support serial list

2016-08-16 Thread Bob Liu
to always returning the first one). [0] https://lists.xen.org/archives/html/xen-devel/2016-08/msg00438.html Signed-off-by: Bob Liu <bob@oracle.com> --- v3: Comments from Jim. v2: Add #ifdef LIBXL_HAVE_BUILDINFO_SERIAL_LIST. --- src/libxl/libxl_conf.c | 23 --- src

[libvirt] [PATCH 2/4] xenconfig: rm format/parse multi serial for xen-xm

2016-08-16 Thread Bob Liu
xen-xm doesn't support multi serial at all, this patch drop the domXML <-> xl.cfg conversions. Signed-off-by: Bob Liu <bob@oracle.com> --- src/xenconfig/xen_common.c | 21 + 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/src/xenconfig/xen_co

[libvirt] [PATCH 3/4] xlconfigdata: add tests for multi serial

2016-08-16 Thread Bob Liu
Adding tests for domXML <-> xl.cfg conversions containing multiple serial devices. Signed-off-by: Bob Liu <bob@oracle.com> --- tests/xlconfigdata/test-fullvirt-multiserial.cfg | 25 + tests/xlconfigdata/test-fullvirt-multiserial.xml | 64 tests/xl

[libvirt] [PATCH v2] libxl: support serial list

2016-08-03 Thread Bob Liu
to always returning the first one). [0] https://lists.xen.org/archives/html/xen-devel/2016-08/msg00438.html Signed-off-by: Bob Liu <bob@oracle.com> --- v2: Add #ifdef LIBXL_HAVE_BUILDINFO_SERIAL_LIST --- src/libxl/libxl_conf.c | 24 +--- src/libxl/libxl_domain.

[libvirt] [PATCH] libxl: add serial list support

2016-08-02 Thread Bob Liu
Add support for multi serial devices, after this patch virsh can be used to connect different serial devices of running domains. E.g. vish # console --devname serial Signed-off-by: Bob Liu <bob@oracle.com> --- src/libxl/libxl_conf.c | 25 ++--- src/libxl/libxl_do