Displaying 20 results from an estimated 3000 matches similar to: "Bypass USB to Xen VM"
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 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'
2020 Feb 04
0
Re: PCI/GPU Passthrough with xen
this config does not work... why?
<domain type='xen'>
<name>marax.chao5.int</name>
<uuid>72f8f7cf-d538-41cd-828a-9945b9157719</uuid>
<memory unit='GiB'>32</memory>
<currentMemory unit='GiB'>32</currentMemory>
<vcpu placement='static'>16</vcpu>
<os>
<type
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 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,
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.
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
2020 Mar 21
0
Re: Could you please help with questions about the net failover feature
On 3/21/20 1:08 AM, Yalan Zhang wrote:
> In my understanding, the standby and primary hostdev interface may be in
> different subnet.
There is only one hostdev device in the team pair (that will be the one
with <teaming type='transient'.../> since it needs to be unplugged
during migration). The other device must be a virtio device (the one
with <teaming
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
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 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
2023 Mar 22
1
Xen with libvirt and SR-IOV
On 3/22/23 04:23, nospam at godawa.de wrote:
> Jim Fehlig schrieb:
>>
>> What is the libvirt version?
>
> It's the "latest and greatest" I get from this source:
>
> [root at xen1 ~]# virsh --version
> 6.6.0
>
> [root at xen1 ~]# libvirtd --version
> libvirtd (libvirt) 6.6.0
>
> [root at xengfs1f ~]# yum list | grep libvirt
>
2020 Jul 06
0
Re: Could you please help with questions about the net failover feature
On 7/6/20 5:10 AM, Yalan Zhang wrote:
>
> Hi Laine,
>
> For the feature testing before, I only test the linux bridge setting as
> in 2), it works.
> Now I tried 1), to use macvtap bridge mode connected to the PF, it can
> not work as the hostdev interface can not get dhcp ip address on the guest.
> Check on host, the /var/log/messages and dmesg both says:
>
>
2020 Jul 08
0
Re: Could you please help with questions about the net failover feature
On 7/8/20 1:30 AM, Stefan Assmann wrote:
> On 2020-07-06 10:01, Laine Stump wrote:
>> On 7/6/20 5:10 AM, Yalan Zhang wrote:
>>> Hi Laine,
>>>
>>> For the feature testing before, I only test the linux bridge setting as
>>> in 2), it works.
>>> Now I tried 1), to use macvtap bridge mode connected to the PF, it can
>>> not work as the
2014 Apr 14
0
Re: LXC + USB passthrough = Operation not permitted
Hi Chang Weng,
Thanks for answering!
Could you explain why subsystem=USB does not make sense? I was simply
following the documentation for USB devices (right above the section you
linked to).
For what it's worth, I've also tried mounting the specific character device
related to the appropriate android device into the container in the way you
suggest, with no luck; `adb` still does not
2014 Sep 11
0
trying but failing - pass-through scsi/sata
hi everybody
I'd imagine this topic must have been covered, yet I've
failed to find any really helpful and a solid howto/examples
of how to pass-through a sata disks.
currently I'm having this in my xml:
<hostdev mode='subsystem' type='scsi' managed='no'>
<source>
<adapter name='scsi_host4'/>
2017 Nov 28
0
vga passthroufh fail
Hello, I encounter a problem, my display is not light when guest running.
But it's successful that i check guest with command "ping".
Following message is my xml and refer topic from https://libvirt.org/formatdomain.html#elementsHostDev:
<hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio' />
<source>
2019 Jan 04
0
Re: script called from qemu hook freezes.
On 1/4/19 11:27 AM, daggs wrote:
> Greetings Peter,
>
>> Sent: Friday, January 04, 2019 at 4:47 PM
>> From: "Peter Krempa" <pkrempa@redhat.com>
>> To: daggs <daggs@gmx.com>
>> Cc: libvirt-users@redhat.com
>> Subject: Re: [libvirt-users] script called from qemu hook freezes.
>>
>> On Thu, Jan 03, 2019 at 18:07:58 +0100, daggs
2020 Jul 06
2
Re: Could you please help with questions about the net failover feature
Hi Laine,
For the feature testing before, I only test the linux bridge setting as in
2), it works.
Now I tried 1), to use macvtap bridge mode connected to the PF, it can not
work as the hostdev interface can not get dhcp ip address on the guest.
Check on host, the /var/log/messages and dmesg both says:
"Jul 6 04:54:45 dell-per730-xx kernel: ixgbe 0000:82:00.1 enp130s0f1: 1
Spoofed packets
2020 Jul 08
1
Re: Could you please help with questions about the net failover feature
On 7/8/20 10:02 AM, Ken Cox wrote:
>
> On 7/8/20 1:30 AM, Stefan Assmann wrote:
>> On 2020-07-06 10:01, Laine Stump wrote:
>>> On 7/6/20 5:10 AM, Yalan Zhang wrote:
>>>> Hi Laine,
>>>>
>>>> For the feature testing before, I only test the linux bridge setting as
>>>> in 2), it works.
>>>> Now I tried 1), to use