search for: domxml

Displaying 20 results from an estimated 143 matches for "domxml".

2005 Dec 14
3
Horde domxml dependency problem
It appears that Horde requires the "domxml" PHP extension, which is apparently not a part of the standard CentOS 4.x PHP 4.x distribution. In fact, "domxml" is no longer available from the sourceforge web site as they prefer the use of the dom libraries in PHP5 instead. http://pecl.php.net/package/domxml Given these facts,...
2010 Jan 18
1
boot order with Xen domxml
Hey Virtualeers, When using domxml to configure a Xen domain, where is the meta spec for boot order? Before domxml, using xen-xm, this was easy: boot = 'dca' ; 1-CD | 2-HD | 3-floppy When I try adding this below with Virsh (vi), it is erased in Xen domains <boot dev='hd'> In KVM domains it is accepted. --...
2020 Sep 04
2
printing the qemu final execution line from an xml
Greetings, I have a qemu line which I want to convert ot libvirt xml but as domxml-from-native is deprecated, I want to try it the other way around. e.g. write an libvirt xml and dump the final qemu line without running it. is there a way to do so? Thanks, Dagg.
2012 Jul 19
1
virsh define function question
Hi, How do I view the libvirt virsh domxml-to-native function implementation? I think this function contains some error. Because we use libvirt to manage some host and vms on vmware hypervisor. We use openenbula generate a template for libvirt ,such as my attachment windows2008.xml. but when i use domxml-to-native to convert xml file to v...
2019 Apr 18
0
Re: [libvirt] Why virsh domxml-to-native qemu-argv changes PCI slot number
...> On Thu, 2019-04-18 at 06:47 +0000, Tal Attaly wrote: > > Hi, > > I have bridge type interface defined with slot 3 - > > <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> > > but after running virsh domxml-to-native qemu-argv I get slot 2- > > -netdev tap,fd=21,id=hostnet0 -device e1000,netdev=hostnet0,id=net0,mac=f2:ff:ff:ff:ff:07,bus=pci.0,addr=0x2 > > Any idea why it's happen and how to keep the slot number? Libvirt version is 4.5.0 > > I can reproduce this, and also confir...
2014 Oct 01
0
-device ide-hd not found error when trying to launch vm using xml file create by virsh domxml-from-native qemu-argv demo.args command
...not found When I create the same qemu command from xml again. It show following addition parameter added by virsh in output qemu command 1) -device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 2) -device virtio-balloon-device,id=balloon0 I seems parameter 1 added by virsh domxml-from-native qemu-argv demo.args causing the problem. How to correct this. Regards Harsh Jain '
2020 Sep 21
2
[libvirt] SRIOV configuration
...gh the "interface" (with type hostdev) because that option requires access to the PF which is not available in our case (the VF is moved to the container namespace where libvirt runs, but not the PF, however libvirt attempts to access the PF and fails). The PCI addresses appearing on the domxml are not the same as the ones mappend/detected in the VM itself. I compared the domxml on the host and the lspci in the VM while the VM runs. This occurs only when SRIOV is defined, messing up also the other "regular" vnics. Somehow, everything comes up and runs (with the SRIOV interface a...
2010 May 17
0
virsh domxml-from-native not working
Dear list, when I try to convert the (working) command /usr/bin/qemu-system-x86_64 \ -drive file=/dev/xen_vol/xen_ca,cache=none,if=virtio,boot=on \ -net nic,model=virtio,macaddr=00:16:3E:04:F5:6D \ -net tap,ifname=tap1 -m 256 -name ca \ -vnc 10.0.0.100:4 -daemonize -k de into an xml file: <domain type='qemu'> <name>ca</name>
2019 Apr 18
2
Re: [libvirt] Why virsh domxml-to-native qemu-argv changes PCI slot number
...-users where it belongs. On Thu, 2019-04-18 at 06:47 +0000, Tal Attaly wrote: > Hi, > I have bridge type interface defined with slot 3 - > <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> > but after running virsh domxml-to-native qemu-argv I get slot 2- > -netdev tap,fd=21,id=hostnet0 -device e1000,netdev=hostnet0,id=net0,mac=f2:ff:ff:ff:ff:07,bus=pci.0,addr=0x2 > Any idea why it's happen and how to keep the slot number? Libvirt version is 4.5.0 I can reproduce this, and also confirm that it shouldn...
2019 Apr 18
1
Re: [libvirt] Why virsh domxml-to-native qemu-argv changes PCI slot number
On Thu, 2019-04-18 at 15:29 +0100, Daniel P. Berrangé wrote: > On Thu, Apr 18, 2019 at 04:23:05PM +0200, Andrea Bolognani wrote: > > qemuDomainAssignAddresses() is supposed to make sure that any address > > configured explicitly by the user (or previously by libvirt) is > > preserved, and it's doing that correctly when it's called from inside > >
2011 Nov 26
6
How to make a P2V domU be recognized by Xend
Hi Guys, I have Debian 6 + Xen 4.1.1 and created a DomU with virt-manager after creation: laptopvm:~# xm list Name ID Mem VCPUs State Time(s) Domain-0 0 1024 1 r----- 729.1 centos-4 512 1 0.0 laptopvm:~# Its config file is
2011 Sep 26
2
how to convert from xen .cfg files to libvirt xml?
I have a .cfg configuration file for a xen virtual machine. I need to convert it in xml format to use with libvirt. So I run virsh domxml-from-native xen-xm backupsrv.cfg but I have an error: error: Unknown failure. How can I investigate about the error?
2013 Oct 17
1
Building XML from working qemu command-line for ARM virtio
Hello, I've got a working QEMU command line that I am trying to get into a libvirt dom xml and using domxml-from-native doesn't seem to know how to handle all of it. It's for ARM using some new virtio syntax: qemu-system-arm -machine virt -cpu cortex-a15 -enable-kvm -m 512 -kernel mach-virt-guest-3.11-zImage -display none -serial stdio -netdev type=user,id=mynet -device virtio-net-device,netdev...
2020 Sep 04
0
Re: printing the qemu final execution line from an xml
On 9/4/20 9:17 AM, daggs wrote: > Greetings, > > I have a qemu line which I want to convert ot libvirt xml but as domxml-from-native is deprecated, I want to try it the other way around. > e.g. write an libvirt xml and dump the final qemu line without running it. > is there a way to do so? > Sure, there is domxml-to-native. It accepts either an existing domain or path to XML file, for instance: virsh dom...
2020 Sep 24
0
Re: [libvirt] SRIOV configuration
On Mon, Sep 21, 2020 at 06:04:36PM +0300, Edward Haas wrote: > The PCI addresses appearing on the domxml are not the same as the ones > mappend/detected in the VM itself. I compared the domxml on the host > and the lspci in the VM while the VM runs. Can you clarify what you are comparing here ? The PCI slot / function in the libvirt XML should match, but the "bus" number in libvirt X...
2014 Mar 06
1
Fail to convert LXC container configuration into a domain XML fragment
Hi, all, I used lxc-tools to create a linux container. I am trying to transfrom LXC container configuration into a domain XML fragment using the following command: *$ virsh -c lxc:/// domxml-from-native lxc /var/lib/lxc/my_conatiner/config* However, I get the error message, error: this function is not supported by the connection driver: virConnectDomainXMLFromNative It seems that *virConnectDomainXMLFromNative *is not supported in libvrit LXC driver. However, I find the command in th...
2017 May 24
3
How to show underlying QEMU command line using virsh
Hello, everybody I use virt to run my VM's and QEMU as a hypervisor. There is a file describing my virtual machine: /etc/libvirt/qemu/centos7.0.xml As you know it contains xml representation of my VM. Is there any way to show underlying qemu command that virsh runs using that file? For example: qemu-system-x86-64 -m 1024 -smp 2 -... If no, is there any way to figure it out during VM run ?
2013 Apr 09
2
fail to convert qemu xml to args with libvirt-1.0.4: An error occurred, but the cause is unknown
Hi, I used to convert qemu XML to args with libvirt-1.0.3. But it failed to convert with libvirt-1.0.4. # virsh domxml-to-native qemu-argv test.xml >test.sh error: An error occurred, but the cause is unknown Comparing the debug file as below: 1) lbvirt-1.0.3 <cut> 2013-04-09 03:23:47.296+0000: 2669: debug : virEventPollInterruptLocked:716 : Interrupting 2013-04-09 03:23:47.296+0000: 2669: debug : virNetC...
2020 Jun 09
2
Re: Permission to disk set wrong when restoring from memory snapshot?
...g. It usually means > that there is another qemu or qemu-img which has the given image open. > > Is there anything which would access the image at that specific time or > slightly around? > I don't think so. The volumes are created and added to the volume chain on the VM metadata domxml(two snapshots created). Then the user restores the latest snapshot and deletes them (while the VM is down) - they are removed. The VM is set with the volume and going up, restoring the memory. The mounting place (in /rhev/data-center) points to the same disk and volume. On the first run I see the n...
2015 May 18
2
Re: xl extra parameters equivalent for libvirt
...ation file; these override whatever is > in the > configfile. > >> >> I am moving to libvirt for vm management. How I can pass those extra >> parameters using libvirt? > > I'm not aware of similar functionality in libvirt. You would need to > customize the domXML before feeding it to 'virsh create'. Qemu domains have that ability, via an XML namespace that adds <qemu:commandline>: http://libvirt.org/drvqemu.html#qemucommand but no one has yet implemented that for Xen domains. If you want to add it, the src/qemu code would be the obvious sta...