summaryrefslogtreecommitdiff
path: root/usr.sbin/vmd/pci.c
AgeCommit message (Collapse)Author
2018-07-12vmm(8)/vmm(4): send a copy of the guest register state to vmd on exit,Mike Larkin
avoiding multiple readregs ioctls back to vmm in case register content is needed subsequently. ok phessler
2018-07-10vmd already had DEBUG/DPRINTF, there is no need for VMD_DEBUG/dprintfReyk Floeter
Replace all occurences of dprintf with DPRINTF (defined in proc.h).
2018-06-19knfReyk Floeter
2018-04-27vmd(8): implement vmd side of ELCR registersMike Larkin
ok guenther
2018-02-15vmd(8): Properly return the correct byte when doing byte-aligned PCIMike Larkin
config space reads. ok kettenis@, ccardenas@
2017-09-17vmd: send/recv pci config space instead of recreating pci devices on receivepd
ok mlarkin@
2017-08-20vmd: reorganize some pci config space handling code, no functional change.Mike Larkin
originally suggested by kettenis@, I took that diff and modified it for -current
2017-08-10vmd: partially back out a change committed yesterday regarding guestMike Larkin
changing IRQs. After discussing with kettenis, that wasn't the right way to do things, and this diff fixes that. ok kettenis
2017-08-09vmd: allow guest PCI interrupt line reassignment.Mike Larkin
I also added a couple config space register names to pcireg.h to try and reduce the use of magic numbers in vmd/pci.c ok pd@
2017-07-06vmd: increase the max number of disks from 2 to 4. Requires kernel rebuildMike Larkin
as a struct passed to vmm has changed size. ok deraadt, pd
2017-04-21vmd(8) pci emulation fix required for upcoming option rom support.Mike Larkin
This will be used in the future to support an sgabios option rom, to do VGA text mode console redirection. ok reyk
2017-03-27die whitespace die die dieTheo de Raadt
2017-03-25Last bits needed to get seabios + alpine linux working. This is enoughMike Larkin
to get started and let more people help finding and fixing bugs. ok kettenis, deraadt
2017-03-25Implement some missing functionality and clean up some code in vmdMike Larkin
pci emulation. ok kettenis
2017-01-21updated include paths for recently moved virtio stuffMike Larkin
2017-01-17Nuke some whitespace that keeps poking me in the eye as I try toKenneth R Westerback
steal code.
2017-01-13Add host side of vmmci(4) to vmd(8).Reyk Floeter
It currently uses the device to request graceful shutdown of a VM on "vmctl stop myvm" but will be extended for reboot and a other edge cases. OK mlarkin@
2016-10-12Allow 4 vio(4) interfaces in each VM. Also fix a bad interrupt assignment thatMike Larkin
caused IRQ9 to be shared between the second disk device and the vio(4)s, which caused poor network performance. ok reyk, stefan
2016-09-01change some log_warn to log_warnx and convert some integer literals toMike Larkin
enumerand values
2016-09-01Fix 2 minor issues and a typo in a comment in the pci emulation subsystem.Mike Larkin
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.
2016-08-17small bits of header cleanup; ok mlarkinTheo de Raadt
2016-01-14stdio.h is not needed here anymore.Mike Larkin
2016-01-04bzero -> memset for consistencyMike Larkin
2015-12-03spacingReyk Floeter
2015-11-23Add support for logging to stderr or syslog, and to run vmd inReyk Floeter
foreground with -d. OK mlarkin@ jung@
2015-11-22Add $ IdsReyk Floeter
2015-11-22vmd(8) - virtual machine daemon.Mike Larkin
There is still a lot to be done, and fixed, in these userland components but I have received enough "it works, commit it" emails that it's time to finish those things in tree. discussed with many, tested by many.