[Qemu-devel] [PULL v3 00/19] Initial support for Hypervisor.framework

Paolo Bonzini posted 19 patches 6 years, 3 months ago
Only 0 patches received!
There is a newer version of this series
accel/stubs/Makefile.objs     |    1 +
accel/stubs/hvf-stub.c        |   31 +
configure                     |   38 +
cpus.c                        |   86 ++
hw/intc/apic.c                |   12 +
include/hw/i386/apic.h        |    1 +
include/qemu/typedefs.h       |    1 +
include/qom/cpu.h             |    2 +
include/sysemu/hvf.h          |  107 ++
qemu-options.hx               |   10 +-
target/i386/Makefile.objs     |    1 +
target/i386/cpu-qom.h         |    4 +-
target/i386/cpu.c             |   80 +-
target/i386/cpu.h             |  101 +-
target/i386/hvf/Makefile.objs |    2 +
target/i386/hvf/README.md     |    7 +
target/i386/hvf/hvf-i386.h    |   48 +
target/i386/hvf/hvf.c         |  959 ++++++++++++++++++
target/i386/hvf/panic.h       |   45 +
target/i386/hvf/vmcs.h        |  374 +++++++
target/i386/hvf/vmx.h         |  222 +++++
target/i386/hvf/x86.c         |  186 ++++
target/i386/hvf/x86.h         |  400 ++++++++
target/i386/hvf/x86_cpuid.c   |  166 ++++
target/i386/hvf/x86_decode.c  | 2186 +++++++++++++++++++++++++++++++++++++++++
target/i386/hvf/x86_decode.h  |  323 ++++++
target/i386/hvf/x86_descr.c   |  125 +++
target/i386/hvf/x86_descr.h   |   58 ++
target/i386/hvf/x86_emu.c     | 1483 ++++++++++++++++++++++++++++
target/i386/hvf/x86_emu.h     |   49 +
target/i386/hvf/x86_flags.c   |  315 ++++++
target/i386/hvf/x86_flags.h   |   80 ++
target/i386/hvf/x86_mmu.c     |  272 +++++
target/i386/hvf/x86_mmu.h     |   43 +
target/i386/hvf/x86_task.c    |  192 ++++
target/i386/hvf/x86_task.h    |   18 +
target/i386/hvf/x86hvf.c      |  465 +++++++++
target/i386/hvf/x86hvf.h      |   39 +
target/i386/kvm.c             |    2 -
39 files changed, 8475 insertions(+), 59 deletions(-)
create mode 100644 accel/stubs/hvf-stub.c
create mode 100644 include/sysemu/hvf.h
create mode 100644 target/i386/hvf/Makefile.objs
create mode 100644 target/i386/hvf/README.md
create mode 100644 target/i386/hvf/hvf-i386.h
create mode 100644 target/i386/hvf/hvf.c
create mode 100644 target/i386/hvf/panic.h
create mode 100644 target/i386/hvf/vmcs.h
create mode 100644 target/i386/hvf/vmx.h
create mode 100644 target/i386/hvf/x86.c
create mode 100644 target/i386/hvf/x86.h
create mode 100644 target/i386/hvf/x86_cpuid.c
create mode 100644 target/i386/hvf/x86_decode.c
create mode 100644 target/i386/hvf/x86_decode.h
create mode 100644 target/i386/hvf/x86_descr.c
create mode 100644 target/i386/hvf/x86_descr.h
create mode 100644 target/i386/hvf/x86_emu.c
create mode 100644 target/i386/hvf/x86_emu.h
create mode 100644 target/i386/hvf/x86_flags.c
create mode 100644 target/i386/hvf/x86_flags.h
create mode 100644 target/i386/hvf/x86_mmu.c
create mode 100644 target/i386/hvf/x86_mmu.h
create mode 100644 target/i386/hvf/x86_task.c
create mode 100644 target/i386/hvf/x86_task.h
create mode 100644 target/i386/hvf/x86hvf.c
create mode 100644 target/i386/hvf/x86hvf.h
[Qemu-devel] [PULL v3 00/19] Initial support for Hypervisor.framework
Posted by Paolo Bonzini 6 years, 3 months ago
The following changes since commit 200780a3a3ed067dfb2e0d2210b0ed09e748ba26:

  Merge remote-tracking branch 'remotes/armbru/tags/pull-cmdline-2017-12-18-v2' into staging (2017-12-20 13:20:48 +0000)

