OS-7580: bhyve upstream sync 2019 Feb

Details

Issue Type:Improvement
Priority:4 - Normal
Status:Resolved
Created at:2019-02-13T20:40:33.909Z
Updated at:2019-02-20T22:07:54.118Z

People

Created by:Patrick Mooney [X]
Reported by:Patrick Mooney [X]
Assigned to:Patrick Mooney [X]

Resolution

Fixed: A fix for this issue is checked into the tree and tested.
(Resolution Date: 2019-02-20T22:07:54.105Z)

Fix Versions

2019-02-28 Mind Grapes (Release Date: 2019-02-28)

Related Links

Labels

bhyve

Description

It would be valuable to sync upstream changes into our bhyve again.

Comments

Comment by Patrick Mooney [X]
Created at 2019-02-13T20:40:55.117Z

Approximate delta:

[pmooney@551e3e5b-ec0c-4bad-f138-c56990a700a6 ~/git/freebsd]$ git ds f81459bd8363602ed5e436f10288320419e80ccf..HEAD usr.sbin/bhyve lib/libvmmapi/ sys/amd64/vmm/ sys/amd64/include/vmm* | cat
 sys/amd64/vmm/amd/svm.c              |  13 ++
 sys/amd64/vmm/amd/svm_msr.c          |   5 +-
 sys/amd64/vmm/intel/vmcs.h           |   8 +
 sys/amd64/vmm/intel/vmx.c            |  45 +++--
 sys/amd64/vmm/vmm_instruction_emul.c |  40 ++++
 sys/amd64/vmm/x86.c                  | 155 +++++++++++----
 sys/amd64/vmm/x86.h                  |   2 +
 usr.sbin/bhyve/Makefile              |   6 +
 usr.sbin/bhyve/bhyve.8               |  57 ++++--
 usr.sbin/bhyve/bhyverun.c            |  91 ++++++++-
 usr.sbin/bhyve/block_if.c            |  10 +-
 usr.sbin/bhyve/consport.c            |   9 +-
 usr.sbin/bhyve/dbgport.c             |   5 +-
 usr.sbin/bhyve/fwctl.c               |  29 +--
 usr.sbin/bhyve/gdb.c                 |   4 +-
 usr.sbin/bhyve/iov.c                 |  57 +++---
 usr.sbin/bhyve/iov.h                 |  13 +-
 usr.sbin/bhyve/mevent.c              |   9 +-
 usr.sbin/bhyve/pci_ahci.c            |   9 +-
 usr.sbin/bhyve/pci_e82545.c          |   5 +-
 usr.sbin/bhyve/pci_fbuf.c            |  39 +++-
 usr.sbin/bhyve/pci_nvme.c            | 137 +++++++++-----
 usr.sbin/bhyve/pci_passthru.c        |  13 +-
 usr.sbin/bhyve/pci_virtio_block.c    |   5 +-
 usr.sbin/bhyve/pci_virtio_console.c  |   5 +-
 usr.sbin/bhyve/pci_virtio_net.c      |   5 +-
 usr.sbin/bhyve/pci_virtio_rnd.c      |   6 +-
 usr.sbin/bhyve/pci_virtio_scsi.c     |  75 +++++---
 usr.sbin/bhyve/pci_xhci.c            |   3 +
 usr.sbin/bhyve/ps2kbd.c              | 357 +++++++++++++----------------------
 usr.sbin/bhyve/rfb.c                 |  46 +++--
 usr.sbin/bhyve/uart_emul.c           |   8 +-
 32 files changed, 802 insertions(+), 469 deletions(-)

Comment by Patrick Mooney [X]
Created at 2019-02-20T20:21:06.907Z

I performed the typical smoke testing with a variety of guest OSes, including Linux, FreeBSD, and Windows. None exhibited any abnormal behavior. Most of the changes in this wad are concentrated in areas outside our typical bhyve use case.


Comment by Jira Bot
Created at 2019-02-20T21:50:52.534Z

illumos-joyent commit c6a22c86f2d0254060157d591af12a83e37b9a50 (branch master, by Patrick Mooney)

OS-7580 bhyve upstream sync 2019 Feb
Reviewed by: John Levon <john.levon@joyent.com>
Reviewed by: Hans Rosenfeld <hans.rosenfeld@joyent.com>
Approved by: Robert Mustacchi <rm@joyent.com>