Displaying 20 results from an estimated 9000 matches similar to: "Managed USB passthrough"
2013 Nov 12
0
InfiniBand Passthrough not working
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
2014 Apr 14
0
Re: LXC + USB passthrough = Operation not permitted
So, if I remove the hostdev element related to the USB device, running
`lsusb` and `usb-devices` inside the container lists the proper device, but
I do not see the appropriate character device bus for the Android device
under /dev/bus/usb. We are not entirely sure that `lsusb` and `usb-devices`
queries the appropriate location - it somehow gets information from the
host, not the guest container,
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
2014 Apr 17
0
Re: LXC + USB passthrough = Operation not permitted
Ah, nevermind, think my last post may not have been entirely correct. We've
spent some more time correlating the log output from our failed LXC startup
via libvirt [1] with libvirt code from the 1.2.2 tag. Interestingly, the
error we get back is different, and digging through the multitudes of logs,
nothing comes up about 'operating not permitted' regarding the USB bus that
I saw
2012 May 17
1
USB passthrough of all USB-slots to guest
Hi,
how can I define passthrough of all USB-slots to a guest with libvirt?
With qemu it's very easy:
# kvm -usb -usbdevice host:0.* -usbdevice host:1.* -usbdevice host:2.* -usbdevice host:3.* ...
This configuration of the VM gets *all* 4 USB-Slots. Every time somewhat USB-device
is plugged in the VM gets it.
virt-install manpage offers:
--host-device 001.003
USB by bus, device
2014 Apr 17
1
Re: LXC + USB passthrough = Operation not permitted
Me again!
Think we've found it.
By diving into the LXC logs for the specific container, we found this:
2014-04-17 21:07:06.066+0000: 2861: debug : virCgroupSetValueStr:678 : Set
value '/sys/fs/cgroup/devices/machine/oshi32134.libvirt-lxc/devices.allow'
to 'c 189:130 rw'
Looks like libvirt the permission to 'rw', not 'rmw' [1], so no surprise
that when it
2014 Apr 16
0
Re: LXC + USB passthrough = Operation not permitted
To follow up on this a little bit, tail'ing kern.log while trying to get
our little container up doesn't yield anything with apparmor complaining,
so, unless I'm looking in the wrong spots for apparmor logs (which I don't
think so, as I see other apparmor-related log entries in kern.log), I am
not entirely sure this is an apparmor issue at this point.
On Wed, Apr 16, 2014 at 3:25
2014 Apr 14
3
Re: LXC + USB passthrough = Operation not permitted
Dear Fil,
I am not sure if my answer can help you.
I had ever asked a similar question to Daniel and I was using a thirty-party card. As a container uses a shared kernel with the host, so hostdev mode='subsystem' doesn't make sense. Maybe you can try to use hostdev mode='capabilities'. Please see http://libvirt.org/formatdomain.html#elementsHostDevCaps
Hope this helps
Cheng
2014 Apr 16
2
Re: LXC + USB passthrough = Operation not permitted
Yeah, AppArmor is enabled, but I put everything (that I could find) into
complain mode:
$ sudo apparmor_status
apparmor module is loaded.
12 profiles are loaded.
3 profiles are in enforce mode.
lxc-container-default
lxc-container-default-with-mounting
lxc-container-default-with-nesting
9 profiles are in complain mode.
/sbin/dhclient
/usr/bin/lxc-start
2014 Apr 17
2
Re: LXC + USB passthrough = Operation not permitted
Further followups!
We are correlating DEBUG-level output from libvirt with the libvirt 1.2.2
code to try to figure out what libvirt is doing under the hood.
Even though we have the log level set to 1 (info) in our libvirtd.conf, we
are not seeing the VIR_DEBUG() [1] statements being printed out. There are
tons of other presumably-debug lines of output showing up in our log. We
are sort of
2019 Apr 25
0
Re: PCI passthrough and abstraction
So I am reading through , and am wondering what is the difference between
<hostdev mode='subsystem' type='pci' managed='yes'>
<hostdev>
and
<interface type='hostdev' managed='yes'>
</interface>
if I am trying to give full access to a NIC? Which one exposes more of the card?
On Wed, Apr 24, 2019 at 1:13 PM Mauricio Tavares
2012 Jul 14
0
PCI passthrough troubles
Hello,
I have been struggling as of late to successfully configure a pci
passthrough using libvirt with kvm. Hoping someone can shed some light on
the problem. Overall my experience with virtualization limited is so please
forgive. The guest runs fine till passthrough is configured. I am using
virt-manager. This has been tried on both a Fedora17 x86_64 and Arch Linux
x86_64 build with pretty much
2014 Oct 13
0
Re: passthrough of PCI-device
And what about IO MMU ?
On 10/13/2014 12:02 PM, Weis, Michael (DWIE) wrote:
> Hi Pierre,
>
> thanks for your reply.
>
> I am using kernel 3.10.0-123.8.1.el7.x86_64.
> The kernel modul used after nodedev-detach is vfio-pci
>
> This is the output of lspci -vv after I did a virsh nodedev-detatch pci_0000_02_00_0
>
> 02:00.0 Ethernet controller: PLX Technology, Inc.
2016 Feb 09
0
Re: Getting "unknown device type" when attaching NPIV (vHBA) to vm
On 02/08/2016 06:01 PM, Vaknin, Rami wrote:
> 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 ->
2014 Oct 07
0
passthrough of PCI-device
Hello,
I try to passthrough a PCI-card to a VM named testvm
I want to do that with an xml-file named hga.xml including the following content:
<hostdev mode='subsystem' type='pci' managed='yes'>
<source>
<address domain='0x0' bus='0x1' slot='0x00' function='0x0'/>
</source>
</hostdev>
When I execute
2014 Apr 15
0
Re: LXC + USB passthrough = Operation not permitted
On Fri, Apr 11, 2014 at 05:32:28PM -0700, Filip Maj wrote:
> Hi!
>
> First post, kind of a noobie. I've been working with LXC and libvirt for a
> few months now. Trying to do some interesting things with containers and
> Android devices :D
> Here's my entire domain definition:
>
> <domain type='lxc'>
> <name>oshi32134</name>
>
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
2016 Nov 15
1
ergodox keyboard not working on USB hostdev passthrough
I'm using a bit of a different keyboard, the infinity ergodox [
https://input.club/devices/infinity-ergodox/]. It functions just fine as a
keyboard on my host computer, but when I try to bind it to the guest,
nothing seems to happen.
lsusb gives its ID:
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
*Bus 005 Device 003: ID 1c11:b04d*
Bus 005 Device 001: ID 1d6b:0002 Linux
2013 Nov 02
1
USB passthrough to WinXP guest - WinXP ignores it
WinXP ignores a USB passthrough!
Hello,
I need a persistent passthrough of a USB-device:
Bus 001 Device 020: ID 04e6:5311 SCM Microsystems, Inc.
I added <hostdev mode='subsy.... </hostdev> like this
to xml file:
[...]
<on_crash>restart</on_crash>
<devices>
<hostdev mode='subsystem' type='usb' managed='no'>