are available in the Git repository at:

  git://github.com/bonzini/qemu.git tags/for-upstream-hvf

for you to fetch changes up to e7c116fa90f3508a7ef5950e9bed5af11d8c192c:

  i386: hvf: cleanup x86_gen.h (2017-12-21 21:24:54 +0100)

----------------------------------------------------------------
Initial support for the HVF accelerator

----------------------------------------------------------------
Paolo Bonzini (10):
      i386: hvf: move all hvf files in the same directory
      i386: hvf: header cleanup
      i386: hvf: unify register enums between HVF and the rest
      i386: hvf: remove more dead emulator code
      i386: hvf: remove ZERO_INIT macro
      i386: hvf: abort on decoding error
      i386: hvf: simplify flag handling
      i386: hvf: remove addr_t
      i386: hvf: remove VM_PANIC from "in"
      i386: hvf: cleanup x86_gen.h

Sergio Andres Gomez Del Real (9):
      apic: add function to apic that will be used by hvf
      i386: hvf: add code base from Google's QEMU repository
      i386: hvf: fix licensing issues; isolate task handling code (GPL v2-only)
      i386: hvf: use new helper functions for put/get xsave
      i386: hvf: implement hvf_get_supported_cpuid
      i386: refactor KVM cpuid code so that it applies to hvf as well
      i386: hvf: implement vga dirty page tracking
      i386: hvf: refactor event injection code for hvf
      i386: hvf: inject General Protection Fault when vmexit through vmcall

 accel/stubs/Makefile.objs     |    1 +
 accel/stubs/hvf-stub.c        |   31 +
 configure                     |   38 +
 cpus.c                        |   86 ++
 hw/intc/apic.c                |   12 +
 include/hw/i386/apic.h        |    1 +
 include/qemu/typedefs.h       |    1 +
 include/qom/cpu.h             |    2 +
 include/sysemu/hvf.h          |  107 ++
 qemu-options.hx               |   10 +-
 target/i386/Makefile.objs     |    1 +
 target/i386/cpu-qom.h         |    4 +-
 target/i386/cpu.c             |   80 +-
 target/i386/cpu.h             |  101 +-
 target/i386/hvf/Makefile.objs |    2 +
 target/i386/hvf/README.md     |    7 +
 target/i386/hvf/hvf-i386.h    |   48 +
 target/i386/hvf/hvf.c         |  959 ++++++++++++++++++
 target/i386/hvf/panic.h       |   45 +
 target/i386/hvf/vmcs.h        |  374 +++++++
 target/i386/hvf/vmx.h         |  222 +++++
 target/i386/hvf/x86.c         |  186 ++++
 target/i386/hvf/x86.h         |  400 ++++++++
 target/i386/hvf/x86_cpuid.c   |  166 ++++
 target/i386/hvf/x86_decode.c  | 2186 +++++++++++++++++++++++++++++++++++++++++
 target/i386/hvf/x86_decode.h  |  323 ++++++
 target/i386/hvf/x86_descr.c   |  125 +++
 target/i386/hvf/x86_descr.h   |   58 ++
 target/i386/hvf/x86_emu.c     | 1483 ++++++++++++++++++++++++++++
 target/i386/hvf/x86_emu.h     |   49 +
 target/i386/hvf/x86_flags.c   |  315 ++++++
 target/i386/hvf/x86_flags.h   |   80 ++
 target/i386/hvf/x86_mmu.c     |  272 +++++
 target/i386/hvf/x86_mmu.h     |   43 +
 target/i386/hvf/x86_task.c    |  192 ++++
 target/i386/hvf/x86_task.h    |   18 +
 target/i386/hvf/x86hvf.c      |  465 +++++++++
 target/i386/hvf/x86hvf.h      |   39 +
 target/i386/kvm.c             |    2 -
 39 files changed, 8475 insertions(+), 59 deletions(-)
 create mode 100644 accel/stubs/hvf-stub.c
 create mode 100644 include/sysemu/hvf.h
 create mode 100644 target/i386/hvf/Makefile.objs
 create mode 100644 target/i386/hvf/README.md
 create mode 100644 target/i386/hvf/hvf-i386.h
 create mode 100644 target/i386/hvf/hvf.c
 create mode 100644 target/i386/hvf/panic.h
 create mode 100644 target/i386/hvf/vmcs.h
 create mode 100644 target/i386/hvf/vmx.h
 create mode 100644 target/i386/hvf/x86.c
 create mode 100644 target/i386/hvf/x86.h
 create mode 100644 target/i386/hvf/x86_cpuid.c
 create mode 100644 target/i386/hvf/x86_decode.c
 create mode 100644 target/i386/hvf/x86_decode.h
 create mode 100644 target/i386/hvf/x86_descr.c
 create mode 100644 target/i386/hvf/x86_descr.h
 create mode 100644 target/i386/hvf/x86_emu.c
 create mode 100644 target/i386/hvf/x86_emu.h
 create mode 100644 target/i386/hvf/x86_flags.c
 create mode 100644 target/i386/hvf/x86_flags.h
 create mode 100644 target/i386/hvf/x86_mmu.c
 create mode 100644 target/i386/hvf/x86_mmu.h
 create mode 100644 target/i386/hvf/x86_task.c
 create mode 100644 target/i386/hvf/x86_task.h
 create mode 100644 target/i386/hvf/x86hvf.c
 create mode 100644 target/i386/hvf/x86hvf.h
