diff options
author | Dave Voutila <dv@cvs.openbsd.org> | 2023-04-27 22:47:28 +0000 |
---|---|---|
committer | Dave Voutila <dv@cvs.openbsd.org> | 2023-04-27 22:47:28 +0000 |
commit | 3577515cec55cd7cc5f659936e2a854f96c5f5d3 (patch) | |
tree | 54e69c18e649a7ac7a92530ca2cac156d8fdce22 /usr.sbin/ldpd | |
parent | 6328edab1ebfca611cfefbe71e82bb769cc98216 (diff) |
vmd(8): introduce multi-process model for virtio devices.
Isolate virtio network and block device emulation in dedicated
processes, forked and exec'd from the vm process. This allows for
tightening pledge promises to just "stdio".
Communication between the vcpu's and these devices now occurs via
imsg channels, which adds the benefit of not always blocking the
vcpu thread while emulating the device.
With this commit, it's possible that vmd is the first open source
hypervisor that *defaults* to a multi-process device emulation
model without requiring any additional configuration from the
operator.
Testing help from phessler@ and Mischa Peters.
ok mlarkin@
Diffstat (limited to 'usr.sbin/ldpd')
0 files changed, 0 insertions, 0 deletions