similar to: Attaching usb devices

Displaying 20 results from an estimated 3000 matches similar to: "Attaching usb devices"

2010 Oct 01
0
Can't plug usb device
Hi I'm trying to hotplug an usb device into kvm but the device is not attached this is the definition: cat kingston.xml <hostdev mode='subsystem' type='usb' managed='yes'> <source> <vendor id='0x1131' /> <product id='0x1001' /> </source> </hostdev> the attach and detach
2012 Apr 17
0
USB Passthrough with two identical devices
Hello, I'd like to pass throug two identical devices to my VM. (using libvirt, guest is debian). For one device, it works like this: <hostdev mode='subsystem' type='usb'> <source> <vendor id='0x4fa'/> <product id='0x2490'/>
2012 Apr 19
0
USB Passthrough of two identical devices
Hello, I re-post my question from some days ago, as I got no reply.. Please let me know, if my question is unclear, or if I can do anything to make answering it easier. I appreciate your help. Greetings, Hendrik Hello, I'd like to pass throug two identical devices to my VM. (using libvirt, guest is debian). For one device, it works like this: <hostdev
2012 Jun 12
1
Reconnection problem with a USB device
This is going to be a bit off the wall as I doubt many people are using a VM in quite the same manner as I am in this case. I have a new scanner at home, a Mustek A3USB 1200 Pro, which requires a vendor supplied version of libsane to run. That is a pain in the behind just to start with. To use that scanner requires a 32b machine with sufficiently old versions of various libraries. My primary
2013 May 21
1
USB passthrough not working
I just updated an Ubuntu Oneiric to Raring and the VM that works fine on one fails to start a VM with this passthrough: <hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x055f'/> <product id='0x040b'/> <address bus='3' device='8'/> </source>
2020 Apr 17
1
Re: Attaching DVD-writer
2020-04-17 11:37 skrev Peter Krempa: > [please don't top post] > > On Fri, Apr 17, 2020 at 10:54:24 +0200, Andreas Thörn wrote: >> I’ve tried that post .. but either I get a new scsi passthrough >> controller in device manager, but no dvd or the boot in windows hangs > > Note that you don't have to add a scsi <controller> if you already have > one.
2016 Feb 08
2
Re: Getting "unknown device type" when attaching NPIV (vHBA) to vm
Thank you for your reply, I'm still getting hard time to attach the hostdev, I couldn't make it work out of the doc. I took the address details from: # ll /sys/bus/scsi/devices/7:* lrwxrwxrwx 1 root root 0 Feb 8 12:58 /sys/bus/scsi/devices/7:0:0:0 -> ../../../devices/pci0000:00/0000:00:03.0/0000:08:00.1/host7/rport-7:0-0/target7:0:0/7:0:0:0 lrwxrwxrwx 1 root root 0 Feb 8 12:58
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
2018 Jan 05
1
Re: Cannot Write xvga=yes in xml file
Yes, I can use guest with this way, But when i hot-add my graphics card , Guest will reboot. So i want to try it with <hostdev>. Somehow , If i use "hostdev" without xvga , my screen will be black. If we have no hostdev, do you have other methods can help me to use hot-plug my graphics card? At 2018-01-04 23:27:52, "Laine Stump" <laine@redhat.com> wrote:
2014 Apr 14
2
Re: LXC + USB passthrough = Operation not permitted
I'd also like to point out that, when setting up a linux container with _just_ the lxc tools available in ubuntu, all that was needed to be done was whitelist the appropriate cgroups for the Android devices. The lxc tools seem to create the appropriate character devices when you detach/attach the Android device via USB, and the Android `adb` tool recognized the devices. So, a tangential
2020 Feb 06
1
Re: PCI/GPU Passthrough with xen
I know these are mostly gamers but they have a lot of experience doing PCI pass though: https://discord.gg/du9ecG I have found them extremely helpful in the past doing libvirt PCI passthough. *Paul O'Rorke* On 2020-02-05 10:13 a.m., Jim Fehlig wrote: > On 2/4/20 1:04 AM, Christoph wrote: >> this config does not work... why? > > Without more details, I don't know why
2014 Jul 29
1
VM not booting with physical hardware attached
Dear all, I'm looking for a bit of help with a problematic VM. We have an hypervisor which has 4 eth ports. 3 are already used, and I wanted to pass the 4th one directly to a VM (which is fully working without it). So, I modified the XML accordingly (which matches our hardware), adding: <hostdev mode='subsystem' type='pci' managed='yes'> <source>
2014 Apr 14
2
Re: LXC + USB passthrough = Operation not permitted
Can you see the USB device in the lxc? My answering assumes you cannot see the USB device in the container. If you can see it, please ignore my answer. According to my understanding, “hostdev mode='subsystem' “ is used with KVM only. We use this if we want to passthrough a device to a KVM virtual machine. After doing that, the host machine will lose control of the device. If container is
2019 Oct 15
1
Re: [libvirt] Add support for vhost-user-scsi-pci/vhost-user-blk-pci
Cole Robinson <crobinso@redhat.com> 于2019年10月15日周二 上午1:48写道: > > On 10/14/19 3:12 AM, Li Feng wrote: > > Hi Cole & Michal, > > > > I'm sorry for my late response, I just end my journey today. > > Thank your response, your suggestion is very helpful to me. > > > > I have added Michal in this mail, Michal helps me review my initial patchset.
2019 Aug 22
2
Re: RLIMIT_MEMLOCK in container environment
On Thu, Aug 22, 2019 at 12:01 PM Laine Stump <laine@redhat.com> wrote: > > On 8/22/19 10:56 AM, Ihar Hrachyshka wrote: > > On Thu, Aug 22, 2019 at 2:24 AM Daniel P. Berrangé <berrange@redhat.com> wrote: > >> > >> On Wed, Aug 21, 2019 at 01:37:21PM -0700, Ihar Hrachyshka wrote: > >>> Hi all, > >>> > >>> KubeVirt uses
2014 Jan 23
1
Re: If it's possible for a third-party PCIe card to be shared by multiple containers
Dear Daniel, I found that lxc driver doesn't support hostdev with type of 'pci'. As you mentioned before, I tried to expose the device node (the PCIe card) to the container, my XML is as follow: <devices> <hostdev mode='subsystem' type='pci' managed='yes'> <source> <address bus='0x01' slot='0x00'
2017 Dec 21
2
Cannot Write xvga=yes in xml file
Hello,my system info: virsh verison Compiled against library: libvirt 3.9.0 Using library: libvirt 3.9.0 Using API: QEMU 3.9.0 Running hypervisor: QEMU 2.10.90 And i want to pass through my gpu to my window 7 guest with <hostdev>, next line is comand i use: <hostdev mode='subsystem' type='pci' managed='yes' xvga='yes'>
2019 Aug 24
1
Re: RLIMIT_MEMLOCK in container environment
On Fri, 23 Aug 2019, 0:27 Laine Stump, <laine@redhat.com> wrote: > (Adding Alex Williamson to Cc so he can correct any mistakes) > > On 8/22/19 4:39 PM, Ihar Hrachyshka wrote: > > On Thu, Aug 22, 2019 at 12:01 PM Laine Stump <laine@redhat.com> wrote: > >> > >> On 8/22/19 10:56 AM, Ihar Hrachyshka wrote: > >>> On Thu, Aug 22, 2019 at 2:24 AM
2020 Sep 21
2
[libvirt] SRIOV configuration
Hello, We encountered a problem while testing SRIOV on kubevirt [1]: We are currently using the Device "hostdev" generic options to pass-through the VF to the guest. It is not done through 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
2017 Feb 07
1
Re: accessing USB as storage device through lxc container.
Thanks Martin for the info. I have tried the below snippet in the libvirt xml. <hostdev mode='capabilities' type='storage'> <source> <block>/dev/sdc1</block> </source> </hostdev> ------------ root@ir800-lxc:~# mount /dev/sdc1 /mnt/usbdr/ mount: permission denied (are you root?) ---------- It works if the