similar to: virDomainSaveImageDefineXML

Displaying 20 results from an estimated 20000 matches similar to: "virDomainSaveImageDefineXML"

2020 Apr 24
2
domain: how long is new xml in saved file
Hi administrator, I am a cloud compute developer. I need some help from you about libvirt. I have a work to modify a image file which is saved by virDomainSave() or virDomainSaveFlags(). So virDomainSaveImageGetXMLDesc() and virDomainSaveImageDefineXML() are APIs I choosed to do. Because I found a sentence: A save file can be inspected or modified slightly with
2014 Apr 16
1
Snapshots
Hello, I would like to ask what I am doing  wrong and what is the best approach to resolve this situation: First of all I start virtual machine by virDomainCreateXML. In my application I use libvncclient library that sends mouse events to this running domain. I had some troubles with coordinates of mouse cursor but all problem was solved when I added <input type='tablet'
2010 Feb 03
1
[libvirt] [LXC] Tyring to locate livbvirt operations for LXC relocation
Hello, I am searching for the libvirt operations for relocating LXC (system or application) containers. LXC relocation mechanism is done by checkpoint / restart. I went over libvirt API documentation and found the following methods: virDomainSave that receives a domain and path to state file. The method saves domain's memory contents into a disk file. virDomainRestore that receives a domain
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 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 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
2020 Apr 24
2
Re: domain: how long is new xml in saved file
On Fri, Apr 24, 2020 at 02:33:13PM +0200, Michal Privoznik wrote: > On 4/24/20 6:38 AM, Vincent Wu wrote: > > > > The save format is fragile. At the beginning there is a header which > describes the file, then there is libvirt section (which contains the domain > XML and a cookie) and then there is QEMU section (where QEMU saved the guest > memory). Because of this, we
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
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.
2014 Sep 29
2
Re: time setting after suspend/resume
On 09/29/2014 02:28 AM, Martin Kletzander wrote: > On Fri, Sep 26, 2014 at 08:16:25AM +0800, Bill Kenworthy wrote: >> Hi, >> I am using libvirt with qemu/kvm with qemu-guest-agent and >> suspend/save/resume linux and windows vm's. Time in Windows gets >> handled fine with ntp but I can get neither ntp or chrony to sync after >> resume without manually
2011 Sep 22
1
Hot cloning & P2V
Hi all, I guess my question is stupid and has been asked a thousand times but i was wondering if it's possible to do the following things: - Cloning of a running virtual machine (hot copy) - Migrate a physical server to a virtual one. I googled a bit and am not able to find the answers. Thanks. Regards, Sam -------------- next part -------------- An HTML attachment was scrubbed... URL:
2016 Jun 12
2
[RFC] LLVM Coroutines
Hi Eli: >> Block1: >> %0 = call i8 coro.suspend() >> switch i8 %0, label suspend1 [i8 0 %return] ; or icmp + br i1 >> Suspend1: >> switch i8 %0, label %resume1 [i8 1 %destroy1] ; or icmp + br i1 >> >> This doesn't look right: intuitively the suspend happens after the return >> block runs. Perhaps, but, that is not the intended
2014 Dec 10
1
How to use blockcopy in libvirt-java
Hi, ALL, I just look for the class and method to use blockcopy in libvirt-java on this page: http://libvirt.org/sources/java/javadoc/ However, I can not find out. Libvirt-java Support blockcopy ? Thanks. Best Regards, Star Guo
2007 May 16
5
[RFC] pv-scsi driver (scsiback/scsifront)
Hi all. We developped a pv-scsi driver that we refered Fujita-san''s scsi-driver and blkback. (see, http://www.xensource.com/files/xensummit_4/Xen_Summit_8_Matsumoto.pdf) The pv-scsi driver''s feature is as follow: * Guest has dedicated SCSI-HBAs of Dom0. * Guest can send scsi_cdb to the HBAs. * Guest recognises the HBAs from hostno of xenstore. Currentlly, We are
2020 Apr 24
0
Re: domain: how long is new xml in saved file
On 4/24/20 6:38 AM, Vincent Wu wrote: > The save format is fragile. At the beginning there is a header which describes the file, then there is libvirt section (which contains the domain XML and a cookie) and then there is QEMU section (where QEMU saved the guest memory). Because of this, we have to have the check you are hitting in place so that we don't accidentally overwrite the
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
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
2014 Nov 24
2
Re: Libvirt Live Migration
Thanks for your answer, 1) In this case i'm not using shared storage, the migration is happening between two non-shared storage with full disk copy 2) I already created the file with same size, and the vm works properly after a restart, my problem that it remains paused and I can't resume it until it's rebooted. 3) I'm using qemu-kvm 1.0 On 24 November 2014 at 10:22, Michal
2014 Oct 02
1
Re: time setting after suspend/resume
On 10/02/2014 04:01 AM, Martin Kletzander wrote: >>> What version of libvirt are you using? Since 1.2.5 there's >>> virDomainSetTime() API that can do this and since 1.2.8 it's called >>> automatically after resume. >> >> Umm, I have a problem with that statement. Anything that requires guest >> interaction (which guest-agent set-time does)