search for: dumpxml

Displaying 20 results from an estimated 555 matches for "dumpxml".

2014 Jun 19
2
dumpxml removes <source> portion from network descritiption
Hello. I have a strange error with one of my VMs. If i use dumpxml to save a VM description the source part of the network part is missing. This prevents redifining the machine from the dumped xml file: This is how it looks before dumpxml: <interface type='bridge'> <mac address='52:54:00:34:a1:56'/> <source bridge...
2019 Jun 19
2
libvirtd does not update VM .xml configuration on filesystem after virsh blockcommit
Hi, Recently We've upgraded some KVM hosts from Fedora 29 to Fedora 30 and now experience broken VM configurations on filesystem after virsh blockcommit. Commands "virsh dumpxml ..." and "virsh dumpxml --inactive ..." is showing diffrent configuration than the one on filesystem. In case of restart libvirtd or system reboot, there are broken VM xml configurations on filesystem. Everything is OK on Fedora 29 KVM hosts! 0. XML configurations before snapshot...
2014 Oct 29
1
Can't specify filename.xml when using virsh dumpxml
Hi all, Do you have any idea about this error? virsh # dumpxml csg01win7test > domain.xml error: unexpected data '>' Regards, Allen 2014-10-28 Allen Qiu
2014 Jun 19
0
Re: dumpxml removes <source> portion from network descritiption
On 06/19/2014 02:47 PM, Thomas Stein wrote: > Hello. > > I have a strange error with one of my VMs. If i use dumpxml to save a VM > description the source part of the network part is missing. This prevents > redifining the machine from the dumped xml file: > > This is how it looks before dumpxml: > > <interface type='bridge'> > <mac address='52:54:00:34:a1:56&...
2019 Jun 19
0
libvirtd does not update VM .xml configurations on filesystem after virsh snapshot/blockcommit
Hi, Recently We've upgraded some KVM hosts from Fedora 29 to Fedora 30 and now experience broken VM configurations on filesystem after virsh blockcommit. Commands "virsh dumpxml ..." and "virsh dumpxml --inactive ..." is showing diffrent configuration than the one on filesystem. In case of restart libvirtd or system reboot, there are broken VM xml configurations on filesystem. Everything is OK on Fedora 29 KVM hosts! 0. XML configurations before snapshot...
2012 Sep 11
1
dumpxml and edit the vm xml are not match.
I use vnc with password for the vm graphics, it works well. When I want to dump the xml of the vm, I found that the dumped xml does not contains the password properties in the graphics node. But when I use virsh edit to check the xml of the vm, I found the password is displayed. It's it a bug or it's just what libvirt designed to perform. -- Focus on: Server Vitualization, Network
2014 Oct 22
1
Changing 'source file' on running VM.
...below: =============================================================== root &gt;#virsh snapshot-create-as --domain $DOMAIN $SNAP $DESC --disk-only --diskspec vda,snapshot=external,file=/var/lib/libvirt/images/${SNAPFILE} --atomic Domain snapshot ballyclient-1.snap1 created root &gt;#virsh dumpxml $DOMAIN | grep 'source file' root &gt;#virsh snapshot-delete --metadata $DOMAIN $SNAP Domain snapshot ballyclient-1.snap1 deleted root &gt;#find /var/lib/libvirt/images/ -type f -name $SNAPFILE -delete root &gt;#virsh dumpxml $DOMAIN |grep 'source file' root &gt;#...
2014 Aug 06
2
Re: username and passwd after create VM from XML dump
...g/virt-sysprep.1.html gives an > overview of the sort of things you can do when prepping a cloned system > via libguestfs, such as setting up a known account with a known password. > > > > but I've no idea where the username and passwd be stored, create it > > with dumpXML of a VM, I've tried that original VM's username and passwd > via > > ssh, but it didn't work. > > Again, libvirt could care less what passwords your guest OS uses, as > passwords are not hardware, so dumpxml is unable to show you that > information(well, you COULD u...
2014 Oct 04
2
Assigning IPv6 address to guest
Hello, I am trying to assign an IPv6 address to one of my guests. I followed the following guide, unsuccessfully: https://www.berrange.com/posts/2011/06/16/providing-ipv6-connectivity-to-virtual-guests-with-libvirt-and-kvm/ . I have the following config files: dumpxml of the guest `deb`: http://sprunge.us/iUef net-dumpxml of network `default`: http://sprunge.us/WTfH net-dumpxml of network `ip6`: http://sprunge.us/YEXc Host: ifconfig: http://sprunge.us/cJOg Routing table: IPv6: http://sprunge.us/GChZ IPv4: http://sprunge.us/dACN /etc/network/interfaces: http://s...
2018 May 05
1
Re: changing pci addr of SCSI storage controller: Red Hat, Inc Virtio block device (rev 01)
...d not be adding virtio-scsi devices to the VM without > putting them in the XML as well. If you did not have it in the XML when > you defined the domain and it got auto-added because there was a SCSI > disk with no controller, the controller should still show up in the > output of virsh dumpxml / virsh edit: > <controller type='scsi' index='0' model='virtio-scsi'> > <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> > </controller> > > Jano > > &g...
2019 Jul 30
1
Libvirt Virtualization Problem
Dear Sir/Madam: I use virt-manager to create a new virtual machine(it's name is generic), then I edit generic to set it's cpu_mode as 'host-model', and I start it, but when dumpxml generic, it's cpu_mode is changed as 'custom'. I want to know that why it is? And what's the principle of dumpxml? Thanks! A user of libvirt
2009 Oct 10
2
virsh dumpxml didn''t reflect viridian=1
Just the output of one of the viridian enabled windows hvm machines: Florian virsh dumpxml titan <domain type=''xen'' id=''40''> <name>titan</name> <uuid>cedb6201-82d6-3c96-4da3-e0bfad6a7501</uuid> <memory>2097152</memory> <currentMemory>2097152</currentMemory> <vcpu>2</vcpu> &lt...
2009 Oct 10
2
virsh dumpxml didn''t reflect viridian=1
Just the output of one of the viridian enabled windows hvm machines: Florian virsh dumpxml titan <domain type=''xen'' id=''40''> <name>titan</name> <uuid>cedb6201-82d6-3c96-4da3-e0bfad6a7501</uuid> <memory>2097152</memory> <currentMemory>2097152</currentMemory> <vcpu>2</vcpu> &lt...
2015 Mar 23
1
Re: virsh dom state
...:02, Fiorenza Meini wrote: >> Hi there, >> I'm running KVM under Openstack . >> >> When I give virsh list command, I see some VM in NON persistent state. >> What does it mean? How can I move it to a persisten state ? > You can do that by running: > > virsh dumpxml $dom > dom.xml && virsh define dom.xml You want `virsh dumpxml --security-info $dom`, not just `virsh dumpxml`. There is a *critical* difference in that the former will preserve any passwords you have set (like say, VNC) whereas the latter will not. This is sadly not very obvious.
2013 Aug 27
3
SR-IOV Pool Availability
If I'm using the SR-IOV Pool assignment method (from http://wiki.libvirt.org/page/Networking#Assignment_from_a_pool_of_SRIOV_VFs_in_a_libvirt_.3Cnetwork.3E_definition ), how would I check how many virtual functions are already in use? Is there a method other then looping through all the active guests and determining if they're using the SR-IOV interface?
2015 Nov 09
2
availability of target type state within a dumpxml result
Hi, I'm trying to find out what is the minimum release I need to use to have this field 'state' available ? <channel type='unix'> <source mode='bind' path='//var/lib/libvirt/qemu/dummy_agent'/> <target type='virtio' name=dummy' state='connected'/> <alias name='channel0'/> <address
2018 Jun 05
4
[PATCH 0/3] v2v: Various refactorings.
Use -ip instead of --password-file, and various refactorings. It strikes me that we should probably deprecate and eventually remove virt-v2v-copy-to-local. With the introduction of the new SSH and VDDK transports, and with RHEL 5 Xen becoming more irrelevant, it's no longer needed. Rich.
2015 Nov 09
0
Re: availability of target type state within a dumpxml result
On Mon, Nov 09, 2015 at 10:28:54AM +0000, Jean-Pierre Ribeauville wrote: >Hi, > >I'm trying to find out what is the minimum release I need to use to have this field 'state' available ? > libvirt added that support in 1.2.11, but you also need a version of QEMU that can signal an event on change, otherwise libvirt has nothing to report ><channel
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> <uuid>4b5e128d-9ad0-4ccc-9424-dee60b71861a</uuid> <forward mode='nat'> <nat> <port start='1024' end=...
2017 Sep 08
2
[PATCH] RFC: v2v: add and use libvirt connection objects
...ocal.ml index 0a2b7ed75..828b5b490 100644 --- a/v2v/copy_to_local.ml +++ b/v2v/copy_to_local.ml @@ -131,7 +131,8 @@ read the man page virt-v2v-copy-to-local(1). (* Get the remote libvirt XML. *) message (f_"Fetching the remote libvirt XML metadata ..."); - let xml = Libvirt_utils.dumpxml ?password ~conn:input_conn guest_name in + let conn = Libvirt_utils.connect_rw ?password ~conn:input_conn () in + let xml = Libvirt_utils.dumpxml conn guest_name in debug "libvirt XML from remote server:\n%s" xml; diff --git a/v2v/input_libvirt.ml b/v2v/input_libvirt.ml index e81...