Univention Bugzilla – Bug 19748
Zuweisung von PCI Geräten an eine virtuelle Instanz
Last modified: 2023-06-28 10:46:04 CEST
siehe auch: http://forum.univention.de/viewtopic.php?f=33&t=1104 XEN unterstützt das Zuweisen eines PCI Gerätes des Hosts an einen dedizierten Gast. Eine Möglichkeit dies in UVMM abzubilden könnte geprüft werden.
Das libvirt-Beispiel <http://libvirt.org/formatdomain.html#elementsUSB> führt zu folgendem minimalen XML-Beispiel, daß wohl auch von libvirt so weiterverarbeitet werden kann: virsh domxml-to-native xen-sxpr <<__XML__ virsh domxml-to-native xen-xm <<__XML__ <domain type='xen'> <name>N</name> <memory>524288</memory> <vcpu>1</vcpu> <bootloader>/usr/bin/pygrub</bootloader> <os> <type arch='x86_64' machine='xenpv'>linux</type> </os> <devices> <hostdev mode='subsystem' type='pci'> <source> <address bus='0x06' slot='0x00' function='0x0'/> </source> </hostdev> </devices> </domain> __XML__ Das ganze ist allerdings derzeit ungetestet. De Relax-NG Validierung in libvirt (0.8.8) ist derzeit noch fehlerhaft, was aber die Verwendung prinzipiell nicht verhindern sollte. Fehlerbeschreibung+Patch: <http://www.mail-archive.com/libvir-list@redhat.com/msg34029.html>
Erneut an http://forum.univention.de/viewtopic.php?f=11&t=2511&p=8590 angefragt.
requested again: http://forum.univention.de/viewtopic.php?f=43&t=4016&p=14672
Ticket#2016022921000954 - requested again
*** Bug 49996 has been marked as a duplicate of this bug. ***
I assume that PCI passthrough won't work in live migrations, so in case we implement this we would need to block live migration for these instances. I'm unsure if the requester of this feature are aware of that?
(In reply to Ingo Steuwer from comment #6) > I assume that PCI passthrough won't work in live migrations, yes > so in case we > implement this we would need to block live migration for these instances. libvirt already does that. The duplicate Bug #49996 specifically requested network interface passthrough, which is special, as modern network interface adapters have native virtualization support: Passing them through to the VM does *not* block migration (as long as the source and target system support SR-IOV) > I'm unsure if the requester of this feature are aware of that?
This issue has been filed against UCS 4.2. UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.