[libvirt] [PATCH 00/13] Add hvf domain type for Hypervisor.framework

Roman Bolshakov posted 13 patches 3 years, 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20181020141958.59397-1-r.bolshakov@yadro.com
docs/news.xml                 |  12 +++
docs/schemas/domaincommon.rng |   1 +
src/conf/domain_conf.c        |   4 +-
src/conf/domain_conf.h        |   1 +
src/qemu/qemu_capabilities.c  | 171 +++++++++++++++++++++++++---------
src/qemu/qemu_capabilities.h  |   1 +
src/qemu/qemu_command.c       |   4 +
7 files changed, 148 insertions(+), 46 deletions(-)
[libvirt] [PATCH 00/13] Add hvf domain type for Hypervisor.framework
Posted by Roman Bolshakov 3 years, 7 months ago
Hypervisor.framework provides a lightweight interface to run a virtual
cpu on macOS without the need to install third-party kernel
extensions (KEXTs).

It's supported on machines with Intel VT-x feature set that includes
Extended Page Tables (EPT) and Unrestricted Mode since macOS 10.10.

QEMU supports Hypervisor.framework since 2.12.

Roman Bolshakov (13):
  conf: Define hvf domain type
  qemu: Define hvf capability
  qemu: Query hvf capability on macOS
  qemu: Expose hvf domain type if hvf is supported
  qemu: Rename kvmCPU to accelCPU
  qemu: Introduce virQEMUCapsTypeIsAccelerated
  qemu: Introduce virQEMUCapsHaveAccel
  qemu: Introduce virQEMUCapsToVirtType
  qemu: Introduce virQEMUCapsAccelStr
  qemu: Make error message accel-agnostic
  qemu: Correct CPU capabilities probing for hvf
  schema: Add hvf domain type
  news: Mention hvf domain type

 docs/news.xml                 |  12 +++
 docs/schemas/domaincommon.rng |   1 +
 src/conf/domain_conf.c        |   4 +-
 src/conf/domain_conf.h        |   1 +
 src/qemu/qemu_capabilities.c  | 171 +++++++++++++++++++++++++---------
 src/qemu/qemu_capabilities.h  |   1 +
 src/qemu/qemu_command.c       |   4 +
 7 files changed, 148 insertions(+), 46 deletions(-)

-- 
2.17.1 (Apple Git-112)

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH 00/13] Add hvf domain type for Hypervisor.framework
Posted by Roman Bolshakov 3 years, 7 months ago
On Sat, Oct 20, 2018 at 05:19:45PM +0300, Roman Bolshakov wrote:
>   conf: Define hvf domain type
>   qemu: Define hvf capability
>   qemu: Query hvf capability on macOS
>   qemu: Expose hvf domain type if hvf is supported
>   qemu: Rename kvmCPU to accelCPU
>   qemu: Introduce virQEMUCapsTypeIsAccelerated
>   qemu: Introduce virQEMUCapsHaveAccel
>   qemu: Introduce virQEMUCapsToVirtType
>   qemu: Introduce virQEMUCapsAccelStr
>   qemu: Make error message accel-agnostic
>   qemu: Correct CPU capabilities probing for hvf
>   schema: Add hvf domain type
>   news: Mention hvf domain type
> 

After a rebase I broke the build in the patch 6. I'll fix it in v2.
And there's a redundant argument in patch 3. I can fix it too.

-
Roman

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list