search for: llilulu

Displaying 20 results from an estimated 20 matches for "llilulu".

2017 Oct 17
2
virConnectIsAlive
Hi In my program , When libvirtd restart , the old libvirtd connection(virConnectPtr) has to reconnect, Before usr old virConnectPtr , I call virConnectIsAlive. but when I restart libvirtd , virConnectIsAlive return 1, and I continue other operate use the old virConnectPtr, program will receive signal pipe. I use libvirt event. before any api use, I call virEventRegisterDefaultImpl, and
2018 Apr 09
2
start a domain, minimal memory request.
Hi: I use libvirt manage virtual guest, When I start many virtual domain(my host 128G physical memory), example, I start 100 guest, 1G per guest。sometime I will encounter "cannot allocate memory", "cannot set up guest memory \'pc.ram\': cannot allocate memory". sometime encounter qemu process killed by system(oom), I want to know what minimal memory need when start
2017 Jul 31
1
libvirt virDomainDestroy
When stop a qemu vm via libvirt api, I call virDomainShutdown, I can seen the vm shutdown process, But I call virDomainDestroyFlags with VIR_DOMAIN_DESTROY_GRACEFULL ,I can't seen the vm shutdown process, virDomainDestroyFlags with VIR_DOMAIN_DESTROY_GRACEFULL is gave vm driver process a SIGTERM , how vm driver process SIGTERM signal (like qemu). Thanks
2017 Aug 21
1
dump in virEventPollRunOnce
libvirt version: 3.4.0 architecture: x86_64 ubuntu16.04-server hypervisor: kvm,qemu My program use libvirt event , the program is a module(.so) file in cloud application, when unload the module, program will dump in virEventPoolRunOnce call. program frame virInitialize virEventAddTimeOut virEventRunDefaultImpl virConnectXXX virConnectDomainEventRegisterAny ... virConnectDomainEventDeregisterAny
2017 Aug 22
1
libvirt event
libvirt version: 3.4.0 When use libvirt event in program, if I create more than one thread loop call virEventRunDefaultImp(), Is this invocation correct. If correct ,what happen when event occur.is many thread process event? If I invocation virEventRegisterDefault before any hypervisor connect, and invocation virEventRunDefaultImp.Then I connect a hypervisor(qemu) and register some event on
2017 Sep 26
1
virDomainSaveImageDefineXML
Hi: When I make snapshot use virDomainSave,before I resume the snapshot , I use virDomainSaveImageDefineXML change the domain info, like disk path. but I can't change the <devices> , for example detach a disk or interface, Can't tell me what can I change use virDomainSaveImageDefineXML before resume snapshot.
2018 Mar 05
1
NIC cannot unplug
Hi: I encounter a promble, when I start a domain(only a blank disk, not install system), I can hotplug NIC, But I cannot hot unplug NIC. I consider the domain start from a blank disk, not install system, so the domain haven't virtio too, I suspect virtio problem. But I cann't confirm. Can any one tell me? Thanks
2018 Mar 21
1
Attempt to migrate guest to the same host localhost.localdomain
Hi My libvirt version is 3.4.0, I migrate guest between two host, The two host have same hostname( hostname cmd output same), I try find solution on Internet, I find someone say host uuid same, But virsh sysinfo output uuid is different, when I change one host's hostname, migrate success. I wish know why, and Can I solution this problem not change hostname. My program use api
2018 Apr 09
0
Re: start a domain, minimal memory request.
On 04/09/2018 09:00 AM, llilulu wrote: > Hi: > I use libvirt manage virtual guest, When I start many virtual domain(my host 128G physical memory), example, I start 100 guest, 1G per guest。sometime I will encounter "cannot allocate memory", "cannot set up guest memory \'pc.ram\': cannot allocate mem...
2018 Apr 18
1
qemu: qemu_thread_create: Resource temporarily unavailable
Hi: My libvirt is 3.4.0 and qemu is 2.9.0, My host has a big memory(128G), I run many guest on my host(80 guests), when I batch stop and start guests, some guest will crash, the qemu log is "qemu: qemu_thread_create: Resource temporarily unavailable". I search qemu code, I find qemu_thread_create just like pthread_create function. I search on internet, someone say that is a bug of
2019 Apr 23
1
how to use Libvirt create bridge for vm on Mac OS
Hi Recently, I install Libvirt and Qemu in my Mac book, I find I can't create a bridge like linux bridge use for my vm, I want to know how to create a bridge on Mac for vm. Thanks.
2017 Sep 27
1
domain xml <video> doubt
Hi My libvirt is 3.4.0,When I create a kvm domain, I use default <video> (type=cirrus, I not set video) create guest(debian9.1.0), but when finish install the guest and reboot, the guest will block in "started update utmp about system runlevel changes", I search on Internet, and find is graphics card problem, I change the <video> type=vga, the problem disppear。The
2018 Apr 17
1
How allocate ip for guest in xml file
Hi: I encounter a promble when I use libvirt manager my virtual machine. I use dhcp allocate IP for my guest, but use dhcp manager IP source, I will ensure guest run NetworkManager auto start NIC in dhcp type get IP. But some release system no install NetworkManager, or some installed system no install NetworkManager, so when I manager those guest, I cann't allocate IP for guest via dhcp
2018 Mar 08
1
Statistics domain memory block when domain shutdown
Hi My libvirt version is 3.4.0,host system is centos 7.4 ,kernel is 3.10.0-693.el7.x86_64 , when I shutdown domain in virtual system, My program call virDomainMemoryStats, My program blocked in this api. the call stack is #0 0x00007ff242d78a3d in poll () from /lib64/libc.so.6 #1 0x00007ff243755ce8 in virNetClientIOEventLoop () from /lib64/libvirt.so.0 #2 0x00007ff24375654b in
2017 Aug 22
0
virConnectClose
libvirt version: 3.4.0 When invoke virConnectDomainEventRegisteAny register event on a hypervisor connection, before virConnecClose, should I invoke virConnectDomainEventDeregisterAny. If a hypervisor connection close unexpected, call virConnectDomainEventDeregisterAny will return error? Can tell me more detail about event? This libvirt doc not more description. Thanks
2017 Oct 23
0
libvirtd audit log
Hi I according to libvirt.org Audit log guide ,I install auditd in my system(ubuntu 16.04.2), but when I operate guest running in host, I can't not find guest audit log in /var/log/audit/audit.log, audit_level=1. when I change audit_level=2, I restart libvirtd, libvirtd start failed. Thanks
2017 Oct 24
0
domain CPU topology
Hi When I create a domain from xml file, the vcpu number point in <vcpu/>, I not point <cpu><topology> in xml file, when allocate more than 2 vpcus, some(windows) system can't use all vcpu. But I point <cpu><topology sockets='1' cores='num' threads='1'/></cpu>. num is <vcpu>'num'</vcpu>. then whindows can
2018 Jan 20
0
debug kernel
libvirt 3.4.0 centos 7.4 Hi: I want usr libvrit create vm to debug linux kernel. Previous , I usr qemu cmd(-gdb tcp::1234) directly. When I search on Internet, I found I can usr libvrt xml configure kgdb. <qemu:commandline> <qemu:arg value='-gdb'/> <qemu:arg value='tcp::1234'/> </qemu:commandline> But configure xml usr kgdb is
2018 Jan 20
0
debug kernel
libvirt 3.4.0 centos 7.4 Hi: I want usr libvrit create vm to debug linux kernel. Previous , I usr qemu cmd(-gdb tcp::1234) directly. When I search on Internet, I found I can use libvrt xml configure kgdb. <qemu:commandline> <qemu:arg value='-gdb'/> <qemu:arg value='tcp::1234'/> </qemu:commandline> But configure xml use kgdb is
2018 Apr 25
0
qemu crash, qemu_thread_create: Resource temporarily unavailable
Hi My qemu is 2.9.0, libvirt is 3.4.0. I start many guest in short time(128G pyhsical memory ,1G per guest, 90 guest), and then run memtest on guest system.memtest just occupy guest memory,so when run memtest, host will allocate memory for guest. I run memtest on all my guest, and some guest will encounter crash. qemu log has qemu_thread_create: Resource temporarily unavailable record,I ask