Displaying 20 results from an estimated 1000 matches similar to: "accessing USB as storage device through lxc container."
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
2017 Feb 03
0
Re: accessing USB as storage device through lxc container.
On Thu, Feb 02, 2017 at 06:30:24PM -0800, ravi mh wrote:
>Hi all,
>
>I am not able to access USB as storage device in the lxc container.
>Having tried to pass the usb device with the product and vendor id, not
>able to see the device mounted in the lxc file system.
>
It won't be mounted, it will just be passed through as a device,
i.e. you will see it in the lsusb output.
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 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
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
2016 Jun 16
2
KVM issue
running centos 6... have had a KVM linux vm (also C6) going for quite
awhile that depends on a USB device mapping (a external audio DAC module).
I updated the host today (yum update), it had been awhile (was like 6.5
before, now its 6.8+), and rebooted. the VM won't restart.
when I try and restart it, I get this
Error restoring domain: internal error Did not find USB device 8bb:2704
2013 Oct 13
24
exporting custom facts to puppet agents
Dear all,
I have a custom fact, that reads a file and then generate the values
dynamically based on the file content. It''s something like this:
inFile = "/home/admin/OSs.txt"
> gos = {}
>
> if File.exist?(inFile)
> open(inFile, ''r'').each do |line|
> next if line =~ /^\s*(#|$)/
> parts =
2015 Jan 02
3
Data stale error after short while
On Jan 2, 2015, at 3:33 PM, Mike Raath <raathm at gmail.com> wrote:
> Sorry, I messed up my reply a bit.
>
> The output of the lsusb command is the same before and after the data goes stale.
>
> $ lsusb -d 0665:
> Bus 002 Device 005: ID 0665:5161 Cypress Semiconductor USB to Serial
>
OK. That usually means that the VM kernel doesn't see that the device is
2009 Sep 17
1
Why S4 method is not visible from another package?
Dear All,
maybe this is something obvious, I seem to be incapable of
understanding how S4 works.
So, in package 'A' I defined a "summary" method for my class:
setMethod("summary", signature(object="ListHyperGResult"),
function(object, pvalue=pvalueCutoff(object), categorySize=NULL) {
"whatever"
})
2019 Apr 24
2
PCI passthrough and abstraction
When you pass a device in the pci chain (after virsh
nodedev-dettach'ing it from host) to the guest, how much is passed
without being emulated/abstracted?
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,
2019 Aug 22
2
Re: RLIMIT_MEMLOCK in container environment
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 libvirtd to manage qemu VMs represented as Kubernetes
> > API resources. In this case, libvirtd is running inside an
> > unprivileged pod, with some host mounts / capabilities
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'>
2009 Jun 26
5
Running Cubase with wine - HOW?
I am completely new to Linux and Wine. I've tried to make Wine work since some 1999, but never had patience with it. Tried reading guides, manuals and so on, but things did not work. All Linux versions I've tried have never run any windows-based programs after I installed Wine (and used to install a propper version of wine - that corresponds to Linux version) - what I did is what is said
2013 Aug 26
1
Re: 回复: How to deal with LXC cgroup access control withapparmor ?
OOPS:
"If I do not want to disable the cgroup in container" ==> "If I do want to disable the cgroup in container"
I meant if the user namespace not enabled in kernel ...
thx ,I will try user namespace later. I am not working on x86 and not suer wheather the usernamespace is ok in the kernel I am going to use.
I would try to disable the cgroup in lxc first.
2004 Aug 05
2
shared voicemail
Good day all
I got my voicemail message working,thanks but now,keep in mind I'm using
SIP
We have,for example 4 people in our admin department.Each user has its
own voicemail so that when their extension is dialed directly and not
answered it gos to voicemail.
But there is also a option to dial 3 for admin with will dial all 4
number in sequence.This I got working 100% but now I want a
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
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
2019 Oct 14
2
Re: [libvirt] Add support for vhost-user-scsi-pci/vhost-user-blk-pci
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.
(https://www.spinics.net/linux/fedora/libvir/msg191339.html)
All concern about this feature is the XML design.
My original XML design exposes more details of Qemu.
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