similar to: Why does libvirt insert USB controller automagically?

Displaying 20 results from an estimated 700 matches similar to: "Why does libvirt insert USB controller automagically?"

2015 Dec 01
0
Re: Why does libvirt insert USB controller automagically?
On 11/30/2015 07:30 PM, Sundar Nadathur wrote: > Hello all, > > I find this curious behavior that libvirt will automatically insert a USB > controller and a memballoon virtio driver into the domain?s XML, when > defineXML is called. IOW, the original XML did not have these 2 devices but > they are present right after defineXML is called. Why should libvirt add a USB >
2012 May 09
3
creating a domain
hi, i am a bit confused on how to start an inactive domain using the python bindings, any help would be appreciated. (inactive as in the domain was created with?virConnect.defineXML sometime in the past) looks like i have to use virDomain.create, however virDomain.create needs a defined domain xmldesc as a parameter and i am not sure on how to get that i guess if?virConnect.create was
2016 Jan 08
2
remove cdrom after installing os on a guest
Hi all, I have the following issue, and I hope someone know a way to handle it. I need to grammatically need to create/install a guest OS using the libvirt API. Currently what I do: 1. create a xml with the vm configuration (this will include a path to the iso image) 2. connection.defineXML(<my_config>) 3. vm = connection.lookupByName(<domain_name>) 4. vm.create() This will
2016 Jan 29
2
generate interface MAC addresses in a particular order
Hi all, I am using libvirt to manage VM on my system; after creating a VM (default no NICs are present in the configuration) you can add any number of interfaces to it (as long as they exist on the host). To do that, I edit the configuration xlm: vmXml = self.domain.XMLDesc() root = ET.fromstring(vmXml) devices = root.find('./devices') intf =
2015 Dec 17
2
migrate a guest from VMware to KVM
I am trying to migrate a VMware guest to KVM. I have the .vmdk file which I convert to qcow2 format using qemu-img convert. The next step is to import the new img file. If I use virt-install --import <guest config options> it all works fine. But when I try the same think using the libvirt API I get the "no boot disk found" message when starting the vm. When importing the VM
2012 May 09
2
serial console
hi, when creating a domain using libvirt python api, how would i tell libvirt to use a unique serial port number for domains? in the?libvirt.virConnect.defineXML(conn,domainxml) call when i create the domainxml object, i need to ensure that the part below has a unique # for target port <serial type='pty'> ? <target port='0'/> </serial> <console
2012 Oct 30
2
libvirt python api error
I use the code below: import libvirt auth = [[libvirt.VIR_CRED_AUTHNAME,libvirt.VIR_CRED_NOECHOPROMPT],'root',None] conn = libvirt.openAuth("qemu:///system",auth,0) with open("/root/cflinux.xml") as f: xml=f.read() domain = conn.defineXML(xml) domain.createWithFlags(0) and report the error: libvir: Security Labeling error : internal error cannot load AppArmor
2016 Feb 01
1
Re: generate interface MAC addresses in a particular order
On Sun, Jan 31, 2016 at 8:56 AM, Michal Privoznik <mprivozn@redhat.com> wrote: > On 29.01.2016 11:24, Andrei Perietanu wrote: > > Hi all, > > > > I am using libvirt to manage VM on my system; after creating a VM > (default > > no NICs are present in the configuration) you can add any number of > > interfaces to it (as long as they exist on the host).
2012 Aug 28
1
Why a max mem setting?
Hi I have just started to investigate the possibilities of resizing memory for my kvm virtual machines on the fly. It works just fine with virsh setmem and that's great. Now, what I'm wondering about is the <memory> directive in the xml domain definition. Why would I not just set that to the size of available RAM in the host machine? Am I missing some nuance or finesse to the
2015 Dec 11
2
libvirt domain configuration xml
I am trying to change a domain configuration from a python script. More specific, I want to edit the VNC settings. You can't do this using the libvirt API so you have to edit the domain configuration: Fo exmple, to disable VNC for a domain 'test1': vmXml = vm.XMLDesc(0) root = ET.fromstring(vmXml) devices = root.find('./devices') graphics = devices.find('graphics')
2018 Mar 02
2
Re: [PATCH v3 1/6] v2v: rhv: Fix virtio-rng and memballoon OVF fragment for RHV.
On Thursday, 1 March 2018 17:24:17 CET Richard W.M. Jones wrote: > Without this extra element, oVirt will crash with a Java > NullPointerException (see https://bugzilla.redhat.com/1550123). > > Fixes commit dac5fc53acdd1e51be2957c67e1e063e2132e680. > --- > v2v/create_ovf.ml | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/v2v/create_ovf.ml
2015 Feb 23
2
Broken OS when booting rootfs from 9p share
Hello, I've been trying to boot a VM with the rootfs being a 9P share from the host. The VM OS is centos 7. The OS boots but no services can work and it appears that the authentication system is broken. Now the funny thing is that booting the same OS on the same 9P share manually with Qemu works as expected with a fully functionnal OS... So I'm wondering what could libvirt do that render
2017 Oct 20
3
Re: terminating on signal 15 from pid 2146 (/usr/sbin/libvirtd)
2017-10-20 14:59 GMT+03:00 Martin Kletzander <mkletzan@redhat.com>: > On Thu, Oct 19, 2017 at 09:11:00PM +0300, Matwey V. Kornilov wrote: >> >> Hello, >> >> I use libvirt 3.3.0 and qemu 2.9.0 >> >> My domain XML spec is the following: >> >> <domain type='qemu'> >> <name>s390_generic</name> >>
2013 Oct 09
3
Re: failing connections w/ virt-manager
Am 08.10.2013 14:46, schrieb Stefan G. Weichinger: >> Try enabling the flag, re-emerging the package, setting the logs and >> then reproduce it again. Check the logs and you should see why it's >> disconnecting. The docs say that libvirtd has to listen on the TCP port ... checked that: # netstat -alnp | grep libv tcp 0 0 0.0.0.0:16509 0.0.0.0:*
2017 Oct 19
2
terminating on signal 15 from pid 2146 (/usr/sbin/libvirtd)
Hello, I use libvirt 3.3.0 and qemu 2.9.0 My domain XML spec is the following: <domain type='qemu'> <name>s390_generic</name> <uuid>82b4d16e-b636-447e-9fda-41d44616bce8</uuid> <memory unit='KiB'>1048576</memory> <currentMemory unit='KiB'>1048576</currentMemory> <vcpu
2017 Apr 06
2
[PATCH] v2v: ovf: Add virtio-rng and memory balloon device
This affects -o rhv and -o vdsm. Signed-off-by: Tomáš Golembiovský <tgolembi@redhat.com> --- v2v/create_ovf.ml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/v2v/create_ovf.ml b/v2v/create_ovf.ml index cfca63452..03df7f934 100644 --- a/v2v/create_ovf.ml +++ b/v2v/create_ovf.ml @@ -390,6 +390,29 @@ let rec create_ovf source targets guestcaps inspect ]
2015 Jul 11
3
Re: Migrate Win2k3 to KVM
Hi, Here is the XML file of the my VM: <!-- WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE OVERWRITTEN AND LOST. Changes to this xml configuration should be made using: virsh edit SJ-SIMISPC or other application using the libvirt API. --> <domain type='kvm'> <name>SJ-SIMISPC</name>
2017 Apr 05
1
Re: [PATCH 5/6] v2v: -o libvirt: Add virtio-rng, balloon and pvpanic to output XML (RHBZ#1438794).
On Wed, Apr 05, 2017 at 02:43:11PM +0100, Richard W.M. Jones wrote: > When outputting libvirt XML, create virtio-rng, a memory balloon > device, and a pvpanic device, if the guest supports it. > --- > v2v/create_libvirt_xml.ml | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) > > diff --git a/v2v/create_libvirt_xml.ml b/v2v/create_libvirt_xml.ml > index
2013 Mar 17
1
Unable to connect to console to recently cloned VM's
Hi all. I was using libvirt under Debian squeeze (I guess it was 0.8.3-5+squeeze4 or something similar). I was able to clone machines with below command: sudo virt-clone --connect=qemu:///system -o template -n template_clone -f /var/lib/libvirt/images/template_clone.qcow2 After that I was able to start the VM and connect to the console: sudo virsh console template_clone I recently Installed
2018 May 05
1
Re: changing pci addr of SCSI storage controller: Red Hat, Inc Virtio block device (rev 01)
Greetings Jano, > Sent: Thursday, May 03, 2018 at 1:44 PM > From: "Ján Tomko" <jtomko@redhat.com> > To: daggs <daggs@gmx.com> > Cc: libvirt-users@redhat.com > Subject: Re: [libvirt-users] changing pci addr of SCSI storage controller: Red Hat, Inc Virtio block device (rev 01) > > On Wed, May 02, 2018 at 07:29:23PM +0200, daggs wrote: > >Greetings,