similar to: Attaching a hostdev on startup

Displaying 20 results from an estimated 10000 matches similar to: "Attaching a hostdev on startup"

2013 Jul 09
0
Re: [PATCH 2/2] LXC: hostdev: parent directroy for hostdev atomically
On Tue, Jul 09, 2013 at 11:20:36AM +0800, Gao feng wrote: > Create parent directroy for hostdev atomically when we > start a lxc domain or attach a hostdev to a lxc domain. > > Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com> > --- > src/lxc/lxc_container.c | 42 ++++++++++++++++++++++++++++-------------- > src/lxc/lxc_driver.c | 14 ++++++++++++++ > 2 files
2013 Jul 09
0
[PATCH 1/2] LXC: hostdev: introduce lxcContainerSetupHostdevCapsMakePath
This helper function is used to create parent directroy for the hostdev which will be added to the container. if the parent directory of this hostdev doesn't exist, the mknod of the hostdev will fail. Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com> --- src/lxc/lxc_container.c | 17 +++++++++++++++++ src/lxc/lxc_container.h | 2 ++ 2 files changed, 19 insertions(+) diff --git
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 Jul 09
2
[PATCH 2/2] LXC: hostdev: parent directroy for hostdev atomically
Create parent directroy for hostdev atomically when we start a lxc domain or attach a hostdev to a lxc domain. Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com> --- src/lxc/lxc_container.c | 42 ++++++++++++++++++++++++++++-------------- src/lxc/lxc_driver.c | 14 ++++++++++++++ 2 files changed, 42 insertions(+), 14 deletions(-) diff --git a/src/lxc/lxc_container.c
2017 Aug 30
1
[PATCH] v2v: warn when the guest has hostdev devices (RHBZ#1472719)
virt-v2v obviously cannot convert this kind of devices, since they are specific to the host of the hypervisor. Thus, emit a warning about the presence of passthrough host devices, so at least this can be noticed when converting a guest. --- v2v/parse_libvirt_xml.ml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/v2v/parse_libvirt_xml.ml b/v2v/parse_libvirt_xml.ml index
2014 May 20
0
[LXC] feature request - hostdev target
Hi, I am trying to mount /dev/tty5 from host as /dev/tty1 inside LXC container, but libvirt currently supports only 1-to-1 mapping: <hostdev mode='capabilities' type='misc'> <source> <char>/dev/tty5</char> </source> </hostdev> What do you thing about extending this by adding target parameter? It is easy to archive
2013 Nov 19
0
Re: Using hostdev to plug a PCI-E host device into Q35 pcie-root port
On 11/15/2013 03:35 PM, Thomas Kuther wrote: > Hello, > > I'm trying to migrate a working qemu command line configuration to > libvirt. > The part I'm currently failing on is: > > $ qemu-system-x86_64 -M Q35 ... -device vfio-pci,host=05:00.0,bus=pcie.0 > > The right way to translate this into libvirt XML seems to be using > <hostdev>, but I seem to be
2019 May 23
2
[Libvirt failed to claim Virtual Functions on hostdev network after VM reboot]
Problem Statement: Libvirt failed to claim Virtual Functions on hostdev network after VM reboot. Version-Release number of selected component (if applicable): libvirtd (libvirt) 2.0.0 kernel-4.1.12-112.16.4.el7uek.x86_64 Reproducible: Not always Description: I am doing a reboot of Virtual machines and sometimes one of the VM does not start and fail with the following error In total I have
2016 Mar 17
1
Questions regarding hostdev scsi
Hi! I'm oVirt developer responsible for most of 'hostdev' support. While working on SCSI passthrough (that is hostdev type='scsi'), I've encountered few issues I'm not sure how to solve somewhat effectively and nicely. Just a note - oVirt by default disables 'dynamic_ownership', meaning we have to handle endpoint ownership/labeling ourselves. This is not
2019 May 24
0
Re: [Libvirt failed to claim Virtual Functions on hostdev network after VM reboot]
On Thu, May 23, 2019 at 10:37:56PM +0530, Fuzail Ahmad wrote: > Problem Statement: > > Libvirt failed to claim Virtual Functions on hostdev network after VM > reboot. > > Version-Release number of selected component (if applicable): > > libvirtd (libvirt) 2.0.0 I'd just like to point out that 2.0.0 is very old libvirt, even debian 9 has 3.0.n, can you verify
2013 Nov 19
1
Re: Using hostdev to plug a PCI-E host device into Q35 pcie-root port
Am 19.11.2013 11:36, schrieb Laine Stump: > On 11/15/2013 03:35 PM, Thomas Kuther wrote: >> Hello, >> >> I'm trying to migrate a working qemu command line configuration to >> libvirt. >> The part I'm currently failing on is: >> >> $ qemu-system-x86_64 -M Q35 ... -device >> vfio-pci,host=05:00.0,bus=pcie.0 >> >> The right
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 ->
2013 Nov 15
2
Using hostdev to plug a PCI-E host device into Q35 pcie-root port
Hello, I'm trying to migrate a working qemu command line configuration to libvirt. The part I'm currently failing on is: $ qemu-system-x86_64 -M Q35 ... -device vfio-pci,host=05:00.0,bus=pcie.0 The right way to translate this into libvirt XML seems to be using <hostdev>, but I seem to be unable to plug it into the pcie-root port This is how the interesting part looks like when
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.
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
2012 Jul 18
1
Attaching usb devices
Is the only way to attach a usb device to a vm first specifying the device, <hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x3080'/> <product id='0x1234'/> </source> </hostdev> and then booting the vm while the device is attached? Can't I
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 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.
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
2019 Jan 07
0
Re: script called from qemu hook freezes.
On Fri, Jan 04, 2019 at 17:27:48 +0100, 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