| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
config_getvm() already removed the vm on failure!
Found by mlarkin@
|
| |
|
|
|
|
|
| |
loading of invalid kernel files.
Reported by mlarkin@
OK mlarkin@
|
| |
|
|
|
|
| |
alters it.
OK mlarkin@
|
| | |
|
| |
|
|
|
|
|
|
| |
Tested by Jon Bernard and reyk@.
OK reyk@, no objections mlarkin@.
Thanks
|
| | |
|
| |
|
|
|
|
| |
basically imports the imsg_flush() fix from reyk@ in httpd(8).
ok reyk@
|
| |
|
|
|
|
| |
once again after setting the next available id.
Suggested by edd@
|
| |
|
|
|
|
| |
style that is used in other places. Also keep the vmid from the parent.
OK edd@
|
| |
|
|
|
|
| |
intead of using errno as an implicit argument
ok reyk@
|
| | |
|
| |
|
|
|
|
|
| |
Brings us one step closer to having disabled by default vms is vm.conf(5),
which can be started with vmctl(8).
Input, testing and OK reyk@. Thanks.
|
| |
|
|
|
|
|
|
| |
fixed in tree, but the changes required were pretty minimal.
Note that i386 hosts are still presently limited to running i386 guests.
ok deraadt, stefan, jca
|
| |
|
|
|
|
| |
from edd barrett;
while here, there seems to be three sections to the config file, not two;
|
| |
|
|
|
|
|
|
|
|
| |
create a randomized locally administrated address. OpenBSD as a guest OS
does this correctly but we cannot rely on it for other guests, so randomize
the MAC address in vmd(8) on the host side if it is not specified by the
user. I incremented the prefix by one to differentiate from the ones
that are generated by OpenBSD in the kernel; fe:e1:bb:xx:xx:xx.
OK deraadt@ mlarkin@
|
| |
|
|
|
|
| |
this group will be added to all VM tap(4) interfaces in the switch.
Tested by martijn@
|
| |
|
|
| |
ok mlarkin@
|
| |
|
|
| |
Requested and tested by martijn@
|
| |
|
|
| |
OK rzalamena@
|
| |
|
|
|
|
| |
before printing it.
OK rzalamena@
|
| | |
|
| |
|
|
|
|
|
| |
caused IRQ9 to be shared between the second disk device and the vio(4)s,
which caused poor network performance.
ok reyk, stefan
|
| |
|
|
|
|
|
|
|
| |
New changes:
* Fix msgbuf_write() usage idiom;
* Add context (function name) that fatal()ed;
* Use less fds on startup;
ok mlarkin@, reyk@
|
| |
|
|
|
|
|
|
|
|
|
| |
their monitor run in a very restricted environment. VMs only pledge
"stdio vmm" which allows them to do most basic functions and a subset
of vmm ioctls (the other part of vmm ioctls are only permitted in the
parent).
This requires the previous change in the vmm kernel part.
OK mlarkin@
|
| |
|
|
|
|
| |
undead VM processes.
OK mlarkin@
|
| | |
|
| |
|
|
|
|
| |
and remove the CLOEXEC with fcntl() if necessary.
ok reyk@
|
| | |
|
| |
|
|
|
|
| |
See vm.conf(5) for more details.
OK mlarkin@
|
| |
|
|
|
| |
From deraadt@
OK rzalamena@
|
| |
|
|
|
|
|
|
|
|
|
| |
operations that aren't allowed under pledge. This is a companion to
the "vmd" process that runs as root but with pledge.
With the "priv" process, each new tap(4) interface now gets a
description to indicate the vm, eg. "vm1-if0-myvm". For network
configuration will be done by vmd/priv later.
OK mlarkin@
|
| | |
|
| | |
|
| |
|
|
| |
No objections from mlarkin@ sunil@
|
| |
|
|
|
| |
feedback from guenther@
ok guenther@ kettenis@
|
| |
|
|
| |
pointed out by mlarkin@
|
| |
|
|
|
|
|
|
|
| |
don't kill the VM if we are presented with an exit type that is not
something we directly need to handle. Instead, simply re-enter the guest,
possibly injecting an interrupt along the way. Still exit the process
if presented with a triple fault, until we implement reboot support.
ok stefan@
|
| |
|
|
| |
ok stefan@
|
| |
|
|
| |
OK mlarkin@
|
| |
|
|
|
|
|
|
|
|
|
| |
Open all fds first before sending messages to the vmm process.
This prevents some intermediate state from being generated that
will confuse vmm if it gets further messages.
Also make sure that vmctl gets the right error reason later by saving
errno upon a failure.
ok reyk@ mlarkin@
|
| |
|
|
|
|
|
| |
This registers a handler with libevent that is triggered on incoming
data on the com port.
ok mlarkin@
|
| |
|
|
|
|
|
|
| |
This registers a handler with libevent that is called on incoming packets
for the guest. If they cannot be handled immediately (because the virtq is
full), make sure they are handled on VCPU exits.
ok mlarkin@
|
| |
|
|
|
|
|
|
|
| |
That allows the main thread to handle the termination
of a VM on reboot/shutdown or normal exit. The way it works
is that VCPUs that terminate for some reason communicate this
to a main thread that takes care of shutdown.
ok mlarkin@
|
| | |
|
| |
|
|
| |
functions
|
| |
|
|
| |
enumerand values
|
| |
|
|
| |
Makes reset code a little simpler. ok mlarkin@
|
| | |
|
| |
|
|
| |
discussed with stefan and deraadt
|
| |
|
|
|
|
| |
The first issue caused trash to be returned from an i/o port read where
that port was unclaimed by any emulated device. The second issue caused
improper BAR sizes to be reported for unassigned device BARs.
|