Displaying 20 results from an estimated 100000 matches similar to: "attach-device broken?"
2010 May 26
1
Hot-add interface crashes libvirt
Hi Everyone,
After upgrading FC12 and now FC13 whenever I try to attach a network device using attach-device it promptly crashes libvirtd. Is there an option that changed in the network interface xml spec I missed?
I really need this feature or at least the ability to connect and disconnect interfaces if that's possible?
I've tried defining my network card in several ways:
First
2010 Feb 11
1
libvirt attaching wrong usb device?
I'm trying to attach a USB device which is attached to my host to a
guest instance. The device definition in the XML looks like:
<hostdev mode='subsystem' type='usb' managed='yes'>
<source>
<vendor id='0x046d'/>
<product id='0xc111'/>
</source>
</hostdev>
and the device
2011 Aug 26
1
hello, I 've deployed libvirt, and it is OK to use kvm.But when I use virtualbox, I can not attach a device to a domain
hello,I 've deployed libvirt, and it is OK to use kvm.But when I use
virtualbox,I can not attach a device to a domain.
It reports the error that can't get device from device.xml
here is my xml file for device(device.xml):
<disk type='block'>
<driver name='phy'/>
<source dev="/home/lb/iscsitest/vdisk.img"/>
2010 Mar 24
2
Problem attaching device
I keep getting an error when I try to attach a device in the libvirt api through python
The python code is:
conn=libvirt.open('qemu:///system')
dom = conn.lookupByName("fedoratest")
if dom.info()[0]==1:
dom.attachDevice('net.xml')
And I keep getting: "libvirtError: XML description not well formed or invalid
The xml is a simple network
2010 Mar 30
0
Attach-interface vs attach-device
Working with the two commands there's a noticeable difference in the time redhat takes to detect interfaces using attach-interface vs attach-device? About 5-8 seconds using attach interface, and near instant with attach-device.
That little bit aside, I'm trying to find a way to 'unplug' a VM without actually removing the interface.
The easy fix is to attach it without adding
2011 Feb 14
1
Use libvirt-python to attach cdrom
Hi all,
I want to attach cdrom by libvirt.py .But can't find a func in
libvirt.py can finish this work.
Who can help me ?
Regard
--
Seven Ling
E-mail: jiejie.ling at qq.com
2010 Apr 19
1
Attach CDROM to windows
Hi Guys,
Now I am using Xen-4.0.0. I need to attach CDROM from ISO files to vitual
machines when they are running. The VMs contain RHEL4.6, Windows Server 2003
32bit and Windows Server 2006 64bit.
The disk configuration of the VMs is:
disk = [ ''tap:vhd:/guest/SS_test/vhd/hmi-100130.vhd,hda,w''] (1)
When I attach a CDROM to RHEL4.6 VM with the command:
virsh
2010 Apr 19
1
Attach CDROM to windows
Hi Guys,
Now I am using Xen-4.0.0. I need to attach CDROM from ISO files to vitual
machines when they are running. The VMs contain RHEL4.6, Windows Server 2003
32bit and Windows Server 2006 64bit.
The disk configuration of the VMs is:
disk = [ ''tap:vhd:/guest/SS_test/vhd/hmi-100130.vhd,hda,w''] (1)
When I attach a CDROM to RHEL4.6 VM with the command:
virsh
2010 Aug 03
1
performance with libvirt and kvm
Hi,
I am seeing a performance degradation while using libvirt to start my
vm (kvm). vm is fedora 12 and host is also fedora 12, both with
2.6.32.10-90.fc12.i686. Here are the statistics from iperf :
>From VM: [ 3] 0.0-30.0 sec 199 MBytes 55.7 Mbits/sec
>From host : [ 3] 0.0-30.0 sec 331 MBytes 92.6 Mbits/sec
libvirt command as seen from ps output :
/usr/bin/qemu-kvm -S -M
2010 Jun 15
1
SCM_RIGHTS file error when attaching device?
So I just upgraded to 0.8.1-1 and virt-manager 8.4 when i try to attach my network card that's been perfectly fine in the past i now get...
virsh # attach-device gnome /etc/libvirt/qemu/nic.xml
error: Failed to attach device from /etc/libvirt/qemu/nic.xml
error: internal error unable to send TAP file handle: No file descriptor supplied via SCM_RIGHTS
Any thoughts?
2016 Jan 13
0
virsh attach-device : Bus 'pci.0' does not support hotplugging.
Hi ,
Trying to attach a disk to existing VM using virsh attach-device -
XML
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2' cache='none' io='native'/>
<source file='/var/lib/libvirt/images/guest.qcow2'/>
<target dev='vdc' bus='virtio'/>
</disk>
After
2012 Sep 05
1
boot device
Hi,
I am trying to create a guest machine on xen virtualized environment and
install rhel on it by booting from cdrom.
I face a issue in booting device. I gave boot order as hd,cdrom. When doing
maiden installation, it will find nothing in hard disk and boots from cd.
Once installation is completed and when it boots next time it boots from
hard disk. It is the expected behaviour.
But it fails to
2003 Oct 06
0
Samba 3.0 & Windows 2003 server ADS
Hi there
I'm having trouble getting winbindd working properly (I think).
My understanding is that winbindd uses a kerberos 5 session (with 2003
server) to authenticate the machine to ADS, before any users have logged in.
Then it uses that session ticket to authenticate all users of the smb
server.
Is that correct ?
I can run kinit ok, and klist shows me a krb5 ticket (using a Domain
2010 Apr 13
5
Attach Floppy drive to Windows XP domU
Hi All,
I am trying to attach floppy virtual image to Windows domU. Either it
is not attaching or domU is not showing floppy drive?
domU config:
1. disk = [ ''file:/root/xenwin.img,hda,w'',
''file:/opt/Windows-Xp.iso,hdc:cdrom,r'',
''file:/root/win-boot.img,fd:floppy,r'' ]
boot = "cda"
In above format the window domU is booting but
2010 Aug 18
2
1.2.13 QRESYNC crash.
Aug 18 22:07:31 twosheds IMAP(dwmw2): : Panic: file mail-index-transaction.c:
line 637 (mail_index_transaction_lookup): assertion failed:
(seq >= t->first_new_seq && seq <= t->last_new_seq)
* PREAUTH [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT
SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN
NAMESPACE UIDPLUS
2012 Sep 26
1
Create and revert to snapshot fails silently after device update on running domain
Hi list,
I'm having an issue with snapshot creation. Scenario:
qemu 1.1
libvirt 0.9.12
I create a domain, and start it. The domain has 1 IDE cdrom device
defined (see below).
When started, I want to mount an ISO file to it. So I do
updateDeviceFlags in libvirt-python or update-device in virsh (both have
the same problem).
This works fine, the ISO image becomes available to the domain.
2016 Jul 04
0
PCI Passthrough not working
I am having trouble getting PCI Passthrough to work from Dom0 running CentOS 7 to DomU runnning Debian 8
I am using Xen 4.6 with CentOS kernel 3.18.34-20.el7.x86_64 on a Dell Poweredge T430.
I think I have set it all up correctly, but I see no message when putting a USB device into any of the USB slots on the DomU
There are three other DomUs running, but I have no need of PCI Passthrough set up
2016 Feb 03
0
Re: Getting "unknown device type" when attaching NPIV (vHBA) to vm
On 01.02.2016 22:48, Vaknin, Rami wrote:
> Hi,
>
> I'm trying to attach a host FC HBA to VM (NPIV).
>
> Running ovirt 3.5 on CentOS 6.7, libvirt-0.10.2-46.el6_6.6.x86_64, I created vHBA using nodedev-create command - see below HBA and vHBA.
> I wrote a vdsm hook which appends the vHBA xml stanza to the devices xml element but the vm start starts without the vHBA device.
2010 Apr 26
0
Unable to switch ISO with virsh/kvm
I'd created a VM with "virsh create" that has a CD-ROM attached
<disk type='file' device='cdrom'>
<source file='/images/myiso_1.2.iso'/>
<target dev='sdb' bus='scsi'/>
<readonly/>
<alias name='scsi0-0-1'/>
<address type='drive' controller='0'
2013 Dec 05
1
Re: correct way to hot-add cdrom ?
On Thu, Dec 05, 2013 at 01:28:07PM +0200, Alexandr Gluzskiy wrote:
> Alexandr писал 2013-12-02 09:36:
> >Good day to all. i have problems with cdrom hot adding code. currently
> >i using virDomainAttachDevice with type=file, device=cdrom, dev=hdc,
> >this code works for machine with one ide hdd and one ide cdrom, but
> >this not work for machine with only one ide hdd,