search for: zhuohaofan

Displaying 13 results from an estimated 13 matches for "zhuohaofan".

2018 Jul 12
2
How to set the MTU size of VM interface
Dear all: I start a VM with MTU size 1450, and login VM to check the mtu size, but this setting didn't work. The VM xml is like this: <interface type='bridge'> <mac address='52:54:00:54:14:f8'/> <source bridge='ovsbr1'/> <virtualport type='openvswitch'> <parameters
2018 Jul 12
0
Re: How to set the MTU size of VM interface
On Thu, Jul 12, 2018 at 4:46 AM, netsurfed <zhuohaofan@126.com> wrote: > Dear all: > I start a VM with MTU size 1450, and login VM to check the mtu size, but > this setting didn't work. > > [snip] > However, the actual mtu size of VM is still 1500, as following: > > root@ubuntu-zhf:~# ip addr > > [snip] > I...
2019 Jul 18
2
make install libvirt v5.5.0 failed
Hi all: Unable to install libvirt v5.5.0 correctly through the source code which clone from git. The error message is shown below. libtool: install: (cd /home/libvirt/src; /bin/sh /home/libvirt/libtool --silent --tag CC --mode=relink gcc -std=gnu99 -I/usr/include/libxml2 -fno-common -W -Waddress -Waggressive-loop-optimizations -Wall -Wattributes -Wbad-function-cast -Wbuiltin-macro-redefined
2019 Jul 23
0
Re: make install libvirt v5.5.0 failed
Hi all: Does anyone have a similar problem? Any Suggestions? THX! 2019-07-18 11:49:14,"netsurfed" <zhuohaofan@126.com> : Hi all: Unable to install libvirt v5.5.0 correctly through the source code which clone from git. The error message is shown below. libtool: install: (cd /home/libvirt/src; /bin/sh /home/libvirt/libtool --silent --tag CC --mode=relink gcc -std=gnu99 -I/usr/include/libxml2 -fno-co...
2018 Nov 13
1
create vm timeout
Hi all: I create VM on most hypervisors very quickly, about 2 seconds. But some hypervisors are slow, taking more than 10 seconds. I started the debug log for libvirtd and found that some threads had timed out. Thread 95205 has two 5-second timeouts, but I don't know why? Below some information about my hypervisor: [root@node1 datapool]# virsh -v 3.4.0 [root@node1 datapool]# qemu-x86_64
2017 Jul 04
0
node device lifecycle callback can't resive event
Hi all, I registe node device lifecycle event callback function after connect qemu. In the callback function, I printf the event and detail. When I plug a USB into host, and then pull out, but there is nothing happen. The callback was not called. Could you tell me Why? And what dose node device mean? I want to auto-hotplug usb devices by using libvirt. Bellow the call of libvirt: // node
2017 Aug 09
2
libvirt: XML-RPC error : Cannot write data: Broken pipe
Hi all, I think it's a bug, when call virDomainGetState after "service libvirtd stop", I receive signal SIGPIPE. I want to know how to avoid this problem? And Other interfaces will also encounter this problem? Below the bt information: Below some information about my hypervisor: root@ubuntu-05:/datapool/zhuohf# virsh -v 3.4.0 root@ubuntu-05:/datapool/zhuohf# qemu-x86_64 -version
2017 Nov 07
1
this function is not supported by the connection driver: virInterfaceDefineXML
Hi all: I'm facing problems trying to define a bridge on Ubuntu 16.04, using libvirt 3.4.0. When I try to do: root@ubuntu-180:/tmp# virsh iface-define iface-testbr1.xml I get the following error: error: Failed to define interface from iface-testbr1.xml error: this function is not supported by the connection driver: virInterfaceDefineXML What can i do to make this function works normally?
2018 Jan 23
0
Create virtual machine failed using virDomainCreateXML
Hi all, When I created a virtual machine using virDomainCreateXML, with virtualport type was openvswitch, and virtual machine creation failed. The error message is: internal error: Child process (/sbin/tc filter add dev vnet110 parent ffff: protocol all u32 match u32 0 0 police rate 0kbps burst 0kb mtu 64kb drop flowid :1) unexpected exit status 2: RTNETLINK answers: Invalid argument The
2018 Jan 25
1
Re: Create virtual machine failed using virDomainCreateXML
Dear Michal: I'm sorry. The pasting XML I described earlier is wrong, and the real thing is: <interface type='bridge'> <mac address='52:54:00:0a:2b:2a'/> <source bridge='lcs_br_1'/> <virtualport type='openvswitch'/> <bandwidth> <inbound average='0' peak='0'/>
2017 Jun 15
1
[qemu-kvm] Network bandwidth limits via libvirt
Hi all, I try to understand why the network bandwidth limits are not applied to my ubuntu 16.04.2 VM (qemu-kvm driver) and I would need some insights. I create my VM network with virsh and when I issue a dumpxml on my network, I can see that bandwidth limits are set: virsh # net-dumpxml nat_limit <network> <name>nat_limit</name>
2018 Jan 23
2
Create virtual machine failed using virDomainCreateXML
Hi all, When I created a virtual machine using virDomainCreateXML, with virtualport type was openvswitch, and virtual machine creation failed. The error message is: internal error: Child process (/sbin/tc filter add dev vnet110 parent ffff: protocol all u32 match u32 0 0 police rate 0kbps burst 0kb mtu 64kb drop flowid :1) unexpected exit status 2: RTNETLINK answers: Invalid argument The
2018 Nov 15
1
libvirt call qemu to create vm need more than 10 seconds
Hi all: It takes more than 10 seconds to create a vm on a Dell R830 machine, but it takes less than 2 seconds on other machines. This is not normal, so I turned on the debug log for libvirtd. I analyzed the log and found that the time was spent on libvirtd calling qemu. Thread 95225 calls the qemuProcessLaunch interface at 14:22:30.129 and then builds the emulator command line, but the