While not bsd specific, I've got an issue I'm trying to solve. I used to use vbox years ago but became disenchanted by the very fragile xml metatdata overhead for managing guest instances, and the oracle forum tech support folks just made me even more annoyed.
So anyways, years ago I switched over to using qemu with the kvm module to virtualize a bunch of environments in my workstations and servers. I quickly became a staunch critic of libvirt, being suspicious of it, and seeing it as the same type hype/fluff that caused a lot of my issues with vbox. I perceive it as unnecessary bloat and complexity, when all I want to do it fire up a guest and access it via console or spice client.
I've recently been toying with the idea of replacing my very old ARM WIFI access point openWRT network firewall, and may implement my bastion host as a qemu VM on a server I have. To do this I want to do PCI passthrough of two dedicated ethernet ports to the guest so as not to contaminate them with general server traffic of the host. All the docs I can find online strongly push ya toward libvirt to do any sort of PCI passthrough. As stated previously, I don't want to use libvirt, but I'd prefer not to have to "emulate" ethernet NICs in the qemu environment either. Given the lousy state of qemu documentation, does anyone know authoritatively if I can do the passthrough without using libvirt, and if so, what does the qemu startup command look like WRT net devices?
So anyways, years ago I switched over to using qemu with the kvm module to virtualize a bunch of environments in my workstations and servers. I quickly became a staunch critic of libvirt, being suspicious of it, and seeing it as the same type hype/fluff that caused a lot of my issues with vbox. I perceive it as unnecessary bloat and complexity, when all I want to do it fire up a guest and access it via console or spice client.
I've recently been toying with the idea of replacing my very old ARM WIFI access point openWRT network firewall, and may implement my bastion host as a qemu VM on a server I have. To do this I want to do PCI passthrough of two dedicated ethernet ports to the guest so as not to contaminate them with general server traffic of the host. All the docs I can find online strongly push ya toward libvirt to do any sort of PCI passthrough. As stated previously, I don't want to use libvirt, but I'd prefer not to have to "emulate" ethernet NICs in the qemu environment either. Given the lousy state of qemu documentation, does anyone know authoritatively if I can do the passthrough without using libvirt, and if so, what does the qemu startup command look like WRT net devices?