Displaying 20 results from an estimated 52 matches for "virdomaincreatexml".
2010 Nov 30
1
Create VMWare ESXi domain via virsh error(error: this function is not supported by the connection driver: virDomainCreateXML)
...ng hypervisor: ESX 4.1.0
*question 1 : *
When I try to create a vmware esxi domain from virsh like this :
create --file /work/dom1.x
there is a error message :
error: Failed to create domain from /work/dom1.xml
error: this function is not supported by the connection driver:
virDomainCreateXML
it seems dosen't support create esxi domain, but the
http://libvirt.org/hvsupport.html show that is supported after ? 0.7.0
or create via virt-install
linux-vaan:~ # virt-install --connect=esx://
root at 192.168.8.162/?no_verify=1 -n rhel5 -r 512 --vcpus=1 --nodisks
bridge=vmk0 --n...
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 answ...
2018 Jan 24
0
Re: Create virtual machine failed using virDomainCreateXML
On 01/23/2018 09:45 AM, netsurfed wrote:
> 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...
2018 Jan 25
1
Re: Create virtual machine failed using virDomainCreateXML
...I used the same XML to create about 100 virtual machines on a hypervisor.
At 2018-01-24 20:48:43, "Michal Privoznik" <mprivozn@redhat.com> wrote:
>On 01/23/2018 09:45 AM, netsurfed wrote:
>> 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: RTNET...
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 answ...
2016 Oct 13
3
Libvirt adds extra parameters in domain XML
Hello,
In my C++ code, I generate my own domain XML file and I
use virDomainCreateXML or virDomainDefineXML to launch my qemu VM. However,
when I get to check which commands are sent to the qemu commandline, I find
that libvirt has added so many extra parameters to the ones I have already
set. How can I prevent libvirt from adding any extra parameters to the ones
I originally define...
2016 Aug 29
2
Re: guestfs_launch gets stuck
...> #4 0x00007fac56df6052 in virNetClientProgramCall () from
> > /lib64/libvirt.so.0
> > #5 0x00007fac56dcbfe2 in callFull.isra.2 () from /lib64/libvirt.so.0
> > #6 0x00007fac56de213d in remoteDomainCreateXML () from
> /lib64/libvirt.so.0
> > #7 0x00007fac56d82151 in virDomainCreateXML () from /lib64/libvirt.so.0
> > #8 0x00007fac58acca50 in launch_libvirt () from /lib64/libguestfs.so.0
> > #9 0x00007fac58ac2b2b in guestfs_impl_launch () from
> /lib64/libguestfs.so.0
> > #10 0x00007fac58a5eba5 in guestfs_launch () from /lib64/libguestfs.so.0
> > #11 0...
2019 May 05
3
CentOS 7 Xen 4.12 libvirt/virt-manager wrong path for qemu-system-i386
...oot, transient)
File "/usr/share/virt-manager/virtinst/guest.py", line 434, in _create_guest
domain = self.conn.createXML(install_xml or final_xml, 0)
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3725, in createXML
if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self)
libvirtError: unsupported configuration: emulator '/usr/lib/xen/bin/qemu-system-i386' not found
Quick'n'dirty fix is to create a symlink:
ln -s /usr/lib64/xen/bin/qemu-system-i386 /usr/lib/xen/bin/qemu-system-i386
.. after creating that symlink the VM...
2016 Aug 29
2
Re: guestfs_launch gets stuck
...etClientSendWithReply () from
/lib64/libvirt.so.0
#4 0x00007fac56df6052 in virNetClientProgramCall () from
/lib64/libvirt.so.0
#5 0x00007fac56dcbfe2 in callFull.isra.2 () from /lib64/libvirt.so.0
#6 0x00007fac56de213d in remoteDomainCreateXML () from /lib64/libvirt.so.0
#7 0x00007fac56d82151 in virDomainCreateXML () from /lib64/libvirt.so.0
#8 0x00007fac58acca50 in launch_libvirt () from /lib64/libguestfs.so.0
#9 0x00007fac58ac2b2b in guestfs_impl_launch () from /lib64/libguestfs.so.0
#10 0x00007fac58a5eba5 in guestfs_launch () from /lib64/libguestfs.so.0
#11 0x00000000004117ca in main ()
Log:
2016-Aug-...
2018 Aug 22
2
libvirt and virt-manager - Unable to complete install: 'internal error: unsupported input bus usb'
...oboot, transient)
File "/usr/share/virt-manager/virtinst/guest.py", line 397, in
_create_guest
domain = self.conn.createXML(install_xml or final_xml, 0)
File "/usr/lib/python3.7/site-packages/libvirt.py", line 3717, in
createXML
if ret is None:raise libvirtError('virDomainCreateXML() failed',
conn=self)
libvirt.libvirtError: internal error: unsupported input bus usb
NOTE I: The deploy process follows the instructions here
https://www.youtube.com/watch?v=BwkmDM-Gpzc and here
https://wiki.centos.org/HowTos/Xen/Xen4QuickStart .
NOTE II: Xen Hypervisor uses a CentOS 7 as &qu...
2016 Aug 29
0
Re: guestfs_launch gets stuck
...> /lib64/libvirt.so.0
> #4 0x00007fac56df6052 in virNetClientProgramCall () from
> /lib64/libvirt.so.0
> #5 0x00007fac56dcbfe2 in callFull.isra.2 () from /lib64/libvirt.so.0
> #6 0x00007fac56de213d in remoteDomainCreateXML () from /lib64/libvirt.so.0
> #7 0x00007fac56d82151 in virDomainCreateXML () from /lib64/libvirt.so.0
> #8 0x00007fac58acca50 in launch_libvirt () from /lib64/libguestfs.so.0
> #9 0x00007fac58ac2b2b in guestfs_impl_launch () from /lib64/libguestfs.so.0
> #10 0x00007fac58a5eba5 in guestfs_launch () from /lib64/libguestfs.so.0
> #11 0x00000000004117ca in main...
2017 Jul 25
1
transient configure turn to persistent configure
libvirt
version: 3.4.0
architecture: x86_64 ubuntu16.04-server
hypervisor: kvm,qemu
I call virDomainCreate create a transient vm, After a period of time ,I call virDomainDestroy, the vm configure is stil exist, the vm turn to persistent, I don't known the reason.
Thanks
2012 Jun 12
1
How to list and change domain's disk image file
...better of searching the XML strings of all domains, does anyone
can suggest me something ?
I also need to create a function to change the img file of a given
domain. I intend to do the following:
1. virDomainGetXMLDesc (domain)
2. change the XML to other img file
3. virDomainUndefine (domain)
4. virDomainCreateXML (changed XML)
Am i correct doing this ? There is a better method ?
Thanks
Ricardo
2015 Jul 14
2
So why does "destroy" not actually destroy?
I thought it odd that if I have a running VM and I do "virsh destroy" it results in a VM that is "shut off". To ACTUALLY destroy a VM, you have to follow that with "undefine". Could someone elaborate on how we ended up with these slightly confusing semantics?
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' bus='usb'/> to xml
configuration.
So now I have a running domain...
2016 Sep 05
0
Re: guestfs_launch gets stuck
...6df6052 in virNetClientProgramCall () from
>> > /lib64/libvirt.so.0
>> > #5 0x00007fac56dcbfe2 in callFull.isra.2 () from /lib64/libvirt.so.0
>> > #6 0x00007fac56de213d in remoteDomainCreateXML () from
>> /lib64/libvirt.so.0
>> > #7 0x00007fac56d82151 in virDomainCreateXML () from /lib64/libvirt.so.0
>> > #8 0x00007fac58acca50 in launch_libvirt () from /lib64/libguestfs.so.0
>> > #9 0x00007fac58ac2b2b in guestfs_impl_launch () from
>> /lib64/libguestfs.so.0
>> > #10 0x00007fac58a5eba5 in guestfs_launch () from /lib64/libguestfs.so.0...
2016 Oct 17
2
Re: Libvirt adds extra parameters in domain XML
...>On Thu, Oct 13, 2016 at 1:13 PM, Martin Kletzander <mkletzan@redhat.com>
>wrote:
>
>> On Thu, Oct 13, 2016 at 11:49:44AM +0200, Marina Danial wrote:
>>
>>> Hello,
>>>
>>> In my C++ code, I generate my own domain XML file and I
>>> use virDomainCreateXML or virDomainDefineXML to launch my qemu VM.
>>> However,
>>> when I get to check which commands are sent to the qemu commandline, I
>>> find
>>> that libvirt has added so many extra parameters to the ones I have already
>>> set. How can I prevent libvirt...
2018 Aug 22
1
Re: libvirt and virt-manager - Unable to complete install: 'internal error: unsupported input bus usb'
...r/virtinst/guest.py", line 397, in
> > _create_guest
> > domain = self.conn.createXML(install_xml or final_xml, 0)
> > File "/usr/lib/python3.7/site-packages/libvirt.py", line 3717, in
> > createXML
> > if ret is None:raise libvirtError('virDomainCreateXML() failed',
> > conn=self)
> > libvirt.libvirtError: internal error: unsupported input bus usb
> >
> > NOTE I: The deploy process follows the instructions here
> > https://www.youtube.com/watch?v=BwkmDM-Gpzc and here
> > https://wiki.centos.org/HowTos/Xen/Xen4...
2017 Oct 03
2
Re: error: internal error: missing backend for pool type 11 (zfs)
@Michal: Thanks for your reply!
Indeed I have found a package in the AUR (libvirt-zfs) and only had to
change to the current version and add zfs-utils as dependency in the
PKGBUILD. Now I don't get the previous error anymore but I still cannot
setup a VM because I constantly get errors due to wrong permissions.
I have tried to change the permissions in:
- /etc/libvirt/qemu.conf
-
2010 Jan 20
4
OSOL Bug 13743
Anyone knows if this is something that will be looked at before b134 is released?
Bug 13743 - virsh and xm is unable to start domain first time after boot
http://defect.opensolaris.org/bz/show_bug.cgi?id=13743
Regards
Henrik
http://sparcv9.blogspot.com