-- 
        2.14.3

Re: [Qemu-devel] [PULL v3 00/19] Initial support for Hypervisor.framework
Posted by Peter Maydell 6 years, 3 months ago
On 21 December 2017 at 20:27, Paolo Bonzini <pbonzini@redhat.com> wrote:
> The following changes since commit 200780a3a3ed067dfb2e0d2210b0ed09e748ba26:
>
>   Merge remote-tracking branch 'remotes/armbru/tags/pull-cmdline-2017-12-18-v2' into staging (2017-12-20 13:20:48 +0000)
>
> are available in the Git repository at:
>
>   git://github.com/bonzini/qemu.git tags/for-upstream-hvf
>
> for you to fetch changes up to e7c116fa90f3508a7ef5950e9bed5af11d8c192c:
>
>   i386: hvf: cleanup x86_gen.h (2017-12-21 21:24:54 +0100)
>
> ----------------------------------------------------------------
> Initial support for the HVF accelerator


OSX still doesn't build:

/Users/pm215/src/qemu-for-merges/target/i386/hvf/x86_task.c:23:10:
fatal error: 'x86_cpuid.h' file not found
#include "x86_cpuid.h"
         ^

make -k thinks this is the last compile error, though.

thanks
-- PMM

Re: [Qemu-devel] [PULL v3 00/19] Initial support for Hypervisor.framework
Posted by Paolo Bonzini 6 years, 3 months ago
On 22/12/2017 14:47, Peter Maydell wrote:
> On 21 December 2017 at 20:27, Paolo Bonzini <pbonzini@redhat.com> wrote:
>> The following changes since commit 200780a3a3ed067dfb2e0d2210b0ed09e748ba26:
>>
>>   Merge remote-tracking branch 'remotes/armbru/tags/pull-cmdline-2017-12-18-v2' into staging (2017-12-20 13:20:48 +0000)
>>
>> are available in the Git repository at:
>>
>>   git://github.com/bonzini/qemu.git tags/for-upstream-hvf
>>
>> for you to fetch changes up to e7c116fa90f3508a7ef5950e9bed5af11d8c192c:
>>
>>   i386: hvf: cleanup x86_gen.h (2017-12-21 21:24:54 +0100)
>>
>> ----------------------------------------------------------------
>> Initial support for the HVF accelerator
> 
> 
> OSX still doesn't build:
> 
> /Users/pm215/src/qemu-for-merges/target/i386/hvf/x86_task.c:23:10:
> fatal error: 'x86_cpuid.h' file not found
> #include "x86_cpuid.h"
>          ^
> 
> make -k thinks this is the last compile error, though.

Thanks (the errors were the result of some late removal of unused
functions, after a user told me it worked fine for him).  During the
holidays I might try to actually use it on my in-laws' Mac...

Paolo