This patch adds functionality to allow libvirt to configure the '802.1ad'
modes(802.1ad double-tagged) on openvswitch networks.
For example:
Signed-off-by: ZhiPeng Lu
---
v1->v2:
1. Fix "make syntax-check" failur
For vhost-user ports, Open vSwitch acts as the server and QEMU the client.
When OVS crashes or restarts, the QEMU process should be reconnected to
OVS.
Signed-off-by: ZhiPeng Lu <lu.zhip...@zte.com.cn>
Signed-off-by: Michal Privoznik <mpriv...@redhat.com>
---
v1->v2:
- modify xm
can be the interface target by
name or MAC address. So clarify description of --help option
Signed-off-by:ZhiPeng Lu
---
tools/virsh-domain-monitor.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/virsh-domain-monitor.c
For vhost-user ports, Open vSwitch acts as the server and QEMU the client.
When OVS crashes or restarts, the QEMU process should be reconnected to
OVS.
Signed-off-by: ZhiPeng Lu <lu.zhip...@zte.com.cn>
Signed-off-by: Michal Privoznik <mpriv...@redhat.com>
---
v1->v2:
- modify xml
Add more human-friendly output of domain's system time.
Signed-off-by: ZhiPeng Lu <lu.zhip...@zte.com.cn>
Reviewed-by: Jiyun Fan <fan.ji...@zte.com.cn>
---
tools/virsh-domain-monitor.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/tools/virsh-domain
For vhost-user ports, Open vSwitch acts as the server and QEMU the client.
When OVS crashes or restarts, the QEMU process should be reconnected to
OVS.
Signed-off-by: ZhiPeng Lu <lu.zhip...@zte.com.cn>
---
docs/schemas/domaincommon.rng | 26 --
sr
For vhost-user ports, Open vSwitch acts as the server and QEMU the client.
When OVS crashes or restarts, the QEMU process should be reconnected to
OVS.
Signed-off-by: ZhiPeng Lu <lu.zhip...@zte.com.cn>
---
docs/schemas/domaincommon.rng | 26 --
sr
In virNWFilterIPAddrMapAddIPAddr the @val may be leaked.
Signed-off-by: ZhiPeng Lu <lu.zhip...@zte.com.cn>
---
src/conf/nwfilter_ipaddrmap.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/conf/nwfilter_ipaddrmap.c b/src/conf/nwfilter_ipaddrmap.c
index 4
In learnIPAddressThread()the @inetaddr may be leaked.
Signed-off-by: ZhiPeng Lu <lu.zhip...@zte.com.cn>
---
src/nwfilter/nwfilter_learnipaddr.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/nwfilter/nwfilter_learnipaddr.c
b/src/nwfilter/nwfilter_learnip
In learnIPAddressThread()the @inetaddr may be leaked.
Signed-off-by: ZhiPeng Lu <lu.zhip...@zte.com.cn>
---
src/nwfilter/nwfilter_learnipaddr.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/nwfilter/nwfilter_learnipaddr.c
b/src/nwfilter/nwfilter_learnipaddr.c
In learnIPAddressThread()the @inetaddr may be leaked.
Signed-off-by: ZhiPeng Lu <lu.zhip...@zte.com.cn>
---
src/nwfilter/nwfilter_learnipaddr.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/nwfilter/nwfilter_learnipaddr.c
b/src/nwfilter/nwfilter_learnipaddr.c
For vhost-user ports, Open vSwitch acts as the server and QEMU the client.
When OVS crashes or restarts, the QEMU process should be reconnected to
OVS.
Signed-off-by: ZhiPeng Lu <lu.zhip...@zte.com.cn>
---
docs/schemas/domaincommon.rng | 26 --
sr
For vhost-user ports, Open vSwitch acts as the server and QEMU the client.
When OVS crashed or restart, QEMU shoule be reconnect to OVS.
Signed-off-by: ZhiPeng Lu <lu.zhip...@zte.com.cn>
---
v1->v2:
- modify xml format
---
---
docs/schemas/domaincommon.rng
The patch passes the reconnect timeout to QEMU by monitor on chardev hotplug.
Signed-off-by: ZhiPeng Lu <lu.zhip...@zte.com.cn>
---
v1->v2:
- Fix syntax errors about Curly brackets
---
src/qemu/qemu_monitor_json.c | 17 +
1 file changed, 17 insertions(+)
diff --git a
The patch passes the reconnect timeout to QEMU by monitor on chardev hotplug.
Signed-off-by: ZhiPeng Lu <lu.zhip...@zte.com.cn>
---
src/qemu/qemu_monitor_json.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/src/qemu/qemu_monitor_json.c b/src/qemu/qemu_monitor_
For vhost-user ports, Open vSwitch acts as the server and QEMU the client.
When OVS crashed or restart, QEMU shoule be reconnect to OVS.
Signed-off-by: ZhiPeng Lu <lu.zhip...@zte.com.cn>
---
docs/formatdomain.html.in | 6 +++--
docs/schemas/domaincomm
@map_device, allocated by virAsprintf in virStorageBackendCreateVols,
was not freed and leaked.
Signed-off-by: Zhipeng Lu <lu.zhip...@zte.com.cn>
---
src/storage/storage_backend_mpath.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/storage/storage_backend_mpath.c
b/src/s
@remote_file, allocated by virAsprintf, was not freed and leaked.
Signed-off-by: Zhipeng Lu <lu.zhip...@zte.com.cn>
---
src/phyp/phyp_driver.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/phyp/phyp_driver.c b/src/phyp/phyp_driver.c
index 9121581..662e2f7 100644
--- a/sr
@remote_file, allocated by virAsprintf, was not freed and leaked.
Signed-off-by: Zhipeng Lu <lu.zhip...@zte.com.cn>
---
src/phyp/phyp_driver.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/phyp/phyp_driver.c b/src/phyp/phyp_driver.c
index 9121581..662e2f7 100644
--- a/sr
@driverpath, allocated by virAsprintfQuiet, was not freed and leaked.
Signed-off-by: Zhipeng Lu <lu.zhip...@zte.com.cn>
---
tests/virpcimock.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/virpcimock.c b/tests/virpcimock.c
index e9408aa..dec9e01 100644
--- a/tests/virpcimock.c
@driverpath, allocated by virAsprintfQuiet, was not freed and leaked.
Signed-off-by: Zhipeng Lu <lu.zhip...@zte.com.cn>
---
tests/virpcimock.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/virpcimock.c b/tests/virpcimock.c
index e9408aa..dec9e01 100644
--- a/tests/virpcimock.c
This patchs allow to set the buffer size for netlink socket in
the libvirtd configuration file. The default buffer size remain
as before at 128k.
Signed-off-by: Zhipeng Lu <lu.zhip...@zte.com.cn>
---
daemon/libvirtd-config.c| 6 ++
daemon/libvirtd-config.h| 2 ++
Signed-off-by: ZhiPeng Lu <lu.zhip...@zte.com.cn>
---
src/util/virnetlink.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/util/virnetlink.c b/src/util/virnetlink.c
index 92ecf77..bb56c54 100644
--- a/src/util/virnetlink.c
+++ b/src/util/virnetlink.c
@@
of migration source and
destination
have the same MAC address. The patch later calling
qemuMigrationVPAssociatePortProfiles
sets mac address of VF in migration finish step instead of start step.
The patch aims to reduce packet loss rate.
Signed-off-by: ZhiPeng Lu <lu.zhip...@zte.com.cn>
---
sr
of migration source and
destination
have the same MAC address. The patch later calling
qemuMigrationVPAssociatePortProfiles
sets mac address of VF in migration finish step instead of start step.
The patch aims to reduce packet loss rate.
Signed-off-by: ZhiPeng Lu <lu.zhip...@zte.com.cn>
---
sr
of migration source and
destination
have the same MAC address. The patch later calling
qemuMigrationVPAssociatePortProfiles
sets mac address of VF in migration finish step instead of start step.
The patch aims to reduce packet loss rate.
Signed-off-by: ZhiPeng Lu <lu.zhip...@zte.com.cn>
---
sr
From: "ning.bo"
When create Virtual Function for Inter XL710 use below commands:
for i in `seq 0 1`; do
echo 63 >
/sys/devices/pci:00/:00:03.2/:07:00.$i/sriov_numvfs
done
for i in `seq 0 3`; do
echo 31 >
at it happens before qemuProcessKill is called.
Signed-off-by: Zhipeng Lu <lu.zhip...@zte.com.cn>
Signed-off-by: Laine Stump <la...@laine.org>
---
src/qemu/qemu_process.c | 99 -
1 file changed, 49 insertions(+), 50 deletions(-)
diff --git a/sr
mid to vm's nic name. For example, the vm's domid is 1 and
vnet0
is renamed to vnet1.0.
Signed-off-by: ZhiPeng Lu <lu.zhip...@zte.com.cn>
---
src/qemu/qemu_interface.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/src/qemu/qemu_interface.c b/src/qemu/qemu_interfac
Adding this feature will allow users to attach a network to linux bridge
or openvswitch. The interface can be attached using --brtype=linux or
--brtype=openvswitch. If --brtype is not set, the network is attached
to linux bridge.
Signed-off-by: ZhiPeng Lu <lu.zhip...@zte.com.cn>
---
tools
it should be a comparison of modes between new and old devices. So
the argument of the second virDomainNetGetActualDirectMode should be
newdev.
Signed-off-by: ZhiPeng Lu <lu.zhip...@zte.com.cn>
---
src/qemu/qemu_hotplug.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
31 matches
Mail list logo