Initial support for Hypervisor.framework
The following changes since commit f1faf2d59c91a8f1f59a0fc6339154efb749b55d:
Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging (2017-12-20 11:30:55 +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 5fd1a70fb75d53b43dfff636a9c641dbf03f949f:
i386: hvf: cleanup x86_gen.h (2017-12-20 18:39:06 +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
configure | 38 + cpus.c | 89 ++ 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 | 955 ++++++++++++++++++ target/i386/hvf/panic.h | 45 + target/i386/hvf/vmcs.h | 371 +++++++ target/i386/hvf/vmx.h | 222 +++++ target/i386/hvf/x86.c | 186 ++++ target/i386/hvf/x86.h | 400 ++++++++ target/i386/hvf/x86_cpuid.c | 165 ++++ 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_gen.h | 45 + target/i386/hvf/x86_mmu.c | 271 +++++ 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 | 463 +++++++++ target/i386/hvf/x86hvf.h | 39 + target/i386/kvm.c | 2 - 38 files changed, 8480 insertions(+), 59 deletions(-) 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_gen.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
Signature · 1 line
2.14.3
[Qemu-devel] [PULL 01/19] apic: add function to apic that will be used by hvf
From: Sergio Andres Gomez Del Real <[email protected]>
This patch adds the function apic_get_highest_priority_irr to apic.c and exports it through the interface in apic.h for use by hvf.
Message-Id: <[email protected]>
--- hw/intc/apic.c | 12 ++++++++++++ include/hw/i386/apic.h | 1 + 2 files changed, 13 insertions(+)
hw/intc/apic.c +12 -0
@@ -305,6 +305,18 @@ static void apic_set_tpr(APICCommonState *s, uint8_t val) } } +int apic_get_highest_priority_irr (DeviceState *dev) +{ +APICCommonState *s; + +if (!dev) { +/* no interrupts */ +return -1 ; + } + s =APIC_COMMON (dev); +return get_highest_priority_int (s->irr); +} +static uint8_t apic_get_tpr (APICCommonState *s) {apic_sync_vapic (s,SYNC_FROM_VAPIC );
include/hw/i386/apic.h +1 -0
@@ -20,6 +20,7 @@ void apic_init_reset(DeviceState *s);void apic_sipi (DeviceState *s);void apic_poll_irq (DeviceState *d);void apic_designate_bsp (DeviceState *d,bool bsp); +int apic_get_highest_priority_irr (DeviceState *dev);/* pc.c */ DeviceState *cpu_get_current_apic (void );
Signature · 1 line
2.14.3
[Qemu-devel] [PULL 04/19] i386: hvf: use new helper functions for put/get xsave
In reply to Paolo BonziniFrom: Sergio Andres Gomez Del Real <[email protected]>
This patch makes use of the helper functions for handling xsave in xsave_helper.c, which are shared with kvm.
Message-Id: <[email protected]>
--- target/i386/hvf-all.c | 3 +- target/i386/hvf-utils/x86.h | 7 ----- target/i386/hvf-utils/x86hvf.c | 69 +++++++----------------------------------- 3 files changed, 12 insertions(+), 67 deletions(-)
target/i386/hvf-all.c +1 -2
@@ -499,8 +499,7 @@ int hvf_init_vcpu(CPUState *cpu)hvf_reset_vcpu (cpu); x86cpu =X86_CPU (cpu); - x86cpu->env.kvm_xsave_buf =qemu_memalign (4096 , -sizeof (struct hvf_xsave_buf )); + x86cpu->env.kvm_xsave_buf =qemu_memalign (4096 ,4096 );hv_vcpu_enable_native_msr (cpu->hvf_fd,MSR_STAR ,1 );hv_vcpu_enable_native_msr (cpu->hvf_fd,MSR_LSTAR ,1 );
target/i386/hvf-utils/x86.h +0 -7
@@ -373,13 +373,6 @@ struct HVFX86EmulatorState {uint8_t mmio_buf[4096 ]; }; -/* -* hvf xsave area -*/ -struct hvf_xsave_buf { -uint32_t data[1024 ]; -}; -/* useful register access macros */ #define RIP (cpu) (cpu->hvf_emul->rip)#define EIP (cpu) ((uint32_t)cpu->hvf_emul->rip)
target/i386/hvf-utils/x86hvf.c +11 -58
86 lines not on this page · raw message
Signature · 1 line
2.14.3
[Qemu-devel] [PULL 07/19] i386: hvf: implement vga dirty page tracking
In reply to Paolo BonziniFrom: Sergio Andres Gomez Del Real <[email protected]>
This patch implements setting the tracking of dirty vga pages, using hvf's interface to protect guest memory. It uses the MemoryListener callback mechanism through .log_start/stop/sync
Message-Id: <[email protected]>
--- include/sysemu/hvf.h | 5 ++++ target/i386/hvf-all.c | 73 ++++++++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 71 insertions(+), 7 deletions(-)
include/sysemu/hvf.h +5 -0
@@ -34,11 +34,16 @@ uint32_t hvf_get_supported_cpuid(uint32_t func, uint32_t idx,#define hvf_get_supported_cpuid (func, idx, reg) 0#endif +/* hvf_slot flags */ +#define HVF_SLOT_LOG (1 << 0) +typedef struct hvf_slot {uint64_t start;uint64_t size;uint8_t *mem;int slot_id; +uint32_t flags; +MemoryRegion *region; }hvf_slot ; typedef struct hvf_vcpu_caps {
target/i386/hvf-all.c +66 -7
115 lines not on this page · raw message
Signature · 1 line
2.14.3
[Qemu-devel] [PULL 05/19] i386: hvf: implement hvf_get_supported_cpuid
In reply to Paolo BonziniFrom: Sergio Andres Gomez Del Real <[email protected]>
This patch implements hvf_get_supported_cpuid, which returns the set of features supported by both the host processor and the hypervisor.
Message-Id: <[email protected]>
--- target/i386/hvf-utils/x86_cpuid.c | 164 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 164 insertions(+) create mode 100644 target/i386/hvf-utils/x86_cpuid.c
target/i386/hvf-utils/x86_cpuid.c new file +164 -0
@@ -0,0 +1,164 @@ +/* +* i386 CPUID helper functions +* +* Copyright (c) 2003 Fabrice Bellard +* Copyright (c) 2017 Google Inc. +* +* This program is free software; you can redistribute it and/or +* modify it under the terms of the GNU Lesser General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +* Lesser General Public License for more details. +* +* You should have received a copy of the GNU Lesser General Public +* License along with this program; if not, see <http://www.gnu.org/licenses/>. +* +* cpuid +*/ + +#include "qemu/osdep.h" +#include "x86.h" +#include "vmx.h" +#include "sysemu/hvf.h" + +static uint64_t xgetbv (uint32_t xcr) +{ +uint32_t eax, edx; + + __asm__volatile ("xgetbv" + :"=a" (eax),"=d" (edx) + :"c" (xcr)); + +return (((uint64_t )edx) <<32 ) | eax; +} + +static bool vmx_mpx_supported () +{ +uint64_t cap_exit, cap_entry; + +hv_vmx_read_capability (HV_VMX_CAP_ENTRY , &cap_entry); +hv_vmx_read_capability (HV_VMX_CAP_EXIT , &cap_exit); + +return ((cap_exit & (1 <<23 )) && (cap_entry & (1 <<16 ))); +} + +uint32_t hvf_get_supported_cpuid (uint32_t func,uint32_t idx, +int reg) +{ +uint64_t cap; +uint32_t eax, ebx, ecx, edx; + +host_cpuid (func, idx, &eax, &ebx, &ecx, &edx); + +switch (func) { +case 0 : + eax = eax < (uint32_t )0xd ? eax : (uint32_t )0xd ; +break ; +case 1 : + edx &=CPUID_FP87 |CPUID_VME |CPUID_DE |CPUID_PSE |CPUID_TSC | +CPUID_MSR |CPUID_PAE |CPUID_MCE |CPUID_CX8 |CPUID_APIC | +CPUID_SEP |CPUID_MTRR |CPUID_PGE |CPUID_MCA |CPUID_CMOV | +CPUID_PAT |CPUID_PSE36 |CPUID_CLFLUSH |CPUID_MMX | +CPUID_FXSR |CPUID_SSE |CPUID_SSE2 |CPUID_SS ; + ecx &=CPUID_EXT_SSE3 |CPUID_EXT_PCLMULQDQ |CPUID_EXT_SSSE3 | +CPUID_EXT_FMA |CPUID_EXT_CX16 |CPUID_EXT_PCID | +CPUID_EXT_SSE41 |CPUID_EXT_SSE42 |CPUID_EXT_MOVBE | +CPUID_EXT_POPCNT |CPUID_EXT_AES |CPUID_EXT_XSAVE | +CPUID_EXT_AVX |CPUID_EXT_F16C |CPUID_EXT_RDRAND ; + ecx |=CPUID_EXT_HYPERVISOR ; +break ; +case 6 : + eax =CPUID_6_EAX_ARAT ; + ebx =0 ; + ecx =0 ; + edx =0 ; +break ; +case 7 : +if (idx ==0 ) { + ebx &=CPUID_7_0_EBX_FSGSBASE |CPUID_7_0_EBX_BMI1 | +CPUID_7_0_EBX_HLE |CPUID_7_0_EBX_AVX2 | +CPUID_7_0_EBX_SMEP |CPUID_7_0_EBX_BMI2 | +CPUID_7_0_EBX_ERMS |CPUID_7_0_EBX_RTM | +CPUID_7_0_EBX_RDSEED |CPUID_7_0_EBX_ADX | +CPUID_7_0_EBX_SMAP |CPUID_7_0_EBX_AVX512IFMA | +CPUID_7_0_EBX_AVX512F |CPUID_7_0_EBX_AVX512PF | +CPUID_7_0_EBX_AVX512ER |CPUID_7_0_EBX_AVX512CD | +CPUID_7_0_EBX_CLFLUSHOPT |CPUID_7_0_EBX_CLWB | +CPUID_7_0_EBX_AVX512DQ |CPUID_7_0_EBX_SHA_NI | +CPUID_7_0_EBX_AVX512BW |CPUID_7_0_EBX_AVX512VL | +CPUID_7_0_EBX_INVPCID |CPUID_7_0_EBX_MPX ; + +if (!vmx_mpx_supported ()) { + ebx &= ~CPUID_7_0_EBX_MPX ; + } +hv_vmx_read_capability (HV_VMX_CAP_PROCBASED2 , &cap); +if (!(cap &CPU_BASED2_INVPCID )) { + ebx &= ~CPUID_7_0_EBX_INVPCID ; + } + + ecx &=CPUID_7_0_ECX_AVX512BMI |CPUID_7_0_ECX_AVX512_VPOPCNTDQ ; + edx &=CPUID_7_0_EDX_AVX512_4VNNIW |CPUID_7_0_EDX_AVX512_4FMAPS ; + }else { + ebx =0 ; + ecx =0 ; + edx =0 ; + } + eax =0 ; +break ; +case 0xD : +if (idx ==0 ) { +uint64_t host_xcr0 =xgetbv (0 ); +uint64_t supp_xcr0 = host_xcr0 & (XSTATE_FP_MASK |XSTATE_SSE_MASK | +XSTATE_YMM_MASK |XSTATE_BNDREGS_MASK | +XSTATE_BNDCSR_MASK |XSTATE_OPMASK_MASK | + XSTATE_ZMM_Hi256_MASK | XSTATE_Hi16_ZMM_MASK); + eax &= supp_xcr0; +if (!vmx_mpx_supported ()) { + eax &= ~(XSTATE_BNDREGS_MASK |XSTATE_BNDCSR_MASK ); + } + }else if (idx ==1 ) { +hv_vmx_read_capability (HV_VMX_CAP_PROCBASED2 , &cap); + eax &=CPUID_XSAVE_XSAVEOPT |CPUID_XSAVE_XGETBV1 ; +if (!(cap &CPU_BASED2_XSAVES_XRSTORS )) { + eax &= ~CPUID_XSAVE_XSAVES ; + } + } +break ; +case 0x80000001 : +/* LM only if HVF in 64-bit mode */ + edx &=CPUID_FP87 |CPUID_VME |CPUID_DE |CPUID_PSE |CPUID_TSC | +CPUID_MSR |CPUID_PAE |CPUID_MCE |CPUID_CX8 |CPUID_APIC | +CPUID_EXT2_SYSCALL |CPUID_MTRR |CPUID_PGE |CPUID_MCA |CPUID_CMOV | +CPUID_PAT |CPUID_PSE36 |CPUID_EXT2_MMXEXT |CPUID_MMX | +CPUID_FXSR |CPUID_EXT2_FXSR |CPUID_EXT2_PDPE1GB |CPUID_EXT2_3DNOWEXT | +CPUID_EXT2_3DNOW |CPUID_EXT2_LM |CPUID_EXT2_RDTSCP |CPUID_EXT2_NX ; +hv_vmx_read_capability (HV_VMX_CAP_PROCBASED , &cap); +if (!(cap &CPU_BASED_TSC_OFFSET )) { + edx &= ~CPUID_EXT2_RDTSCP ; + } + ecx &=CPUID_EXT3_LAHF_LM |CPUID_EXT3_CMP_LEG |CPUID_EXT3_CR8LEG | +CPUID_EXT3_ABM |CPUID_EXT3_SSE4A |CPUID_EXT3_MISALIGNSSE | +CPUID_EXT3_3DNOWPREFETCH |CPUID_EXT3_OSVW |CPUID_EXT3_XOP | +CPUID_EXT3_FMA4 |CPUID_EXT3_TBM ; +break ; +default : +return 0 ; + } + +switch (reg) { +case R_EAX : +return eax; +case R_EBX : +return ebx; +case R_ECX : +return ecx; +case R_EDX : +return edx; +default : +return 0 ; + } +}
Signature · 1 line
2.14.3
[Qemu-devel] [PULL 08/19] i386: hvf: refactor event injection code for hvf
In reply to Paolo BonziniFrom: Sergio Andres Gomez Del Real <[email protected]>
This patch refactors the event-injection code for hvf by using the appropriate fields already provided by CPUX86State. At vmexit, it fills these fields so that hvf_inject_interrupts can just retrieve them without calling into hvf.
Message-Id: <[email protected]>
--- target/i386/cpu.c | 3 ++ target/i386/hvf-all.c | 57 ++++++++++++++++++++++++++++++++---- target/i386/hvf-utils/vmcs.h | 3 ++ target/i386/hvf-utils/vmx.h | 8 ++++++ target/i386/hvf-utils/x86hvf.c | 65 ++++++++++++++++++++---------------------- target/i386/kvm.c | 2 -- 6 files changed, 97 insertions(+), 41 deletions(-)
target/i386/cpu.c +3 -0
@@ -3285,6 +3285,9 @@ static void x86_cpu_reset(CPUState *s)memset (env->mtrr_var,0 ,sizeof (env->mtrr_var));memset (env->mtrr_fixed,0 ,sizeof (env->mtrr_fixed)); + env->interrupt_injected =-1 ; + env->exception_injected =-1 ; + env->nmi_injected = false;#if !defined(CONFIG_USER_ONLY )/* We hard-wire the BSP to the first CPU. */ apic_designate_bsp (cpu->apic_state, s->cpu_index ==0 );
target/i386/hvf-all.c +52 -5
76 lines not on this page · raw message
target/i386/hvf-utils/vmcs.h +3 -0
@@ -299,6 +299,7 @@/* * VMCS IDT-Vectoring information fields */ +#define VMCS_IDT_VEC_VECNUM 0xFF#define VMCS_IDT_VEC_VALID (1U << 31)#define VMCS_IDT_VEC_TYPE 0x700#define VMCS_IDT_VEC_ERRCODE_VALID (1U << 11)
@@ -306,6 +307,8 @@#define VMCS_IDT_VEC_NMI (2 << 8)#define VMCS_IDT_VEC_HWEXCEPTION (3 << 8)#define VMCS_IDT_VEC_SWINTR (4 << 8) +#define VMCS_IDT_VEC_PRIV_SWEXCEPTION (5 << 8) +#define VMCS_IDT_VEC_SWEXCEPTION (6 << 8)/* * VMCS Guest interruptibility field
target/i386/hvf-utils/vmx.h +8 -0
@@ -181,6 +181,10 @@ static inline void macvm_set_rip(CPUState *cpu, uint64_t rip)static inline void vmx_clear_nmi_blocking (CPUState *cpu) { +X86CPU *x86_cpu =X86_CPU (cpu); +CPUX86State *env = &x86_cpu->env; + + env->hflags2 &= ~HF2_NMI_MASK ;uint32_t gi = (uint32_t )rvmcs (cpu->hvf_fd,VMCS_GUEST_INTERRUPTIBILITY ); gi &= ~VMCS_INTERRUPTIBILITY_NMI_BLOCKING ;wvmcs (cpu->hvf_fd,VMCS_GUEST_INTERRUPTIBILITY , gi);
@@ -188,6 +192,10 @@ static inline void vmx_clear_nmi_blocking(CPUState *cpu)static inline void vmx_set_nmi_blocking (CPUState *cpu) { +X86CPU *x86_cpu =X86_CPU (cpu); +CPUX86State *env = &x86_cpu->env; + + env->hflags2 |=HF2_NMI_MASK ;uint32_t gi = (uint32_t )rvmcs (cpu->hvf_fd,VMCS_GUEST_INTERRUPTIBILITY ); gi |=VMCS_INTERRUPTIBILITY_NMI_BLOCKING ;wvmcs (cpu->hvf_fd,VMCS_GUEST_INTERRUPTIBILITY , gi);
target/i386/hvf-utils/x86hvf.c +31 -34
95 lines not on this page · raw message
target/i386/kvm.c +0 -2
@@ -1044,8 +1044,6 @@ void kvm_arch_reset_vcpu(X86CPU *cpu) {CPUX86State *env = &cpu->env; - env->exception_injected =-1 ; - env->interrupt_injected =-1 ; env->xcr0 =1 ;if (kvm_irqchip_in_kernel ()) { env->mp_state = cpu_is_bsp(cpu) ? KVM_MP_STATE_RUNNABLE :
Signature · 1 line
2.14.3
[Qemu-devel] [PULL 03/19] i386: hvf: fix licensing issues; isolate task handling code (GPL v2-only)
In reply to Paolo BonziniFrom: Sergio Andres Gomez Del Real <[email protected]>
This patch replaces the license header for those files that were either GPL v2-or-v3, or GPL v2-only; the replacing license is GPL v2-or-later. The code for task switching/handling, which is derived from KVM and hence is GPL v2-only, is isolated in the new files (with this license) x86_task.c/.h, and the corresponding compilation rule is added to target/i386/hvf-utils/Makefile.objs.
Message-Id: <[email protected]>
--- target/i386/hvf-all.c | 155 +-------------------------- target/i386/hvf-utils/Makefile.objs | 2 +- target/i386/hvf-utils/vmx.h | 14 +-- target/i386/hvf-utils/x86.c | 14 +-- target/i386/hvf-utils/x86.h | 14 +-- target/i386/hvf-utils/x86_decode.c | 14 +-- target/i386/hvf-utils/x86_decode.h | 14 +-- target/i386/hvf-utils/x86_descr.c | 14 +-- target/i386/hvf-utils/x86_descr.h | 14 +-- target/i386/hvf-utils/x86_emu.c | 14 +-- target/i386/hvf-utils/x86_emu.h | 14 +-- target/i386/hvf-utils/x86_gen.h | 14 +-- target/i386/hvf-utils/x86_mmu.c | 14 +-- target/i386/hvf-utils/x86_mmu.h | 14 +-- target/i386/hvf-utils/x86_task.c | 201 ++++++++++++++++++++++++++++++++++++ target/i386/hvf-utils/x86_task.h | 18 ++++ target/i386/hvf-utils/x86hvf.c | 14 +-- target/i386/hvf-utils/x86hvf.h | 14 +-- 18 files changed, 319 insertions(+), 253 deletions(-) create mode 100644 target/i386/hvf-utils/x86_task.c create mode 100644 target/i386/hvf-utils/x86_task.h
target/i386/hvf-all.c +1 -154
@@ -31,6 +31,7 @@#include "hvf-utils/x86_mmu.h" #include "hvf-utils/x86_decode.h" #include "hvf-utils/x86_emu.h" +#include "hvf-utils/x86_task.h" #include "hvf-utils/x86hvf.h" #include <Hypervisor/hv.h>
@@ -224,160 +225,6 @@ void update_apic_tpr(CPUState *cpu)#define VECTORING_INFO_VECTOR_MASK 0xff -// TODO: taskswitch handling -static void save_state_to_tss32 (CPUState *cpu,struct x86_tss_segment32 *tss) -{ -/* CR3 and ldt selector are not saved intentionally */ - tss->eip =EIP (cpu); - tss->eflags =EFLAGS (cpu); - tss->eax =EAX (cpu); - tss->ecx =ECX (cpu); - tss->edx =EDX (cpu); - tss->ebx =EBX (cpu); - tss->esp =ESP (cpu); - tss->ebp =EBP (cpu); - tss->esi =ESI (cpu); - tss->edi =EDI (cpu); - - tss->es =vmx_read_segment_selector (cpu,REG_SEG_ES ).sel; - tss->cs =vmx_read_segment_selector (cpu,REG_SEG_CS ).sel; - tss->ss =vmx_read_segment_selector (cpu,REG_SEG_SS ).sel; - tss->ds =vmx_read_segment_selector (cpu,REG_SEG_DS ).sel; - tss->fs =vmx_read_segment_selector (cpu,REG_SEG_FS ).sel; - tss->gs =vmx_read_segment_selector (cpu,REG_SEG_GS ).sel; -} - -static void load_state_from_tss32 (CPUState *cpu,struct x86_tss_segment32 *tss) -{ -wvmcs (cpu->hvf_fd,VMCS_GUEST_CR3 , tss->cr3); - -RIP (cpu) = tss->eip; -EFLAGS (cpu) = tss->eflags |2 ; - -/* General purpose registers */ -RAX (cpu) = tss->eax; -RCX (cpu) = tss->ecx; -RDX (cpu) = tss->edx; -RBX (cpu) = tss->ebx; -RSP (cpu) = tss->esp; -RBP (cpu) = tss->ebp; -RSI (cpu) = tss->esi; -RDI (cpu) = tss->edi; - -vmx_write_segment_selector (cpu, (x68_segment_selector ){{tss->ldt}},REG_SEG_LDTR ); -vmx_write_segment_selector (cpu, (x68_segment_selector ){{tss->es}},REG_SEG_ES ); -vmx_write_segment_selector (cpu, (x68_segment_selector ){{tss->cs}},REG_SEG_CS ); -vmx_write_segment_selector (cpu, (x68_segment_selector ){{tss->ss}},REG_SEG_SS ); -vmx_write_segment_selector (cpu, (x68_segment_selector ){{tss->ds}},REG_SEG_DS ); -vmx_write_segment_selector (cpu, (x68_segment_selector ){{tss->fs}},REG_SEG_FS ); -vmx_write_segment_selector (cpu, (x68_segment_selector ){{tss->gs}},REG_SEG_GS ); - -#if 0 -load_segment (cpu,REG_SEG_LDTR , tss->ldt); -load_segment (cpu,REG_SEG_ES , tss->es); -load_segment (cpu,REG_SEG_CS , tss->cs); -load_segment (cpu,REG_SEG_SS , tss->ss); -load_segment (cpu,REG_SEG_DS , tss->ds); -load_segment (cpu,REG_SEG_FS , tss->fs); -load_segment (cpu,REG_SEG_GS , tss->gs); -#endif -} - -static int task_switch_32 (CPUState *cpu,x68_segment_selector tss_sel,x68_segment_selector old_tss_sel, -uint64_t old_tss_base,struct x86_segment_descriptor *new_desc) -{ -struct x86_tss_segment32 tss_seg; -uint32_t new_tss_base =x86_segment_base (new_desc); -uint32_t eip_offset = offsetof(struct x86_tss_segment32 , eip); -uint32_t ldt_sel_offset = offsetof(struct x86_tss_segment32 , ldt); - -vmx_read_mem (cpu, &tss_seg, old_tss_base,sizeof (tss_seg)); -save_state_to_tss32 (cpu, &tss_seg); - -vmx_write_mem (cpu, old_tss_base + eip_offset, &tss_seg.eip, ldt_sel_offset - eip_offset); -vmx_read_mem (cpu, &tss_seg, new_tss_base,sizeof (tss_seg)); - -if (old_tss_sel.sel !=0xffff ) { - tss_seg.prev_tss = old_tss_sel.sel; - -vmx_write_mem (cpu, new_tss_base, &tss_seg.prev_tss,sizeof (tss_seg.prev_tss)); - } -load_state_from_tss32 (cpu, &tss_seg); -return 0 ; -} - -static void vmx_handle_task_switch (CPUState *cpu,x68_segment_selector tss_sel,int reason,bool gate_valid,uint8_t gate,uint64_t gate_type) -{ -uint64_t rip =rreg (cpu->hvf_fd,HV_X86_RIP ); -if (!gate_valid || (gate_type !=VMCS_INTR_T_HWEXCEPTION && - gate_type !=VMCS_INTR_T_HWINTR && - gate_type !=VMCS_INTR_T_NMI )) { -int ins_len =rvmcs (cpu->hvf_fd,VMCS_EXIT_INSTRUCTION_LENGTH ); -macvm_set_rip (cpu, rip + ins_len); -return ; - } - -load_regs (cpu); - -struct x86_segment_descriptor curr_tss_desc, next_tss_desc; -int ret; -x68_segment_selector old_tss_sel =vmx_read_segment_selector (cpu,REG_SEG_TR ); -uint64_t old_tss_base =vmx_read_segment_base (cpu,REG_SEG_TR ); -uint32_t desc_limit; -struct x86_call_gate task_gate_desc; -struct vmx_segment vmx_seg; - -x86_read_segment_descriptor (cpu, &next_tss_desc, tss_sel); -x86_read_segment_descriptor (cpu, &curr_tss_desc, old_tss_sel); - -if (reason ==TSR_IDT_GATE && gate_valid) { -int dpl; - - ret =x86_read_call_gate (cpu, &task_gate_desc, gate); - - dpl = task_gate_desc.dpl; -x68_segment_selector cs =vmx_read_segment_selector (cpu,REG_SEG_CS ); -if (tss_sel.rpl > dpl || cs.rpl > dpl) - ;//DPRINTF("emulate_gp"); - } - - desc_limit =x86_segment_limit (&next_tss_desc); -if (!next_tss_desc.p || ((desc_limit <0x67 && (next_tss_desc.type &8 )) || desc_limit <0x2b )) { -VM_PANIC ("emulate_ts" ); - } - -if (reason ==TSR_IRET || reason ==TSR_JMP ) { - curr_tss_desc.type &= ~(1 <<1 );/* clear busy flag */ -x86_write_segment_descriptor (cpu, &curr_tss_desc, old_tss_sel); - } - -if (reason ==TSR_IRET ) -EFLAGS (cpu) &= ~RFLAGS_NT ; - -if (reason !=TSR_CALL && reason !=TSR_IDT_GATE ) - old_tss_sel.sel =0xffff ; - -if (reason !=TSR_IRET ) { - next_tss_desc.type |= (1 <<1 );/* set busy flag */ -x86_write_segment_descriptor (cpu, &next_tss_desc, tss_sel); - } - -if (next_tss_desc.type &8 ) - ret =task_switch_32 (cpu, tss_sel, old_tss_sel, old_tss_base, &next_tss_desc); -else -//ret = task_switch_16(cpu, tss_sel, old_tss_sel, old_tss_base, &next_tss_desc); -VM_PANIC ("task_switch_16" ); - -macvm_set_cr0 (cpu->hvf_fd,rvmcs (cpu->hvf_fd,VMCS_GUEST_CR0 ) |CR0_TS ); -x86_segment_descriptor_to_vmx (cpu, tss_sel, &next_tss_desc, &vmx_seg); -vmx_write_segment_descriptor (cpu, &vmx_seg,REG_SEG_TR ); - -store_regs (cpu); - -hv_vcpu_invalidate_tlb (cpu->hvf_fd); -hv_vcpu_flush (cpu->hvf_fd); -} -static void hvf_handle_interrupt (CPUState * cpu,int mask) { cpu->interrupt_request |= mask;
target/i386/hvf-utils/Makefile.objs +1 -1
@@ -1 +1 @@ -obj-y += x86.o x86_cpuid.o x86_decode.o x86_descr.o x86_emu.o x86_flags.o x86_mmu.o x86hvf.o +obj-y += x86.o x86_cpuid.o x86_decode.o x86_descr.o x86_emu.o x86_flags.o x86_mmu.o x86hvf.o x86_task.o
target/i386/hvf-utils/vmx.h +7 -7
@@ -6,17 +6,17 @@* Interfaces to Hypervisor.framework to read/write X86 registers and VMCS. * * This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License as -* published by the Free Software Foundation; either version 2 or -* (at your option) version 3 of the License. +* modify it under the terms of the GNU Lesser General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +* Lesser General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, see <http://www.gnu.org/licenses/>. +* You should have received a copy of the GNU Lesser General Public +* License along with this program; if not, see <http://www.gnu.org/licenses/>. */ #ifndef VMX_H
target/i386/hvf-utils/x86.c +7 -7
@@ -3,17 +3,17 @@* Copyright (C) 2017 Google Inc, * * This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License as -* published by the Free Software Foundation; either version 2 or -* (at your option) version 3 of the License. +* modify it under the terms of the GNU Lesser General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +* Lesser General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, see <http://www.gnu.org/licenses/>. +* You should have received a copy of the GNU Lesser General Public +* License along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h"
target/i386/hvf-utils/x86.h +7 -7
@@ -3,17 +3,17 @@* Copyright (C) 2017 Veertu Inc, * * This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License as -* published by the Free Software Foundation; either version 2 or -* (at your option) version 3 of the License. +* modify it under the terms of the GNU Lesser General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +* Lesser General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, see <http://www.gnu.org/licenses/>. +* You should have received a copy of the GNU Lesser General Public +* License along with this program; if not, see <http://www.gnu.org/licenses/>. */ #pragma once
target/i386/hvf-utils/x86_decode.c +7 -7
@@ -3,17 +3,17 @@* Copyright (C) 2017 Google Inc, * * This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License as -* published by the Free Software Foundation; either version 2 or -* (at your option) version 3 of the License. +* modify it under the terms of the GNU Lesser General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +* Lesser General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, see <http://www.gnu.org/licenses/>. +* You should have received a copy of the GNU Lesser General Public +* License along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h"
target/i386/hvf-utils/x86_decode.h +7 -7
@@ -2,17 +2,17 @@* Copyright (C) 2016 Veertu Inc, * * This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License as -* published by the Free Software Foundation; either version 2 or -* (at your option) version 3 of the License. +* modify it under the terms of the GNU Lesser General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +* Lesser General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, see <http://www.gnu.org/licenses/>. +* You should have received a copy of the GNU Lesser General Public +* License along with this program; if not, see <http://www.gnu.org/licenses/>. */ #pragma once
target/i386/hvf-utils/x86_descr.c +7 -7
@@ -3,17 +3,17 @@* Copyright (C) 2017 Google Inc, * * This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License as -* published by the Free Software Foundation; either version 2 or -* (at your option) version 3 of the License. +* modify it under the terms of the GNU Lesser General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +* Lesser General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, see <http://www.gnu.org/licenses/>. +* You should have received a copy of the GNU Lesser General Public +* License along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h"
target/i386/hvf-utils/x86_descr.h +7 -7
@@ -3,17 +3,17 @@* Copyright (C) 2017 Google Inc, * * This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License as -* published by the Free Software Foundation; either version 2 or -* (at your option) version 3 of the License. +* modify it under the terms of the GNU Lesser General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +* Lesser General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, see <http://www.gnu.org/licenses/>. +* You should have received a copy of the GNU Lesser General Public +* License along with this program; if not, see <http://www.gnu.org/licenses/>. */ #pragma once
target/i386/hvf-utils/x86_emu.c +7 -7
@@ -3,17 +3,17 @@* Copyright (C) 2017 Google Inc, * * This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License as -* published by the Free Software Foundation; either version 2 or -* (at your option) version 3 of the License. +* modify it under the terms of the GNU Lesser General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +* Lesser General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, see <http://www.gnu.org/licenses/>. +* You should have received a copy of the GNU Lesser General Public +* License along with this program; if not, see <http://www.gnu.org/licenses/>. */ /////////////////////////////////////////////////////////////////////////
target/i386/hvf-utils/x86_emu.h +7 -7
@@ -3,17 +3,17 @@* Copyright (C) 2017 Google Inc, * * This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License as -* published by the Free Software Foundation; either version 2 or -* (at your option) version 3 of the License. +* modify it under the terms of the GNU Lesser General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +* Lesser General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, see <http://www.gnu.org/licenses/>. +* You should have received a copy of the GNU Lesser General Public +* License along with this program; if not, see <http://www.gnu.org/licenses/>. */ #ifndef __X86_EMU_H__#define __X86_EMU_H__
target/i386/hvf-utils/x86_gen.h +7 -7
@@ -3,17 +3,17 @@* Copyright (C) 2017 Google Inc, * * This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License as -* published by the Free Software Foundation; either version 2 or -* (at your option) version 3 of the License. +* modify it under the terms of the GNU Lesser General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +* Lesser General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, see <http://www.gnu.org/licenses/>. +* You should have received a copy of the GNU Lesser General Public +* License along with this program; if not, see <http://www.gnu.org/licenses/>. */ #ifndef __X86_GEN_H__#define __X86_GEN_H__
target/i386/hvf-utils/x86_mmu.c +7 -7
@@ -3,17 +3,17 @@* Copyright (C) 2017 Google Inc, * * This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License as -* published by the Free Software Foundation; either version 2 or -* (at your option) version 3 of the License. +* modify it under the terms of the GNU Lesser General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +* Lesser General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, see <http://www.gnu.org/licenses/>. +* You should have received a copy of the GNU Lesser General Public +* License along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h"
target/i386/hvf-utils/x86_mmu.h +7 -7
@@ -3,17 +3,17 @@* Copyright (C) 2017 Google Inc, * * This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License as -* published by the Free Software Foundation; either version 2 or -* (at your option) version 3 of the License. +* modify it under the terms of the GNU Lesser General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +* Lesser General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, see <http://www.gnu.org/licenses/>. +* You should have received a copy of the GNU Lesser General Public +* License along with this program; if not, see <http://www.gnu.org/licenses/>. */ #ifndef __X86_MMU_H__#define __X86_MMU_H__
target/i386/hvf-utils/x86_task.c new file +201 -0
201 lines not on this page · raw message
target/i386/hvf-utils/x86_task.h new file +18 -0
@@ -0,0 +1,18 @@ +/* This program is free software; you can redistribute it and/or +* modify it under the terms of the GNU General Public License as +* published by the Free Software Foundation; either version 2 or +* (at your option) version 3 of the License. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License along +* with this program; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifndef HVF_TASK +#define HVF_TASK +void vmx_handle_task_switch (CPUState *cpu,x68_segment_selector tss_sel, +int reason,bool gate_valid,uint8_t gate,uint64_t gate_type); +#endif
target/i386/hvf-utils/x86hvf.c +7 -7
@@ -4,17 +4,17 @@* Copyright (C) 2017 Google Inc, * * This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License as -* published by the Free Software Foundation; either version 2 or -* (at your option) version 3 of the License. +* modify it under the terms of the GNU Lesser General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +* Lesser General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, see <http://www.gnu.org/licenses/>. +* You should have received a copy of the GNU Lesser General Public +* License along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h"
target/i386/hvf-utils/x86hvf.h +7 -7
@@ -3,17 +3,17 @@* Copyright (C) 2017 Google Inc, * * This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License as -* published by the Free Software Foundation; either version 2 or -* (at your option) version 3 of the License. +* modify it under the terms of the GNU Lesser General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +* Lesser General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, see <http://www.gnu.org/licenses/>. +* You should have received a copy of the GNU Lesser General Public +* License along with this program; if not, see <http://www.gnu.org/licenses/>. */ #ifndef X86HVF_H #define X86HVF_H
Signature · 1 line
2.14.3
[Qemu-devel] [PULL 09/19] i386: hvf: inject General Protection Fault when vmexit through vmcall
In reply to Paolo BonziniFrom: Sergio Andres Gomez Del Real <[email protected]>
This patch injects a GP fault when the guest vmexit's by executing a vmcall instruction.
Message-Id: <[email protected]>
--- target/i386/hvf-all.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
target/i386/hvf-all.c +3 -1
@@ -898,7 +898,9 @@ int hvf_vcpu_exec(CPUState *cpu)macvm_set_rip (cpu, rip + ins_len);break ;case VMX_REASON_VMCALL : -/* TODO: inject #GP fault */ + env->exception_injected =EXCP0D_GPF ; + env->has_error_code = true; + env->error_code =0 ;break ;default :error_report ("%llx: unhandled exit %llx\n" , rip, exit_reason);
Signature · 1 line
2.14.3
[Qemu-devel] [PULL 06/19] i386: refactor KVM cpuid code so that it applies to hvf as well
In reply to Paolo BonziniFrom: Sergio Andres Gomez Del Real <[email protected]>
This patch generalizes some code in cpu.c for hypervisor-based accelerators, calling the new hvf_get_supported_cpuid where KVM used kvm_get_supported_cpuid.
Message-Id: <[email protected]>
--- target/i386/cpu-qom.h | 4 +-- target/i386/cpu.c | 77 ++++++++++++++++++++++++++++++++++++++------------- 2 files changed, 59 insertions(+), 22 deletions(-)
target/i386/cpu-qom.h +2 -2
@@ -47,7 +47,7 @@ typedef struct X86CPUDefinition X86CPUDefinition;/** * X86CPUClass: * @cpu_def: CPU model definition -* @kvm_required: Whether CPU model requires KVM to be enabled. +* @host_cpuid_required: Whether CPU model requires cpuid from host. * @ordering: Ordering on the "-cpu help" CPU model list. * @migration_safe: See CpuDefinitionInfo::migration_safe * @static_model: See CpuDefinitionInfo::static
@@ -66,7 +66,7 @@ typedef struct X86CPUClass {*/ X86CPUDefinition *cpu_def; -bool kvm_required; +bool host_cpuid_required;int ordering;bool migration_safe;bool static_model;
target/i386/cpu.c +57 -20
188 lines not on this page · raw message
Signature · 1 line
2.14.3
[Qemu-devel] [PULL 11/19] i386: hvf: header cleanup
In reply to Paolo BonziniRemove inclusions of system headers and avoid "pragma once".
--- target/i386/hvf/x86.h | 9 +++------ target/i386/hvf/x86_cpuid.c | 1 + target/i386/hvf/x86_decode.c | 1 + target/i386/hvf/x86_decode.h | 12 +++++------- target/i386/hvf/x86_descr.c | 1 + target/i386/hvf/x86_descr.h | 5 ++++- target/i386/hvf/x86_flags.c | 2 +- target/i386/hvf/x86_gen.h | 4 ---- target/i386/hvf/x86hvf.c | 2 +- 9 files changed, 17 insertions(+), 20 deletions(-)
target/i386/hvf/x86.h +3 -6
@@ -16,13 +16,9 @@* License along with this program; if not, see <http://www.gnu.org/licenses/>. */ -#pragma once +#ifndef HVF_X86_H +#define HVF_X86_H 1 -#include <sys/types.h> -#include <sys/ioctl.h> -#include <sys/mman.h> -#include <stdarg.h> -#include "qemu-common.h" #include "x86_gen.h" /* exceptions */
@@ -467,3 +463,4 @@ static inline uint64_t rdtscp(void) return tsc; } +#endif
target/i386/hvf/x86_cpuid.c +1 -0
@@ -21,6 +21,7 @@*/ #include "qemu/osdep.h" +#include "qemu-common.h" #include "x86.h" #include "vmx.h" #include "sysemu/hvf.h"
target/i386/hvf/x86_decode.c +1 -0
@@ -18,6 +18,7 @@#include "qemu/osdep.h" +#include "qemu-common.h" #include "x86_decode.h" #include "string.h" #include "vmx.h"
target/i386/hvf/x86_decode.h +5 -7
@@ -15,15 +15,11 @@* License along with this program; if not, see <http://www.gnu.org/licenses/>. */ -#pragma once +#ifndef HVF_X86_DECODE_H +#define HVF_X86_DECODE_H 1 -#include <sys/types.h> -#include <sys/ioctl.h> -#include <sys/mman.h> -#include <stdarg.h> -#include "qemu-common.h" -#include "x86.h" #include "cpu.h" +#include "x86.h" typedef enum x86_prefix { /* group 1 */
@@ -323,3 +319,5 @@ void calc_modrm_operand64(CPUX86State *env, struct x86_decode *decode, struct x86_decode_op *op);void set_addressing_size (CPUX86State *env,struct x86_decode *decode);void set_operand_size (CPUX86State *env,struct x86_decode *decode); + +#endif
target/i386/hvf/x86_descr.c +1 -0
@@ -18,6 +18,7 @@#include "qemu/osdep.h" +#include "qemu-common.h" #include "vmx.h" #include "x86_descr.h"
target/i386/hvf/x86_descr.h +4 -1
@@ -16,7 +16,8 @@* License along with this program; if not, see <http://www.gnu.org/licenses/>. */ -#pragma once +#ifndef HVF_X86_DESCR_H +#define HVF_X86_DESCR_H 1#include "x86.h"
@@ -53,3 +54,5 @@ uint32_t vmx_read_segment_ar(CPUState *cpu, x86_reg_segment seg);void vmx_segment_to_x86_descriptor (struct CPUState *cpu,struct vmx_segment *vmx_desc,struct x86_segment_descriptor *desc); + +#endif
target/i386/hvf/x86_flags.c +1 -1
@@ -22,8 +22,8 @@*/ #include "qemu/osdep.h" -#include "qemu-common.h" +#include "qemu-common.h" #include "cpu.h" #include "x86_flags.h" #include "x86.h"
target/i386/hvf/x86_gen.h +0 -4
@@ -18,10 +18,6 @@#ifndef __X86_GEN_H__#define __X86_GEN_H__ -#include <stdlib.h> -#include <stdio.h> -#include "qemu-common.h" -typedef uint64_t addr_t ;#define VM_PANIC (x) {\
target/i386/hvf/x86hvf.c +1 -1
@@ -18,8 +18,8 @@*/ #include "qemu/osdep.h" -#include "qemu-common.h" +#include "qemu-common.h" #include "x86hvf.h" #include "vmx.h" #include "vmcs.h"
Signature · 1 line
2.14.3
[Qemu-devel] [PULL 10/19] i386: hvf: move all hvf files in the same directory
In reply to Paolo BonziniJust call it hvf/, no need for the "utils" suffix.
---
target/i386/Makefile.objs | 2 +-
target/i386/{hvf-utils => hvf}/Makefile.objs | 1 +
target/i386/{hvf-utils => hvf}/README.md | 0
target/i386/{ => hvf}/hvf-i386.h | 2 +-
target/i386/{hvf-all.c => hvf/hvf.c} | 19 +++++++++----------
target/i386/{hvf-utils => hvf}/vmcs.h | 0
target/i386/{hvf-utils => hvf}/vmx.h | 0
target/i386/{hvf-utils => hvf}/x86.c | 0
target/i386/{hvf-utils => hvf}/x86.h | 0
target/i386/{hvf-utils => hvf}/x86_cpuid.c | 0
target/i386/{hvf-utils => hvf}/x86_decode.c | 0
target/i386/{hvf-utils => hvf}/x86_decode.h | 0
target/i386/{hvf-utils => hvf}/x86_descr.c | 0
target/i386/{hvf-utils => hvf}/x86_descr.h | 0
target/i386/{hvf-utils => hvf}/x86_emu.c | 0
target/i386/{hvf-utils => hvf}/x86_emu.h | 0
target/i386/{hvf-utils => hvf}/x86_flags.c | 0
target/i386/{hvf-utils => hvf}/x86_flags.h | 0
target/i386/{hvf-utils => hvf}/x86_gen.h | 0
target/i386/{hvf-utils => hvf}/x86_mmu.c | 0
target/i386/{hvf-utils => hvf}/x86_mmu.h | 0
target/i386/{hvf-utils => hvf}/x86_task.c | 20 ++++++++++----------
target/i386/{hvf-utils => hvf}/x86_task.h | 0
target/i386/{hvf-utils => hvf}/x86hvf.c | 0
target/i386/{hvf-utils => hvf}/x86hvf.h | 0
25 files changed, 22 insertions(+), 22 deletions(-)
rename target/i386/{hvf-utils => hvf}/Makefile.objs (87%)
rename target/i386/{hvf-utils => hvf}/README.md (100%)
rename target/i386/{ => hvf}/hvf-i386.h (97%)
rename target/i386/{hvf-all.c => hvf/hvf.c} (98%)
rename target/i386/{hvf-utils => hvf}/vmcs.h (100%)
rename target/i386/{hvf-utils => hvf}/vmx.h (100%)
rename target/i386/{hvf-utils => hvf}/x86.c (100%)
rename target/i386/{hvf-utils => hvf}/x86.h (100%)
rename target/i386/{hvf-utils => hvf}/x86_cpuid.c (100%)
rename target/i386/{hvf-utils => hvf}/x86_decode.c (100%)
rename target/i386/{hvf-utils => hvf}/x86_decode.h (100%)
rename target/i386/{hvf-utils => hvf}/x86_descr.c (100%)
rename target/i386/{hvf-utils => hvf}/x86_descr.h (100%)
rename target/i386/{hvf-utils => hvf}/x86_emu.c (100%)
rename target/i386/{hvf-utils => hvf}/x86_emu.h (100%)
rename target/i386/{hvf-utils => hvf}/x86_flags.c (100%)
rename target/i386/{hvf-utils => hvf}/x86_flags.h (100%)
rename target/i386/{hvf-utils => hvf}/x86_gen.h (100%)
rename target/i386/{hvf-utils => hvf}/x86_mmu.c (100%)
rename target/i386/{hvf-utils => hvf}/x86_mmu.h (100%)
rename target/i386/{hvf-utils => hvf}/x86_task.c (95%)
rename target/i386/{hvf-utils => hvf}/x86_task.h (100%)
rename target/i386/{hvf-utils => hvf}/x86hvf.c (100%)
rename target/i386/{hvf-utils => hvf}/x86hvf.h (100%)target/i386/Makefile.objs +1 -1
@@ -12,5 +12,5 @@ obj-$(CONFIG_HAX) += hax-all.o hax-mem.o hax-windows.o endif ifdef CONFIG_DARWIN obj-$(CONFIG_HAX) += hax-all.o hax-mem.o hax-darwin.o -obj-$(CONFIG_HVF) += hvf-utils/ hvf-all.o +obj-$(CONFIG_HVF) += hvf/ endif
target/i386/hvf/Makefile.objs renamed from target/i386/hvf-utils/Makefile.objs +1 -0
@@ -1 +1,2 @@ +obj-y += hvf.o obj-y += x86.o x86_cpuid.o x86_decode.o x86_descr.o x86_emu.o x86_flags.o x86_mmu.o x86hvf.o x86_task.o
target/i386/hvf/README.md renamed from target/i386/hvf-utils/README.md +0 -0
target/i386/hvf/hvf-i386.h renamed from target/i386/hvf-i386.h +1 -1
@@ -18,7 +18,7 @@#include "sysemu/hvf.h" #include "cpu.h" -#include "hvf-utils/x86.h" +#include "x86.h" #define HVF_MAX_VCPU 0x10#define MAX_VM_ID 0x40
target/i386/hvf/hvf.c renamed from target/i386/hvf-all.c +9 -10
@@ -24,15 +24,15 @@#include "sysemu/hvf.h" #include "hvf-i386.h" -#include "hvf-utils/vmcs.h" -#include "hvf-utils/vmx.h" -#include "hvf-utils/x86.h" -#include "hvf-utils/x86_descr.h" -#include "hvf-utils/x86_mmu.h" -#include "hvf-utils/x86_decode.h" -#include "hvf-utils/x86_emu.h" -#include "hvf-utils/x86_task.h" -#include "hvf-utils/x86hvf.h" +#include "vmcs.h" +#include "vmx.h" +#include "x86.h" +#include "x86_descr.h" +#include "x86_mmu.h" +#include "x86_decode.h" +#include "x86_emu.h" +#include "x86_task.h" +#include "x86hvf.h" #include <Hypervisor/hv.h> #include <Hypervisor/hv_vmx.h>
@@ -44,7 +44,6 @@#include "hw/boards.h" #include "qemu/main-loop.h" #include "strings.h" -#include "trace.h" #include "sysemu/accel.h" #include "sysemu/sysemu.h" #include "target/i386/cpu.h"
target/i386/hvf/vmcs.h renamed from target/i386/hvf-utils/vmcs.h +0 -0
target/i386/hvf/vmx.h renamed from target/i386/hvf-utils/vmx.h +0 -0
target/i386/hvf/x86.c renamed from target/i386/hvf-utils/x86.c +0 -0
target/i386/hvf/x86.h renamed from target/i386/hvf-utils/x86.h +0 -0
target/i386/hvf/x86_cpuid.c renamed from target/i386/hvf-utils/x86_cpuid.c +0 -0
target/i386/hvf/x86_decode.c renamed from target/i386/hvf-utils/x86_decode.c +0 -0
target/i386/hvf/x86_decode.h renamed from target/i386/hvf-utils/x86_decode.h +0 -0
target/i386/hvf/x86_descr.c renamed from target/i386/hvf-utils/x86_descr.c +0 -0
target/i386/hvf/x86_descr.h renamed from target/i386/hvf-utils/x86_descr.h +0 -0
target/i386/hvf/x86_emu.c renamed from target/i386/hvf-utils/x86_emu.c +0 -0
target/i386/hvf/x86_emu.h renamed from target/i386/hvf-utils/x86_emu.h +0 -0
target/i386/hvf/x86_flags.c renamed from target/i386/hvf-utils/x86_flags.c +0 -0
target/i386/hvf/x86_flags.h renamed from target/i386/hvf-utils/x86_flags.h +0 -0
target/i386/hvf/x86_gen.h renamed from target/i386/hvf-utils/x86_gen.h +0 -0
target/i386/hvf/x86_mmu.c renamed from target/i386/hvf-utils/x86_mmu.c +0 -0
target/i386/hvf/x86_mmu.h renamed from target/i386/hvf-utils/x86_mmu.h +0 -0
target/i386/hvf/x86_task.c renamed from target/i386/hvf-utils/x86_task.c +10 -10
@@ -12,16 +12,16 @@#include "sysemu/hvf.h" #include "hvf-i386.h" -#include "hvf-utils/vmcs.h" -#include "hvf-utils/vmx.h" -#include "hvf-utils/x86.h" -#include "hvf-utils/x86_descr.h" -#include "hvf-utils/x86_mmu.h" -#include "hvf-utils/x86_decode.h" -#include "hvf-utils/x86_emu.h" -#include "hvf-utils/x86_cpuid.h" -#include "hvf-utils/x86_task.h" -#include "hvf-utils/x86hvf.h" +#include "vmcs.h" +#include "vmx.h" +#include "x86.h" +#include "x86_descr.h" +#include "x86_mmu.h" +#include "x86_decode.h" +#include "x86_emu.h" +#include "x86_cpuid.h" +#include "x86_task.h" +#include "x86hvf.h" #include <Hypervisor/hv.h> #include <Hypervisor/hv_vmx.h>
target/i386/hvf/x86_task.h renamed from target/i386/hvf-utils/x86_task.h +0 -0
target/i386/hvf/x86hvf.c renamed from target/i386/hvf-utils/x86hvf.c +0 -0
target/i386/hvf/x86hvf.h renamed from target/i386/hvf-utils/x86hvf.h +0 -0
Signature · 1 line
2.14.3
[Qemu-devel] [PULL 14/19] i386: hvf: remove ZERO_INIT macro
In reply to Paolo Bonzini--- target/i386/hvf/x86.c | 5 +++-- target/i386/hvf/x86_decode.c | 3 +-- target/i386/hvf/x86_gen.h | 2 -- 3 files changed, 4 insertions(+), 6 deletions(-)
target/i386/hvf/x86.c +3 -2
@@ -53,7 +53,8 @@ bool x86_read_segment_descriptor(struct CPUState *cpu,addr_t base;uint32_t limit; -ZERO_INIT (*desc); +memset (desc,0 ,sizeof (*desc)); +/* valid gdt descriptors start from index 1 */ if (!sel.index &&GDT_SEL == sel.ti) {return false;
@@ -104,7 +105,7 @@ bool x86_read_call_gate(struct CPUState *cpu, struct x86_call_gate *idt_desc,addr_t base =rvmcs (cpu->hvf_fd,VMCS_GUEST_IDTR_BASE );uint32_t limit =rvmcs (cpu->hvf_fd,VMCS_GUEST_IDTR_LIMIT ); -ZERO_INIT (*idt_desc); +memset (idt_desc,0 ,sizeof (*idt_desc));if (gate *8 >= limit) {printf ("%s: idt limit\n" , __func__);return false;
target/i386/hvf/x86_decode.c +1 -2
@@ -2091,8 +2091,7 @@ static void decode_opcodes(CPUX86State *env, struct x86_decode *decode)uint32_t decode_instruction (CPUX86State *env,struct x86_decode *decode) { -ZERO_INIT (*decode); - +memset (decode,0 ,sizeof (*decode));decode_prefix (env, decode);set_addressing_size (env, decode);set_operand_size (env, decode);
target/i386/hvf/x86_gen.h +0 -2
@@ -44,6 +44,4 @@ typedef uint64_t addr_t; } \ } -#define ZERO_INIT (obj) memset((void *) &obj, 0, sizeof(obj)) -#endif
Signature · 1 line
2.14.3
[Qemu-devel] [PULL 13/19] i386: hvf: remove more dead emulator code
In reply to Paolo Bonzini--- target/i386/hvf/hvf.c | 2 -- target/i386/hvf/x86.h | 5 ----- target/i386/hvf/x86_decode.c | 22 +++++++++++----------- target/i386/hvf/x86_emu.c | 25 ++++++++----------------- target/i386/hvf/x86_flags.c | 10 ---------- target/i386/hvf/x86_flags.h | 1 - target/i386/hvf/x86_mmu.c | 6 ++---- target/i386/hvf/x86_task.c | 10 ---------- 8 files changed, 21 insertions(+), 60 deletions(-)
target/i386/hvf/hvf.c +0 -2
@@ -734,7 +734,6 @@ int hvf_vcpu_exec(CPUState *cpu)uint32_t port = exit_qual >>16 ;/*uint32_t rep = (exit_qual & 0x20) != 0;*/ -#if 1 if (!string && in) {uint64_t val =0 ;load_regs (cpu);
@@ -757,7 +756,6 @@ int hvf_vcpu_exec(CPUState *cpu)macvm_set_rip (cpu, rip + ins_len);break ; } -#endif struct x86_decode decode;load_regs (cpu);
target/i386/hvf/x86.h +0 -5
@@ -102,10 +102,6 @@ typedef struct x86_reg_flags { }; } __attribute__ ((__packed__)) x86_reg_flags; -typedef struct x86_efer { -uint64_t efer; -} __attribute__ ((__packed__ ))x86_efer ; - typedef enum x86_reg_cr0 { CR0_PE = (1L << 0), CR0_MP = (1L << 1),
@@ -305,7 +301,6 @@ struct HVFX86EmulatorState {struct x86_register regs[16 ];struct x86_reg_flags rflags;struct lazy_flags lflags; -struct x86_efer efer;uint8_t mmio_buf[4096 ]; };
target/i386/hvf/x86_decode.c +11 -11
@@ -631,7 +631,7 @@ static void decode_aegroup(CPUX86State *env, struct x86_decode *decode) }break ;default : -VM_PANIC_ON_EX (1 ,"0xae: reg %d\n" , decode->modrm.reg); +VM_PANIC_EX ("0xae: reg %d\n" , decode->modrm.reg);break ; } }
@@ -655,14 +655,14 @@ static void decode_d9_4(CPUX86State *env, struct x86_decode *decode) decode->cmd =X86_DECODE_CMD_FABS ;break ;case 0xe4 : -VM_PANIC_ON_EX (1 ,"FTST" ); +VM_PANIC ("FTST" );break ;case 0xe5 :/* FXAM */ decode->cmd =X86_DECODE_CMD_FXAM ;break ;default : -VM_PANIC_ON_EX (1 ,"FLDENV" ); +VM_PANIC ("FLDENV" );break ; } }
@@ -671,16 +671,16 @@ static void decode_db_4(CPUX86State *env, struct x86_decode *decode) {switch (decode->modrm.modrm) {case 0xe0 : -VM_PANIC_ON_EX (1 ,"unhandled FNENI: %x %x\n" , decode->opcode[0 ], - decode->modrm.modrm); +VM_PANIC_EX ("unhandled FNENI: %x %x\n" , decode->opcode[0 ], + decode->modrm.modrm);break ;case 0xe1 : -VM_PANIC_ON_EX (1 ,"unhandled FNDISI: %x %x\n" , decode->opcode[0 ], - decode->modrm.modrm); +VM_PANIC_EX ("unhandled FNDISI: %x %x\n" , decode->opcode[0 ], + decode->modrm.modrm);break ;case 0xe2 : -VM_PANIC_ON_EX (1 ,"unhandled FCLEX: %x %x\n" , decode->opcode[0 ], - decode->modrm.modrm); +VM_PANIC_EX ("unhandled FCLEX: %x %x\n" , decode->opcode[0 ], + decode->modrm.modrm);break ;case 0xe3 : decode->cmd =X86_DECODE_CMD_FNINIT ;
@@ -689,8 +689,8 @@ static void decode_db_4(CPUX86State *env, struct x86_decode *decode) decode->cmd =X86_DECODE_CMD_FNSETPM ;break ;default : -VM_PANIC_ON_EX (1 ,"unhandled fpu opcode: %x %x\n" , decode->opcode[0 ], - decode->modrm.modrm); +VM_PANIC_EX ("unhandled fpu opcode: %x %x\n" , decode->opcode[0 ], + decode->modrm.modrm);break ; } }
target/i386/hvf/x86_emu.c +8 -17
@@ -837,7 +837,6 @@ void simulate_wrmsr(struct CPUState *cpu)abort ();break ;case MSR_EFER : - env->hvf_emul->efer.efer = data;/*printf("new efer %llx\n", EFER(cpu));*/ wvmcs (cpu->hvf_fd,VMCS_GUEST_IA32_EFER , data);if (data &MSR_EFER_NXE ) {
@@ -1511,23 +1510,15 @@ bool exec_instruction(struct CPUX86State *env, struct x86_decode *ins)printf("%d, %llx: exec_instruction %s\n", hvf_vcpu_id(cpu), RIP(cpu), decode_cmd_to_string(ins->cmd));*/ -if (0 && ins->is_fpu) { -VM_PANIC ("emulate fpu\n" ); - }else { -if (!_cmd_handler[ins->cmd].handler) { -printf ("Unimplemented handler (%llx) for %d (%x %x) \n" ,RIP (env), - ins->cmd, ins->opcode[0 ], - ins->opcode_len >1 ? ins->opcode[1 ] :0 ); -RIP (env) += ins->len; -return true; - } - -VM_PANIC_ON_EX (!_cmd_handler[ins->cmd].handler, -"Unimplemented handler (%llx) for %d (%x %x) \n" ,RIP (env), - ins->cmd, ins->opcode[0 ], - ins->opcode_len >1 ? ins->opcode[1 ] :0 ); - _cmd_handler[ins->cmd].handler (env, ins); +if (!_cmd_handler[ins->cmd].handler) { +printf ("Unimplemented handler (%llx) for %d (%x %x) \n" ,RIP (env), + ins->cmd, ins->opcode[0 ], + ins->opcode_len >1 ? ins->opcode[1 ] :0 ); +RIP (env) += ins->len; +return true; } + + _cmd_handler[ins->cmd].handler (env, ins);return true; }
target/i386/hvf/x86_flags.c +0 -10
@@ -301,16 +301,6 @@ void set_SF(CPUX86State *env, bool val) env->hvf_emul->lflags.auxbits ^= (temp_sf ^ val) <<LF_BIT_SD ; } -void set_OSZAPC (CPUX86State *env,uint32_t flags32) -{ -set_OF (env, env->hvf_emul->rflags.of); -set_SF (env, env->hvf_emul->rflags.sf); -set_ZF (env, env->hvf_emul->rflags.zf); -set_AF (env, env->hvf_emul->rflags.af); -set_PF (env, env->hvf_emul->rflags.pf); -set_CF (env, env->hvf_emul->rflags.cf); -} -void lflags_to_rflags (CPUX86State *env) { env->hvf_emul->rflags.cf =get_CF (env);
target/i386/hvf/x86_flags.h +0 -1
@@ -190,7 +190,6 @@ bool get_SF(CPUX86State *env);void set_SF (CPUX86State *env,bool val);bool get_OF (CPUX86State *env);void set_OF (CPUX86State *env,bool val); -void set_OSZAPC (CPUX86State *env,uint32_t flags32);void SET_FLAGS_OxxxxC (CPUX86State *env,uint32_t new_of,uint32_t new_cf);
target/i386/hvf/x86_mmu.c +2 -4
@@ -238,8 +238,7 @@ void vmx_write_mem(struct CPUState *cpu, addr_t gva, void *data, int bytes)int copy =MIN (bytes,0x1000 - (gva &0xfff ));if (!mmu_gva_to_gpa (cpu, gva, &gpa)) { -VM_PANIC_ON_EX (1 ,"%s: mmu_gva_to_gpa %llx failed\n" , __func__, - gva); +VM_PANIC_EX ("%s: mmu_gva_to_gpa %llx failed\n" , __func__, gva); }else {address_space_rw (&address_space_memory, gpa,MEMTXATTRS_UNSPECIFIED , data, copy,1 );
@@ -260,8 +259,7 @@ void vmx_read_mem(struct CPUState *cpu, void *data, addr_t gva, int bytes)int copy =MIN (bytes,0x1000 - (gva &0xfff ));if (!mmu_gva_to_gpa (cpu, gva, &gpa)) { -VM_PANIC_ON_EX (1 ,"%s: mmu_gva_to_gpa %llx failed\n" , __func__, - gva); +VM_PANIC_EX ("%s: mmu_gva_to_gpa %llx failed\n" , __func__, gva); }address_space_rw (&address_space_memory, gpa,MEMTXATTRS_UNSPECIFIED , data, copy,0 );
target/i386/hvf/x86_task.c +0 -10
@@ -90,16 +90,6 @@ static void load_state_from_tss32(CPUState *cpu, struct x86_tss_segment32 *tss)vmx_write_segment_selector (cpu, (x68_segment_selector ){{tss->ds}},R_DS );vmx_write_segment_selector (cpu, (x68_segment_selector ){{tss->fs}},R_FS );vmx_write_segment_selector (cpu, (x68_segment_selector ){{tss->gs}},R_GS ); - -#if 0 -load_segment (cpu,R_LDTR , tss->ldt); -load_segment (cpu,R_ES , tss->es); -load_segment (cpu,R_CS , tss->cs); -load_segment (cpu,R_SS , tss->ss); -load_segment (cpu,R_DS , tss->ds); -load_segment (cpu,R_FS , tss->fs); -load_segment (cpu,R_GS , tss->gs); -#endif } static int task_switch_32(CPUState *cpu, x68_segment_selector tss_sel, x68_segment_selector old_tss_sel,
Signature · 1 line
2.14.3
[Qemu-devel] [PULL 15/19] i386: hvf: abort on decoding error
In reply to Paolo BonziniRather than unsupported situations, some VM_PANIC calls actually are caused by internal errors. Convert them to just abort.
--- target/i386/hvf/hvf.c | 2 +- target/i386/hvf/x86_emu.c | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-)
target/i386/hvf/hvf.c +1 -1
@@ -762,7 +762,7 @@ int hvf_vcpu_exec(CPUState *cpu) env->hvf_emul->fetch_rip = rip;decode_instruction (env, &decode); -VM_PANIC_ON (ins_len != decode.len); +assert (ins_len == decode.len);exec_instruction (env, &decode);store_regs (cpu);
target/i386/hvf/x86_emu.c +4 -6
@@ -146,7 +146,7 @@ addr_t read_reg(CPUX86State *env, int reg, int size)case 8 :return env->hvf_emul->regs[reg].rrx;default : -VM_PANIC_ON ("read_reg size" ); +abort (); }return 0 ; }
@@ -167,7 +167,7 @@ void write_reg(CPUX86State *env, int reg, addr_t val, int size) env->hvf_emul->regs[reg].rrx = val;break ;default : -VM_PANIC_ON ("write_reg size" ); +abort (); } }
@@ -189,8 +189,7 @@ addr_t read_val_from_reg(addr_t reg_ptr, int size) val = *(uint64_t *)reg_ptr;break ;default : -VM_PANIC_ON_EX (1 ,"read_val: Unknown size %d\n" , size); -break ; +abort (); }return val; }
@@ -211,8 +210,7 @@ void write_val_to_reg(addr_t reg_ptr, addr_t val, int size) *(uint64_t *)reg_ptr = val;break ;default : -VM_PANIC ("write_val: Unknown size\n" ); -break ; +abort (); } }
Signature · 1 line
2.14.3
[Qemu-devel] [PULL 19/19] i386: hvf: cleanup x86_gen.h
In reply to Paolo BonziniThis only includes VM_PANIC now. No need to include it from headers.
--- target/i386/hvf/panic.h | 45 ++++++++++++++++++++++++++++++++++++++++++++ target/i386/hvf/x86.h | 2 -- target/i386/hvf/x86_decode.c | 2 +- target/i386/hvf/x86_emu.c | 2 +- target/i386/hvf/x86_flags.c | 1 + target/i386/hvf/x86_flags.h | 1 - target/i386/hvf/x86_mmu.c | 1 + target/i386/hvf/x86_mmu.h | 2 -- target/i386/hvf/x86_task.c | 1 + 9 files changed, 50 insertions(+), 7 deletions(-) create mode 100644 target/i386/hvf/panic.h
target/i386/hvf/panic.h new file +45 -0
@@ -0,0 +1,45 @@ +/* +* Copyright (C) 2016 Veertu Inc, +* Copyright (C) 2017 Google Inc, +* +* This program is free software; you can redistribute it and/or +* modify it under the terms of the GNU Lesser General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +* Lesser General Public License for more details. +* +* You should have received a copy of the GNU Lesser General Public +* License along with this program; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifndef HVF_PANIC_H +#define HVF_PANIC_H + +#define VM_PANIC (x) {\ + printf("%s\n", x); \ + abort(); \ +} + +#define VM_PANIC_ON (x) {\ + if (x) { \ + printf("%s\n", #x); \ + abort(); \ + } \ +} + +#define VM_PANIC_EX (...) {\ + printf(__VA_ARGS__); \ + abort(); \ +} + +#define VM_PANIC_ON_EX (x, ...) {\ + if (x) { \ + printf(__VA_ARGS__); \ + abort(); \ + } \ +} + +#endif
target/i386/hvf/x86.h +0 -2
@@ -19,8 +19,6 @@ #ifndef HVF_X86_H #define HVF_X86_H 1 -#include "x86_gen.h" - typedef struct x86_register { union { struct {
target/i386/hvf/x86_decode.c +1 -1
@@ -19,10 +19,10 @@#include "qemu/osdep.h" #include "qemu-common.h" +#include "panic.h" #include "x86_decode.h" #include "string.h" #include "vmx.h" -#include "x86_gen.h" #include "x86_mmu.h" #include "x86_descr.h"
target/i386/hvf/x86_emu.c +1 -1
@@ -36,7 +36,7 @@///////////////////////////////////////////////////////////////////////// #include "qemu/osdep.h" - +#include "panic.h" #include "qemu-common.h" #include "x86_decode.h" #include "x86.h"
target/i386/hvf/x86_flags.c +1 -0
@@ -24,6 +24,7 @@#include "qemu/osdep.h" #include "qemu-common.h" +#include "panic.h" #include "cpu.h" #include "x86_flags.h" #include "x86.h"
target/i386/hvf/x86_flags.h +0 -1
@@ -23,7 +23,6 @@#ifndef __X86_FLAGS_H__#define __X86_FLAGS_H__ -#include "x86_gen.h" #include "cpu.h" void lflags_to_rflags (CPUX86State *env);void rflags_to_lflags (CPUX86State *env);
target/i386/hvf/x86_mmu.c +1 -0
@@ -16,6 +16,7 @@* License along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h" +#include "panic.h" #include "qemu-common.h" #include "x86.h"
target/i386/hvf/x86_mmu.h +0 -2
@@ -18,8 +18,6 @@#ifndef __X86_MMU_H__#define __X86_MMU_H__ -#include "x86_gen.h" -#define PT_PRESENT (1 << 0)#define PT_WRITE (1 << 1)#define PT_USER (1 << 2)
target/i386/hvf/x86_task.c +1 -0
@@ -7,6 +7,7 @@// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. #include "qemu/osdep.h" +#include "panic.h" #include "qemu-common.h" #include "qemu/error-report.h"
Signature · 1 line
2.14.3
[Qemu-devel] [PULL 16/19] i386: hvf: simplify flag handling
In reply to Paolo BonziniRemove much indirection and duplicate code, and provide a cleaner interface out of x86_flags.c.
--- target/i386/hvf/x86_emu.c | 93 +++++------------- target/i386/hvf/x86_flags.c | 235 +++++++++++++++++++++----------------------- target/i386/hvf/x86_flags.h | 173 ++------------------------------ 3 files changed, 144 insertions(+), 357 deletions(-)
target/i386/hvf/x86_emu.c +25 -68
@@ -49,7 +49,7 @@void hvf_handle_io (struct CPUState *cpu,uint16_t port,void *data,int direction,int size,uint32_t count); -#define EXEC_2OP_LOGIC_CMD (env, decode, cmd,FLAGS_FUNC , save_res) \ +#define EXEC_2OP_FLAGS_CMD (env, decode, cmd,FLAGS_FUNC , save_res) \ { \ fetch_operands(env, decode, 2, true, true, false); \ switch (decode->operand_size) { \
@@ -61,7 +61,7 @@ void hvf_handle_io(struct CPUState *cpu, uint16_t port, void *data,if (save_res) { \write_val_ext (env, decode->op[0 ].ptr, diff,1 ); \ } \ - FLAGS_FUNC##_8(diff); \ + FLAGS_FUNC##8(env, v1, v2, diff); \ break; \ } \ case 2: \
@@ -72,7 +72,7 @@ void hvf_handle_io(struct CPUState *cpu, uint16_t port, void *data,if (save_res) { \write_val_ext (env, decode->op[0 ].ptr, diff,2 ); \ } \ - FLAGS_FUNC##_16(diff); \ + FLAGS_FUNC##16(env, v1, v2, diff); \ break; \ } \ case 4: \
@@ -83,7 +83,7 @@ void hvf_handle_io(struct CPUState *cpu, uint16_t port, void *data,if (save_res) { \write_val_ext (env, decode->op[0 ].ptr, diff,4 ); \ } \ - FLAGS_FUNC##_32(diff); \ + FLAGS_FUNC##32(env, v1, v2, diff); \ break; \ } \ default: \
@@ -91,49 +91,6 @@ void hvf_handle_io(struct CPUState *cpu, uint16_t port, void *data, } \ } \ - -#define EXEC_2OP_ARITH_CMD (env, decode, cmd,FLAGS_FUNC , save_res) \ -{ \ - fetch_operands(env, decode, 2, true, true, false); \ - switch (decode->operand_size) { \ - case 1: \ - { \ - uint8_t v1 = (uint8_t)decode->op[0].val; \ - uint8_t v2 = (uint8_t)decode->op[1].val; \ - uint8_t diff = v1 cmd v2; \ - if (save_res) { \ - write_val_ext(env, decode->op[0].ptr, diff, 1); \ - } \ - FLAGS_FUNC##_8(v1, v2, diff); \ - break; \ - } \ - case 2: \ - { \ - uint16_t v1 = (uint16_t)decode->op[0].val; \ - uint16_t v2 = (uint16_t)decode->op[1].val; \ - uint16_t diff = v1 cmd v2; \ - if (save_res) { \ - write_val_ext(env, decode->op[0].ptr, diff, 2); \ - } \ - FLAGS_FUNC##_16(v1, v2, diff); \ - break; \ - } \ - case 4: \ - { \ - uint32_t v1 = (uint32_t)decode->op[0].val; \ - uint32_t v2 = (uint32_t)decode->op[1].val; \ - uint32_t diff = v1 cmd v2; \ - if (save_res) { \ - write_val_ext(env, decode->op[0].ptr, diff, 4); \ - } \ - FLAGS_FUNC##_32(v1, v2, diff); \ - break; \ - } \ - default: \ - VM_PANIC("bad size\n"); \ - } \ -} -addr_t read_reg (CPUX86State *env,int reg,int size) {switch (size) {
@@ -315,49 +272,49 @@ static void exec_mov(struct CPUX86State *env, struct x86_decode *decode)static void exec_add (struct CPUX86State *env,struct x86_decode *decode) { - EXEC_2OP_ARITH_CMD(env, decode, +, SET_FLAGS_OSZAPC_ADD, true); + EXEC_2OP_FLAGS_CMD(env, decode, +, SET_FLAGS_OSZAPC_ADD, true);RIP (env) += decode->len; }static void exec_or (struct CPUX86State *env,struct x86_decode *decode) { - EXEC_2OP_LOGIC_CMD(env, decode, |, SET_FLAGS_OSZAPC_LOGIC, true); + EXEC_2OP_FLAGS_CMD(env, decode, |, SET_FLAGS_OSZAPC_LOGIC, true);RIP (env) += decode->len; }static void exec_adc (struct CPUX86State *env,struct x86_decode *decode) { - EXEC_2OP_ARITH_CMD(env, decode, +get_CF(env)+, SET_FLAGS_OSZAPC_ADD, true); + EXEC_2OP_FLAGS_CMD(env, decode, +get_CF(env)+, SET_FLAGS_OSZAPC_ADD, true);RIP (env) += decode->len; }static void exec_sbb (struct CPUX86State *env,struct x86_decode *decode) { - EXEC_2OP_ARITH_CMD(env, decode, -get_CF(env)-, SET_FLAGS_OSZAPC_SUB, true); + EXEC_2OP_FLAGS_CMD(env, decode, -get_CF(env)-, SET_FLAGS_OSZAPC_SUB, true);RIP (env) += decode->len; }static void exec_and (struct CPUX86State *env,struct x86_decode *decode) { - EXEC_2OP_LOGIC_CMD(env, decode, &, SET_FLAGS_OSZAPC_LOGIC, true); + EXEC_2OP_FLAGS_CMD(env, decode, &, SET_FLAGS_OSZAPC_LOGIC, true);RIP (env) += decode->len; }static void exec_sub (struct CPUX86State *env,struct x86_decode *decode) { - EXEC_2OP_ARITH_CMD(env, decode, -, SET_FLAGS_OSZAPC_SUB, true); + EXEC_2OP_FLAGS_CMD(env, decode, -, SET_FLAGS_OSZAPC_SUB, true);RIP (env) += decode->len; }static void exec_xor (struct CPUX86State *env,struct x86_decode *decode) { - EXEC_2OP_LOGIC_CMD(env, decode, ^, SET_FLAGS_OSZAPC_LOGIC, true); + EXEC_2OP_FLAGS_CMD(env, decode, ^, SET_FLAGS_OSZAPC_LOGIC, true);RIP (env) += decode->len; }static void exec_neg (struct CPUX86State *env,struct x86_decode *decode) { -/*EXEC_2OP_ARITH_CMD(env, decode, -, SET_FLAGS_OSZAPC_SUB, false);*/ +/*EXEC_2OP_FLAGS_CMD(env, decode, -, SET_FLAGS_OSZAPC_SUB, false);*/ int32_t val;fetch_operands (env, decode,2 , true, true, false);
@@ -365,11 +322,11 @@ static void exec_neg(struct CPUX86State *env, struct x86_decode *decode)write_val_ext (env, decode->op[1 ].ptr, val, decode->operand_size);if (4 == decode->operand_size) { -SET_FLAGS_OSZAPC_SUB_32 (0 ,0 - val, val); +SET_FLAGS_OSZAPC_SUB32 (env,0 ,0 - val, val); }else if (2 == decode->operand_size) { -SET_FLAGS_OSZAPC_SUB_16 (0 ,0 - val, val); +SET_FLAGS_OSZAPC_SUB16 (env,0 ,0 - val, val); }else if (1 == decode->operand_size) { -SET_FLAGS_OSZAPC_SUB_8 (0 ,0 - val, val); +SET_FLAGS_OSZAPC_SUB8 (env,0 ,0 - val, val); }else {VM_PANIC ("bad op size\n" ); }
@@ -380,7 +337,7 @@ static void exec_neg(struct CPUX86State *env, struct x86_decode *decode)static void exec_cmp (struct CPUX86State *env,struct x86_decode *decode) { - EXEC_2OP_ARITH_CMD(env, decode, -, SET_FLAGS_OSZAPC_SUB, false); + EXEC_2OP_FLAGS_CMD(env, decode, -, SET_FLAGS_OSZAPC_SUB, false);RIP (env) += decode->len; }
@@ -389,7 +346,7 @@ static void exec_inc(struct CPUX86State *env, struct x86_decode *decode) decode->op[1 ].type =X86_VAR_IMMEDIATE ; decode->op[1 ].val =0 ; - EXEC_2OP_ARITH_CMD(env, decode, +1+, SET_FLAGS_OSZAP_ADD, true); + EXEC_2OP_FLAGS_CMD(env, decode, +1+, SET_FLAGS_OSZAP_ADD, true);RIP (env) += decode->len; }
@@ -399,13 +356,13 @@ static void exec_dec(struct CPUX86State *env, struct x86_decode *decode) decode->op[1 ].type =X86_VAR_IMMEDIATE ; decode->op[1 ].val =0 ; - EXEC_2OP_ARITH_CMD(env, decode, -1-, SET_FLAGS_OSZAP_SUB, true); + EXEC_2OP_FLAGS_CMD(env, decode, -1-, SET_FLAGS_OSZAP_SUB, true);RIP (env) += decode->len; }static void exec_tst (struct CPUX86State *env,struct x86_decode *decode) { - EXEC_2OP_LOGIC_CMD(env, decode, &, SET_FLAGS_OSZAPC_LOGIC, false); + EXEC_2OP_FLAGS_CMD(env, decode, &, SET_FLAGS_OSZAPC_LOGIC, false);RIP (env) += decode->len; }
@@ -612,7 +569,7 @@ static void exec_cmps_single(struct CPUX86State *env, struct x86_decode *decode) decode->op[1 ].type =X86_VAR_IMMEDIATE ; decode->op[1 ].val =read_val_ext (env, dst_addr, decode->operand_size); - EXEC_2OP_ARITH_CMD(env, decode, -, SET_FLAGS_OSZAPC_SUB, false); + EXEC_2OP_FLAGS_CMD(env, decode, -, SET_FLAGS_OSZAPC_SUB, false);string_increment_reg (env,R_ESI , decode);string_increment_reg (env,R_EDI , decode);
@@ -661,7 +618,7 @@ static void exec_scas_single(struct CPUX86State *env, struct x86_decode *decode) decode->op[1 ].type =X86_VAR_IMMEDIATE ;vmx_read_mem (ENV_GET_CPU (env), &decode->op[1 ].val, addr, decode->operand_size); - EXEC_2OP_ARITH_CMD(env, decode, -, SET_FLAGS_OSZAPC_SUB, false); + EXEC_2OP_FLAGS_CMD(env, decode, -, SET_FLAGS_OSZAPC_SUB, false);string_increment_reg (env,R_EDI , decode); }
@@ -996,7 +953,7 @@ void exec_shl(struct CPUX86State *env, struct x86_decode *decode) }write_val_ext (env, decode->op[0 ].ptr, res,1 ); -SET_FLAGS_OSZAPC_LOGIC_8 (res); +SET_FLAGS_OSZAPC_LOGIC8 (env,0 ,0 , res);SET_FLAGS_OxxxxC (env, of, cf);break ; }
@@ -1012,7 +969,7 @@ void exec_shl(struct CPUX86State *env, struct x86_decode *decode) }write_val_ext (env, decode->op[0 ].ptr, res,2 ); -SET_FLAGS_OSZAPC_LOGIC_16 (res); +SET_FLAGS_OSZAPC_LOGIC16 (env,0 ,0 , res);SET_FLAGS_OxxxxC (env, of, cf);break ; }
@@ -1021,7 +978,7 @@ void exec_shl(struct CPUX86State *env, struct x86_decode *decode)uint32_t res = decode->op[0 ].val << count;write_val_ext (env, decode->op[0 ].ptr, res,4 ); -SET_FLAGS_OSZAPC_LOGIC_32 (res); +SET_FLAGS_OSZAPC_LOGIC32 (env,0 ,0 , res); cf = (decode->op[0 ].val >> (32 - count)) &0x1 ; of = cf ^ (res >>31 );/* of = cf ^ result31 */ SET_FLAGS_OxxxxC (env, of, cf);
@@ -1393,7 +1350,7 @@ static void exec_xchg(struct CPUX86State *env, struct x86_decode *decode)static void exec_xadd (struct CPUX86State *env,struct x86_decode *decode) { - EXEC_2OP_ARITH_CMD(env, decode, +, SET_FLAGS_OSZAPC_ADD, true); + EXEC_2OP_FLAGS_CMD(env, decode, +, SET_FLAGS_OSZAPC_ADD, true);write_val_ext (env, decode->op[1 ].ptr, decode->op[0 ].val, decode->operand_size);
target/i386/hvf/x86_flags.c +113 -122
338 lines not on this page · raw message
target/i386/hvf/x86_flags.h +6 -167
184 lines not on this page · raw message
Signature · 1 line
2.14.3
[Qemu-devel] [PULL 12/19] i386: hvf: unify register enums between HVF and the rest
In reply to Paolo Bonzini--- target/i386/cpu.h | 62 +++++++++++------- target/i386/hvf/vmx.h | 10 +-- target/i386/hvf/x86.c | 10 +-- target/i386/hvf/x86.h | 145 +++++++++++++------------------------------ target/i386/hvf/x86_decode.c | 80 ++++++++++++------------ target/i386/hvf/x86_decode.h | 2 +- target/i386/hvf/x86_descr.c | 26 ++++---- target/i386/hvf/x86_descr.h | 16 ++--- target/i386/hvf/x86_emu.c | 66 ++++++++++---------- target/i386/hvf/x86_task.c | 48 +++++++------- target/i386/hvf/x86hvf.c | 32 +++++----- 11 files changed, 226 insertions(+), 271 deletions(-)
target/i386/cpu.h +38 -24
@@ -56,30 +56,44 @@#include "fpu/softfloat.h" #endif -#define R_EAX 0 -#define R_ECX 1 -#define R_EDX 2 -#define R_EBX 3 -#define R_ESP 4 -#define R_EBP 5 -#define R_ESI 6 -#define R_EDI 7 - -#define R_AL 0 -#define R_CL 1 -#define R_DL 2 -#define R_BL 3 -#define R_AH 4 -#define R_CH 5 -#define R_DH 6 -#define R_BH 7 - -#define R_ES 0 -#define R_CS 1 -#define R_SS 2 -#define R_DS 3 -#define R_FS 4 -#define R_GS 5 +enum { +R_EAX =0 , +R_ECX =1 , +R_EDX =2 , +R_EBX =3 , +R_ESP =4 , +R_EBP =5 , +R_ESI =6 , +R_EDI =7 , +R_R8 =8 , +R_R9 =9 , +R_R10 =10 , +R_R11 =11 , +R_R12 =12 , +R_R13 =13 , +R_R14 =14 , +R_R15 =15 , + +R_AL =0 , +R_CL =1 , +R_DL =2 , +R_BL =3 , +R_AH =4 , +R_CH =5 , +R_DH =6 , +R_BH =7 , +}; + +typedef enum X86Seg { +R_ES =0 , +R_CS =1 , +R_SS =2 , +R_DS =3 , +R_FS =4 , +R_GS =5 , +R_LDTR =6 , +R_TR =7 , +}X86Seg ;/* segment descriptor fields */ #define DESC_G_SHIFT 23
target/i386/hvf/vmx.h +5 -5
@@ -88,14 +88,14 @@ static void enter_long_mode(hv_vcpuid_t vcpu, uint64_t cr0, uint64_t efer) {uint64_t entry_ctls; - efer |=EFER_LMA ; + efer |=MSR_EFER_LMA ;wvmcs (vcpu,VMCS_GUEST_IA32_EFER , efer); entry_ctls =rvmcs (vcpu,VMCS_ENTRY_CTLS );wvmcs (vcpu,VMCS_ENTRY_CTLS ,rvmcs (vcpu,VMCS_ENTRY_CTLS ) |VM_ENTRY_GUEST_LMA );uint64_t guest_tr_ar =rvmcs (vcpu,VMCS_GUEST_TR_ACCESS_RIGHTS ); -if ((efer &EFER_LME ) && +if ((efer &MSR_EFER_LME ) && (guest_tr_ar &AR_TYPE_MASK ) !=AR_TYPE_BUSY_64_TSS ) {wvmcs (vcpu,VMCS_GUEST_TR_ACCESS_RIGHTS , (guest_tr_ar & ~AR_TYPE_MASK ) |AR_TYPE_BUSY_64_TSS );
@@ -109,7 +109,7 @@ static void exit_long_mode(hv_vcpuid_t vcpu, uint64_t cr0, uint64_t efer) entry_ctls =rvmcs (vcpu,VMCS_ENTRY_CTLS );wvmcs (vcpu,VMCS_ENTRY_CTLS , entry_ctls & ~VM_ENTRY_GUEST_LMA ); - efer &= ~EFER_LMA ; + efer &= ~MSR_EFER_LMA ;wvmcs (vcpu,VMCS_GUEST_IA32_EFER , efer); }
@@ -121,7 +121,7 @@ static inline void macvm_set_cr0(hv_vcpuid_t vcpu, uint64_t cr0)uint64_t old_cr0 =rvmcs (vcpu,VMCS_GUEST_CR0 );if ((cr0 &CR0_PG ) && (rvmcs (vcpu,VMCS_GUEST_CR4 ) &CR4_PAE ) && - !(efer &EFER_LME )) { + !(efer &MSR_EFER_LME )) { address_space_rw(&address_space_memory, rvmcs(vcpu, VMCS_GUEST_CR3) & ~0x1f, MEMTXATTRS_UNSPECIFIED,
@@ -138,7 +138,7 @@ static inline void macvm_set_cr0(hv_vcpuid_t vcpu, uint64_t cr0) cr0 &= ~CR0_CD ;wvmcs (vcpu,VMCS_GUEST_CR0 , cr0 |CR0_NE |CR0_ET ); -if (efer &EFER_LME ) { +if (efer &MSR_EFER_LME ) {if (!(old_cr0 &CR0_PG ) && (cr0 &CR0_PG )) {enter_long_mode (vcpu, cr0, efer); }
target/i386/hvf/x86.c +5 -5
@@ -134,13 +134,13 @@ bool x86_is_v8086(struct CPUState *cpu)bool x86_is_long_mode (struct CPUState *cpu) { -return rvmcs (cpu->hvf_fd,VMCS_GUEST_IA32_EFER ) &EFER_LMA ; +return rvmcs (cpu->hvf_fd,VMCS_GUEST_IA32_EFER ) &MSR_EFER_LMA ; }bool x86_is_long64_mode (struct CPUState *cpu) {struct vmx_segment desc; -vmx_read_segment_descriptor (cpu, &desc,REG_SEG_CS ); +vmx_read_segment_descriptor (cpu, &desc,R_CS );return x86_is_long_mode (cpu) && ((desc.ar >>13 ) &1 ); }
@@ -157,13 +157,13 @@ bool x86_is_pae_enabled(struct CPUState *cpu)return cr4 &CR4_PAE ; } -addr_t linear_addr (struct CPUState *cpu,addr_t addr,x86_reg_segment seg) +addr_t linear_addr (struct CPUState *cpu,addr_t addr,X86Seg seg) {return vmx_read_segment_base (cpu, seg) + addr; }addr_t linear_addr_size (struct CPUState *cpu,addr_t addr,int size, -x86_reg_segment seg) +X86Seg seg) {switch (size) {case 2 :
@@ -180,5 +180,5 @@ addr_t linear_addr_size(struct CPUState *cpu, addr_t addr, int size,addr_t linear_rip (struct CPUState *cpu,addr_t rip) { -return linear_addr (cpu, rip,REG_SEG_CS ); +return linear_addr (cpu, rip,R_CS ); }
target/i386/hvf/x86.h +43 -102
178 lines not on this page · raw message
target/i386/hvf/x86_decode.c +40 -40
222 lines not on this page · raw message
target/i386/hvf/x86_decode.h +1 -1
@@ -308,7 +308,7 @@ addr_t get_reg_val(CPUX86State *env, int reg, int is_extended, int size);void calc_modrm_operand (CPUX86State *env,struct x86_decode *decode,struct x86_decode_op *op);addr_t decode_linear_addr (CPUX86State *env,struct x86_decode *decode, -addr_t addr,x86_reg_segment seg); +addr_t addr,enum X86Seg seg);void init_decoder (void ); void calc_modrm_operand16(CPUX86State *env, struct x86_decode *decode,
target/i386/hvf/x86_descr.c +13 -13
@@ -22,12 +22,12 @@#include "vmx.h" #include "x86_descr.h" -#define VMX_SEGMENT_FIELD (seg) \ - [REG_SEG_##seg] = { \ - .selector = VMCS_GUEST_##seg##_SELECTOR, \ - .base = VMCS_GUEST_##seg##_BASE, \ - .limit = VMCS_GUEST_##seg##_LIMIT, \ - .ar_bytes = VMCS_GUEST_##seg##_ACCESS_RIGHTS, \ +#define VMX_SEGMENT_FIELD (seg) \ + [R_##seg] = { \ + .selector = VMCS_GUEST_##seg##_SELECTOR, \ + .base = VMCS_GUEST_##seg##_BASE, \ + .limit = VMCS_GUEST_##seg##_LIMIT, \ + .ar_bytes = VMCS_GUEST_##seg##_ACCESS_RIGHTS, \ } static const struct vmx_segment_field {
@@ -46,34 +46,34 @@ static const struct vmx_segment_field { VMX_SEGMENT_FIELD(TR), }; -uint32_t vmx_read_segment_limit (CPUState *cpu,x86_reg_segment seg) +uint32_t vmx_read_segment_limit (CPUState *cpu,X86Seg seg) {return (uint32_t )rvmcs (cpu->hvf_fd, vmx_segment_fields[seg].limit); } -uint32_t vmx_read_segment_ar (CPUState *cpu,x86_reg_segment seg) +uint32_t vmx_read_segment_ar (CPUState *cpu,X86Seg seg) {return (uint32_t )rvmcs (cpu->hvf_fd, vmx_segment_fields[seg].ar_bytes); } -uint64_t vmx_read_segment_base (CPUState *cpu,x86_reg_segment seg) +uint64_t vmx_read_segment_base (CPUState *cpu,X86Seg seg) {return rvmcs (cpu->hvf_fd, vmx_segment_fields[seg].base); } -x68_segment_selector vmx_read_segment_selector (CPUState *cpu,x86_reg_segment seg) +x68_segment_selector vmx_read_segment_selector (CPUState *cpu,X86Seg seg) {x68_segment_selector sel; sel.sel =rvmcs (cpu->hvf_fd, vmx_segment_fields[seg].selector);return sel; } -void vmx_write_segment_selector (struct CPUState *cpu,x68_segment_selector selector,x86_reg_segment seg) +void vmx_write_segment_selector (struct CPUState *cpu,x68_segment_selector selector,X86Seg seg) {wvmcs (cpu->hvf_fd, vmx_segment_fields[seg].selector, selector.sel); } -void vmx_read_segment_descriptor (struct CPUState *cpu,struct vmx_segment *desc,x86_reg_segment seg) +void vmx_read_segment_descriptor (struct CPUState *cpu,struct vmx_segment *desc,X86Seg seg) { desc->sel =rvmcs (cpu->hvf_fd, vmx_segment_fields[seg].selector); desc->base =rvmcs (cpu->hvf_fd, vmx_segment_fields[seg].base);
@@ -81,7 +81,7 @@ void vmx_read_segment_descriptor(struct CPUState *cpu, struct vmx_segment *desc, desc->ar =rvmcs (cpu->hvf_fd, vmx_segment_fields[seg].ar_bytes); } -void vmx_write_segment_descriptor (CPUState *cpu,struct vmx_segment *desc,x86_reg_segment seg) +void vmx_write_segment_descriptor (CPUState *cpu,struct vmx_segment *desc,X86Seg seg) {const struct vmx_segment_field *sf = &vmx_segment_fields[seg];
target/i386/hvf/x86_descr.h +8 -8
@@ -30,18 +30,18 @@ typedef struct vmx_segment {/* deal with vmstate descriptors */ void vmx_read_segment_descriptor (struct CPUState *cpu, -struct vmx_segment *desc,x86_reg_segment seg); +struct vmx_segment *desc,enum X86Seg seg);void vmx_write_segment_descriptor (CPUState *cpu,struct vmx_segment *desc, -x86_reg_segment seg); +enum X86Seg seg);x68_segment_selector vmx_read_segment_selector (struct CPUState *cpu, -x86_reg_segment seg); +enum X86Seg seg);void vmx_write_segment_selector (struct CPUState *cpu,x68_segment_selector selector, -x86_reg_segment seg); +enum X86Seg seg); -uint64_t vmx_read_segment_base (struct CPUState *cpu,x86_reg_segment seg); -void vmx_write_segment_base (struct CPUState *cpu,x86_reg_segment seg, +uint64_t vmx_read_segment_base (struct CPUState *cpu,enum X86Seg seg); +void vmx_write_segment_base (struct CPUState *cpu,enum X86Seg seg,uint64_t base); void x86_segment_descriptor_to_vmx(struct CPUState *cpu,
@@ -49,8 +49,8 @@ void x86_segment_descriptor_to_vmx(struct CPUState *cpu,struct x86_segment_descriptor *desc, struct vmx_segment *vmx_desc); -uint32_t vmx_read_segment_limit (CPUState *cpu,x86_reg_segment seg); -uint32_t vmx_read_segment_ar (CPUState *cpu,x86_reg_segment seg); +uint32_t vmx_read_segment_limit (CPUState *cpu,enum X86Seg seg); +uint32_t vmx_read_segment_ar (CPUState *cpu,enum X86Seg seg);void vmx_segment_to_x86_descriptor (struct CPUState *cpu,struct vmx_segment *vmx_desc,struct x86_segment_descriptor *desc);
target/i386/hvf/x86_emu.c +33 -33
169 lines not on this page · raw message
target/i386/hvf/x86_task.c +24 -24
80 lines not on this page · raw message
target/i386/hvf/x86hvf.c +16 -16
@@ -107,28 +107,28 @@ void hvf_put_segments(CPUState *cpu_state)macvm_set_cr0 (cpu_state->hvf_fd, env->cr[0 ]);hvf_set_segment (cpu_state, &seg, &env->segs[R_CS ], false); -vmx_write_segment_descriptor (cpu_state, &seg,REG_SEG_CS ); +vmx_write_segment_descriptor (cpu_state, &seg,R_CS );hvf_set_segment (cpu_state, &seg, &env->segs[R_DS ], false); -vmx_write_segment_descriptor (cpu_state, &seg,REG_SEG_DS ); +vmx_write_segment_descriptor (cpu_state, &seg,R_DS );hvf_set_segment (cpu_state, &seg, &env->segs[R_ES ], false); -vmx_write_segment_descriptor (cpu_state, &seg,REG_SEG_ES ); +vmx_write_segment_descriptor (cpu_state, &seg,R_ES );hvf_set_segment (cpu_state, &seg, &env->segs[R_SS ], false); -vmx_write_segment_descriptor (cpu_state, &seg,REG_SEG_SS ); +vmx_write_segment_descriptor (cpu_state, &seg,R_SS );hvf_set_segment (cpu_state, &seg, &env->segs[R_FS ], false); -vmx_write_segment_descriptor (cpu_state, &seg,REG_SEG_FS ); +vmx_write_segment_descriptor (cpu_state, &seg,R_FS );hvf_set_segment (cpu_state, &seg, &env->segs[R_GS ], false); -vmx_write_segment_descriptor (cpu_state, &seg,REG_SEG_GS ); +vmx_write_segment_descriptor (cpu_state, &seg,R_GS );hvf_set_segment (cpu_state, &seg, &env->tr, true); -vmx_write_segment_descriptor (cpu_state, &seg,REG_SEG_TR ); +vmx_write_segment_descriptor (cpu_state, &seg,R_TR );hvf_set_segment (cpu_state, &seg, &env->ldt, false); -vmx_write_segment_descriptor (cpu_state, &seg,REG_SEG_LDTR ); +vmx_write_segment_descriptor (cpu_state, &seg,R_LDTR );hv_vcpu_flush (cpu_state->hvf_fd); }
@@ -183,28 +183,28 @@ void hvf_get_segments(CPUState *cpu_state) env->interrupt_injected =-1 ; -vmx_read_segment_descriptor (cpu_state, &seg,REG_SEG_CS ); +vmx_read_segment_descriptor (cpu_state, &seg,R_CS );hvf_get_segment (&env->segs[R_CS ], &seg); -vmx_read_segment_descriptor (cpu_state, &seg,REG_SEG_DS ); +vmx_read_segment_descriptor (cpu_state, &seg,R_DS );hvf_get_segment (&env->segs[R_DS ], &seg); -vmx_read_segment_descriptor (cpu_state, &seg,REG_SEG_ES ); +vmx_read_segment_descriptor (cpu_state, &seg,R_ES );hvf_get_segment (&env->segs[R_ES ], &seg); -vmx_read_segment_descriptor (cpu_state, &seg,REG_SEG_FS ); +vmx_read_segment_descriptor (cpu_state, &seg,R_FS );hvf_get_segment (&env->segs[R_FS ], &seg); -vmx_read_segment_descriptor (cpu_state, &seg,REG_SEG_GS ); +vmx_read_segment_descriptor (cpu_state, &seg,R_GS );hvf_get_segment (&env->segs[R_GS ], &seg); -vmx_read_segment_descriptor (cpu_state, &seg,REG_SEG_SS ); +vmx_read_segment_descriptor (cpu_state, &seg,R_SS );hvf_get_segment (&env->segs[R_SS ], &seg); -vmx_read_segment_descriptor (cpu_state, &seg,REG_SEG_TR ); +vmx_read_segment_descriptor (cpu_state, &seg,R_TR );hvf_get_segment (&env->tr, &seg); -vmx_read_segment_descriptor (cpu_state, &seg,REG_SEG_LDTR ); +vmx_read_segment_descriptor (cpu_state, &seg,R_LDTR );hvf_get_segment (&env->ldt, &seg); env->idt.limit =rvmcs (cpu_state->hvf_fd,VMCS_GUEST_IDTR_LIMIT );
Signature · 1 line
2.14.3
[Qemu-devel] [PULL 17/19] i386: hvf: remove addr_t
In reply to Paolo BonziniUse target_ulong for virtual addresses and uint64_t for physical addresses.
--- target/i386/hvf/hvf.c | 4 ++-- target/i386/hvf/x86.c | 15 +++++++------ target/i386/hvf/x86.h | 12 +++++----- target/i386/hvf/x86_decode.c | 38 ++++++++++++++++---------------- target/i386/hvf/x86_decode.h | 14 ++++++------ target/i386/hvf/x86_emu.c | 52 ++++++++++++++++++++++---------------------- target/i386/hvf/x86_emu.h | 14 ++++++------ target/i386/hvf/x86_flags.c | 14 ++++++------ target/i386/hvf/x86_gen.h | 2 -- target/i386/hvf/x86_mmu.c | 29 ++++++++++++------------ target/i386/hvf/x86_mmu.h | 6 ++--- 11 files changed, 99 insertions(+), 101 deletions(-)
target/i386/hvf/hvf.c +2 -2
@@ -289,7 +289,7 @@ void hvf_cpu_synchronize_post_init(CPUState *cpu_state)run_on_cpu (cpu_state, _hvf_cpu_synchronize_post_init,RUN_ON_CPU_NULL ); } -static bool ept_emulation_fault (hvf_slot *slot,addr_t gpa,uint64_t ept_qual) +static bool ept_emulation_fault (hvf_slot *slot,uint64_t gpa,uint64_t ept_qual) {int read, write;
@@ -704,7 +704,7 @@ int hvf_vcpu_exec(CPUState *cpu)case EXIT_REASON_EPT_FAULT : {hvf_slot *slot; -addr_t gpa =rvmcs (cpu->hvf_fd,VMCS_GUEST_PHYSICAL_ADDRESS ); +uint64_t gpa =rvmcs (cpu->hvf_fd,VMCS_GUEST_PHYSICAL_ADDRESS );if (((idtvec_info &VMCS_IDT_VEC_VALID ) ==0 ) && ((exit_qual &EXIT_QUAL_NMIUDTI ) !=0 )) {
target/i386/hvf/x86.c +8 -7
@@ -18,6 +18,7 @@#include "qemu/osdep.h" +#include "cpu.h" #include "qemu-common.h" #include "x86_decode.h" #include "x86_emu.h"
@@ -50,7 +51,7 @@ bool x86_read_segment_descriptor(struct CPUState *cpu, struct x86_segment_descriptor *desc, x68_segment_selector sel) { -addr_t base; +target_ulong base;uint32_t limit;memset (desc,0 ,sizeof (*desc));
@@ -80,7 +81,7 @@ bool x86_write_segment_descriptor(struct CPUState *cpu, struct x86_segment_descriptor *desc, x68_segment_selector sel) { -addr_t base; +target_ulong base;uint32_t limit;if (GDT_SEL == sel.ti) {
@@ -102,7 +103,7 @@ bool x86_write_segment_descriptor(struct CPUState *cpu,bool x86_read_call_gate (struct CPUState *cpu,struct x86_call_gate *idt_desc,int gate) { -addr_t base =rvmcs (cpu->hvf_fd,VMCS_GUEST_IDTR_BASE ); +target_ulong base =rvmcs (cpu->hvf_fd,VMCS_GUEST_IDTR_BASE );uint32_t limit =rvmcs (cpu->hvf_fd,VMCS_GUEST_IDTR_LIMIT );memset (idt_desc,0 ,sizeof (*idt_desc));
@@ -158,13 +159,13 @@ bool x86_is_pae_enabled(struct CPUState *cpu)return cr4 &CR4_PAE ; } -addr_t linear_addr (struct CPUState *cpu,addr_t addr,X86Seg seg) +target_ulong linear_addr (struct CPUState *cpu,target_ulong addr,X86Seg seg) {return vmx_read_segment_base (cpu, seg) + addr; } -addr_t linear_addr_size (struct CPUState *cpu,addr_t addr,int size, -X86Seg seg) +target_ulong linear_addr_size (struct CPUState *cpu,target_ulong addr,int size, +X86Seg seg) {switch (size) {case 2 :
@@ -179,7 +180,7 @@ addr_t linear_addr_size(struct CPUState *cpu, addr_t addr, int size,return linear_addr (cpu, addr, seg); } -addr_t linear_rip (struct CPUState *cpu,addr_t rip) +target_ulong linear_rip (struct CPUState *cpu,target_ulong rip) {return linear_addr (cpu, rip,R_CS ); }
target/i386/hvf/x86.h +6 -6
@@ -289,8 +289,8 @@ typedef struct x68_segment_selector { } __attribute__ ((__packed__)) x68_segment_selector;typedef struct lazy_flags { -addr_t result; -addr_t auxbits; +target_ulong result; +target_ulong auxbits; }lazy_flags ;/* Definition of hvf_x86_state is here */
@@ -381,10 +381,10 @@ bool x86_is_paging_mode(struct CPUState *cpu);bool x86_is_pae_enabled (struct CPUState *cpu);enum X86Seg ; -addr_t linear_addr (struct CPUState *cpu,addr_t addr,enum X86Seg seg); -addr_t linear_addr_size (struct CPUState *cpu,addr_t addr,int size, -enum X86Seg seg); -addr_t linear_rip (struct CPUState *cpu,addr_t rip); +target_ulong linear_addr (struct CPUState *cpu,target_ulong addr,enum X86Seg seg); +target_ulong linear_addr_size (struct CPUState *cpu,target_ulong addr,int size, +enum X86Seg seg); +target_ulong linear_rip (struct CPUState *cpu,target_ulong rip);static inline uint64_t rdtscp (void ) {
target/i386/hvf/x86_decode.c +19 -19
@@ -64,7 +64,7 @@ uint64_t sign(uint64_t val, int size)static inline uint64_t decode_bytes (CPUX86State *env,struct x86_decode *decode,int size) { -addr_t val =0 ; +target_ulong val =0 ;switch (size) {case 1 :
@@ -76,7 +76,7 @@ static inline uint64_t decode_bytes(CPUX86State *env, struct x86_decode *decode,VM_PANIC_EX ("%s invalid size %d\n" , __func__, size);break ; } -addr_t va =linear_rip (ENV_GET_CPU (env),RIP (env)) + decode->len; +target_ulong va =linear_rip (ENV_GET_CPU (env),RIP (env)) + decode->len;vmx_read_mem (ENV_GET_CPU (env), &val, va, size); decode->len += size;
@@ -430,7 +430,7 @@ struct decode_tbl {void (*decode_op4)(CPUX86State *env,struct x86_decode *decode,struct x86_decode_op *op4);void (*decode_postfix)(CPUX86State *env,struct x86_decode *decode); -addr_t flags_mask; +uint32_t flags_mask; };struct decode_x87_tbl {
@@ -446,7 +446,7 @@ struct decode_x87_tbl {void (*decode_op2)(CPUX86State *env,struct x86_decode *decode,struct x86_decode_op *op2);void (*decode_postfix)(CPUX86State *env,struct x86_decode *decode); -addr_t flags_mask; +uint32_t flags_mask; };struct decode_tbl invl_inst = {0x0 ,0 ,0 , false,NULL ,NULL ,NULL ,NULL ,
@@ -1638,7 +1638,7 @@ struct decode_x87_tbl _x87_inst[] = {void calc_modrm_operand16 (CPUX86State *env,struct x86_decode *decode,struct x86_decode_op *op) { -addr_t ptr =0 ; +target_ulong ptr =0 ;X86Seg seg =R_DS ;if (!decode->modrm.mod &&6 == decode->modrm.rm) {
@@ -1687,9 +1687,9 @@ calc_addr: } } -addr_t get_reg_ref (CPUX86State *env,int reg,int is_extended,int size) +target_ulong get_reg_ref (CPUX86State *env,int reg,int is_extended,int size) { -addr_t ptr =0 ; +target_ulong ptr =0 ;int which =0 ;if (is_extended) {
@@ -1701,32 +1701,32 @@ addr_t get_reg_ref(CPUX86State *env, int reg, int is_extended, int size)case 1 :if (is_extended || reg <4 ) { which =1 ; - ptr = (addr_t)&RL (env, reg); + ptr = (target_ulong)&RL (env, reg); }else { which =2 ; - ptr = (addr_t)&RH (env, reg -4 ); + ptr = (target_ulong)&RH (env, reg -4 ); }break ;default : which =3 ; - ptr = (addr_t)&RRX (env, reg); + ptr = (target_ulong)&RRX (env, reg);break ; }return ptr; } -addr_t get_reg_val (CPUX86State *env,int reg,int is_extended,int size) +target_ulong get_reg_val (CPUX86State *env,int reg,int is_extended,int size) { -addr_t val =0 ; +target_ulong val =0 ;memcpy (&val, (void *)get_reg_ref (env, reg, is_extended, size), size);return val; } -static addr_t get_sib_val (CPUX86State *env,struct x86_decode *decode, +static target_ulong get_sib_val (CPUX86State *env,struct x86_decode *decode,X86Seg *sel) { -addr_t base =0 ; -addr_t scaled_index =0 ; +target_ulong base =0 ; +target_ulong scaled_index =0 ;int addr_size = decode->addressing_size;int base_reg = decode->sib.base;int index_reg = decode->sib.index;
@@ -1758,7 +1758,7 @@ void calc_modrm_operand32(CPUX86State *env, struct x86_decode *decode, struct x86_decode_op *op) {X86Seg seg =R_DS ; -addr_t ptr =0 ; +target_ulong ptr =0 ;int addr_size = decode->addressing_size;if (decode->displacement_size) {
@@ -1794,7 +1794,7 @@ void calc_modrm_operand64(CPUX86State *env, struct x86_decode *decode,int32_t offset =0 ;int mod = decode->modrm.mod;int rm = decode->modrm.rm; -addr_t ptr; +target_ulong ptr;int src = decode->modrm.rm;if (decode->displacement_size) {
@@ -2157,8 +2157,8 @@ const char *decode_cmd_to_string(enum x86_decode_cmd cmd)return cmds[cmd]; } -addr_t decode_linear_addr (CPUX86State *env,struct x86_decode *decode, -addr_t addr,X86Seg seg) +target_ulong decode_linear_addr (CPUX86State *env,struct x86_decode *decode, +target_ulong addr,X86Seg seg) {switch (decode->segment_override) {case PREFIX_CS_SEG_OVEERIDE :
target/i386/hvf/x86_decode.h +7 -7
@@ -264,9 +264,9 @@ typedef struct x86_decode_op {int size;int reg; -addr_t val; +target_ulong val; -addr_t ptr; +target_ulong ptr; } x86_decode_op; typedef struct x86_decode {
@@ -295,7 +295,7 @@ typedef struct x86_decode {struct x86_modrm modrm;struct x86_decode_op op[4 ];bool is_fpu; -addr_t flags_mask; +uint32_t flags_mask; } x86_decode;
@@ -303,12 +303,12 @@ uint64_t sign(uint64_t val, int size);uint32_t decode_instruction (CPUX86State *env,struct x86_decode *decode); -addr_t get_reg_ref (CPUX86State *env,int reg,int is_extended,int size); -addr_t get_reg_val (CPUX86State *env,int reg,int is_extended,int size); +target_ulong get_reg_ref (CPUX86State *env,int reg,int is_extended,int size); +target_ulong get_reg_val (CPUX86State *env,int reg,int is_extended,int size);void calc_modrm_operand (CPUX86State *env,struct x86_decode *decode,struct x86_decode_op *op); -addr_t decode_linear_addr (CPUX86State *env,struct x86_decode *decode, -addr_t addr,enum X86Seg seg); +target_ulong decode_linear_addr (CPUX86State *env,struct x86_decode *decode, +target_ulong addr,enum X86Seg seg);void init_decoder (void ); void calc_modrm_operand16(CPUX86State *env, struct x86_decode *decode,
target/i386/hvf/x86_emu.c +26 -26
159 lines not on this page · raw message
target/i386/hvf/x86_emu.h +7 -7
@@ -31,13 +31,13 @@ void store_regs(struct CPUState *cpu);void simulate_rdmsr (struct CPUState *cpu);void simulate_wrmsr (struct CPUState *cpu); -addr_t read_reg (CPUX86State *env,int reg,int size); -void write_reg (CPUX86State *env,int reg,addr_t val,int size); -addr_t read_val_from_reg (addr_t reg_ptr,int size); -void write_val_to_reg (addr_t reg_ptr,addr_t val,int size); -void write_val_ext (struct CPUX86State *env,addr_t ptr,addr_t val,int size); -uint8_t *read_mmio (struct CPUX86State *env,addr_t ptr,int bytes); -addr_t read_val_ext (struct CPUX86State *env,addr_t ptr,int size); +target_ulong read_reg (CPUX86State *env,int reg,int size); +void write_reg (CPUX86State *env,int reg,target_ulong val,int size); +target_ulong read_val_from_reg (target_ulong reg_ptr,int size); +void write_val_to_reg (target_ulong reg_ptr,target_ulong val,int size); +void write_val_ext (struct CPUX86State *env,target_ulong ptr,target_ulong val,int size); +uint8_t *read_mmio (struct CPUX86State *env,target_ulong ptr,int bytes); +target_ulong read_val_ext (struct CPUX86State *env,target_ulong ptr,int size);void exec_movzx (struct CPUX86State *env,struct x86_decode *decode);void exec_shl (struct CPUX86State *env,struct x86_decode *decode);
target/i386/hvf/x86_flags.c +7 -7
@@ -60,9 +60,9 @@/* size, carries, result */ #define SET_FLAGS_OSZAPC_SIZE (size, lf_carries, lf_result) { \ - addr_t temp = ((lf_carries) & (LF_MASK_AF)) | \ + target_ulong temp = ((lf_carries) & (LF_MASK_AF)) | \ (((lf_carries) >> (size - 2)) << LF_BIT_PO); \ - env->hvf_emul->lflags.result = (addr_t)(int##size##_t)(lf_result); \ + env->hvf_emul->lflags.result = (target_ulong)(int##size##_t)(lf_result); \ if ((size) == 32) { \ temp = ((lf_carries) & ~(LF_MASK_PDB | LF_MASK_SD)); \ } else if ((size) == 16) { \
@@ -72,7 +72,7 @@ }else { \VM_PANIC ("unimplemented" ); \ } \ - env->hvf_emul->lflags.auxbits = (addr_t )(uint32_t )temp; \ + env->hvf_emul->lflags.auxbits = (target_ulong )(uint32_t )temp; \ }/* carries, result */
@@ -88,7 +88,7 @@/* ******************* */ /* size, carries, result */ #define SET_FLAGS_OSZAP_SIZE (size, lf_carries, lf_result) { \ - addr_t temp = ((lf_carries) & (LF_MASK_AF)) | \ + target_ulong temp = ((lf_carries) & (LF_MASK_AF)) | \ (((lf_carries) >> (size - 2)) << LF_BIT_PO); \ if ((size) == 32) { \ temp = ((lf_carries) & ~(LF_MASK_PDB | LF_MASK_SD)); \
@@ -99,10 +99,10 @@ }else { \VM_PANIC ("unimplemented" ); \ } \ - env->hvf_emul->lflags.result = (addr_t)(int##size##_t)(lf_result); \ -addr_t delta_c = (env->hvf_emul->lflags.auxbits ^ temp) &LF_MASK_CF ; \ + env->hvf_emul->lflags.result = (target_ulong)(int##size##_t)(lf_result); \ +target_ulong delta_c = (env->hvf_emul->lflags.auxbits ^ temp) &LF_MASK_CF ; \ delta_c ^= (delta_c >>1 ); \ - env->hvf_emul->lflags.auxbits = (addr_t)(uint32_t)(temp ^ delta_c); \ + env->hvf_emul->lflags.auxbits = (target_ulong)(uint32_t)(temp ^ delta_c); \ }/* carries, result */
target/i386/hvf/x86_gen.h +0 -2
@@ -18,8 +18,6 @@#ifndef __X86_GEN_H__#define __X86_GEN_H__ -typedef uint64_t addr_t ; -#define VM_PANIC (x) {\ printf("%s\n", x); \ abort(); \
target/i386/hvf/x86_mmu.c +14 -15
@@ -43,8 +43,8 @@#define PAE_PTE_LARGE_PAGE_MASK ((-1llu << (21)) & ((1llu << 52) - 1))struct gpt_translation { -addr_t gva; -addr_t gpa; +target_ulong gva; +uint64_t gpa;int err_code;uint64_t pte[5 ];bool write_access;
@@ -64,7 +64,7 @@ static int gpt_top_level(struct CPUState *cpu, bool pae)return 3 ; } -static inline int gpt_entry (addr_t addr,int level,bool pae) +static inline int gpt_entry (target_ulong addr,int level,bool pae) {int level_shift = pae ?9 :10 ;return (addr >> (level_shift * (level -1 ) +12 )) & ((1 << level_shift) -1 );
@@ -81,8 +81,8 @@ static bool get_pt_entry(struct CPUState *cpu, struct gpt_translation *pt, {int index;uint64_t pte =0 ; -addr_t page_mask = pae ?PAE_PTE_PAGE_MASK :LEGACY_PTE_PAGE_MASK ; -addr_t gpa = pt->pte[level] & page_mask; +uint64_t page_mask = pae ?PAE_PTE_PAGE_MASK :LEGACY_PTE_PAGE_MASK ; +uint64_t gpa = pt->pte[level] & page_mask;if (level ==3 && !x86_is_long_mode (cpu)) { gpa = pt->pte[level];
@@ -114,7 +114,6 @@ static bool test_pt_entry(struct CPUState *cpu, struct gpt_translation *pt, }if (!pte_present (pte)) { -/* addr_t page_mask = pae ? PAE_PTE_PAGE_MASK : LEGACY_PTE_PAGE_MASK; */ return false; }
@@ -130,7 +129,7 @@ static bool test_pt_entry(struct CPUState *cpu, struct gpt_translation *pt, pt->err_code |=MMU_PAGE_PT ; } -addr_t cr0 =rvmcs (cpu->hvf_fd,VMCS_GUEST_CR0 ); +uint32_t cr0 =rvmcs (cpu->hvf_fd,VMCS_GUEST_CR0 );/* check protection */ if (cr0 &CR0_WP ) {if (pt->write_access && !pte_write_access (pte)) {
@@ -170,13 +169,13 @@ static inline uint64_t large_page_gpa(struct gpt_translation *pt, bool pae) -static bool walk_gpt (struct CPUState *cpu,addr_t addr,int err_code, +static bool walk_gpt (struct CPUState *cpu,target_ulong addr,int err_code,struct gpt_translation *pt,bool pae) {int top_level, level;bool is_large = false; -addr_t cr3 =rvmcs (cpu->hvf_fd,VMCS_GUEST_CR3 ); -addr_t page_mask = pae ?PAE_PTE_PAGE_MASK :LEGACY_PTE_PAGE_MASK ; +target_ulong cr3 =rvmcs (cpu->hvf_fd,VMCS_GUEST_CR3 ); +uint64_t page_mask = pae ?PAE_PTE_PAGE_MASK :LEGACY_PTE_PAGE_MASK ;memset (pt,0 ,sizeof (*pt)); top_level =gpt_top_level (cpu, pae);
@@ -209,7 +208,7 @@ static bool walk_gpt(struct CPUState *cpu, addr_t addr, int err_code, } -bool mmu_gva_to_gpa (struct CPUState *cpu,addr_t gva,addr_t *gpa) +bool mmu_gva_to_gpa (struct CPUState *cpu,target_ulong gva,uint64_t *gpa) {bool res;struct gpt_translation pt;
@@ -229,9 +228,9 @@ bool mmu_gva_to_gpa(struct CPUState *cpu, addr_t gva, addr_t *gpa)return false; } -void vmx_write_mem (struct CPUState *cpu,addr_t gva,void *data,int bytes) +void vmx_write_mem (struct CPUState *cpu,target_ulong gva,void *data,int bytes) { -addr_t gpa; +uint64_t gpa;while (bytes >0 ) {/* copy page */
@@ -250,9 +249,9 @@ void vmx_write_mem(struct CPUState *cpu, addr_t gva, void *data, int bytes) } } -void vmx_read_mem (struct CPUState *cpu,void *data,addr_t gva,int bytes) +void vmx_read_mem (struct CPUState *cpu,void *data,target_ulong gva,int bytes) { -addr_t gpa; +uint64_t gpa;while (bytes >0 ) {/* copy page */
target/i386/hvf/x86_mmu.h +3 -3
@@ -37,9 +37,9 @@#define MMU_PAGE_US (1 << 2)#define MMU_PAGE_NX (1 << 3) -bool mmu_gva_to_gpa (struct CPUState *cpu,addr_t gva,addr_t *gpa); +bool mmu_gva_to_gpa (struct CPUState *cpu,target_ulong gva,uint64_t *gpa); -void vmx_write_mem (struct CPUState *cpu,addr_t gva,void *data,int bytes); -void vmx_read_mem (struct CPUState *cpu,void *data,addr_t gva,int bytes); +void vmx_write_mem (struct CPUState *cpu,target_ulong gva,void *data,int bytes); +void vmx_read_mem (struct CPUState *cpu,void *data,target_ulong gva,int bytes);#endif /* __X86_MMU_H__ */
Signature · 1 line
2.14.3
[Qemu-devel] [PULL 18/19] i386: hvf: remove VM_PANIC from "in"
In reply to Paolo BonziniJust give the obvious meaning to a 64-bit port, even though it should not really happen.
--- target/i386/hvf/hvf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
target/i386/hvf/hvf.c +1 -1
@@ -745,7 +745,7 @@ int hvf_vcpu_exec(CPUState *cpu) }else if (size ==4 ) {RAX (env) = (uint32_t )val; }else { -VM_PANIC ("size" ); +RAX (env) = (uint64_t )val; }RIP (env) += ins_len;store_regs (cpu);
Signature · 1 line
2.14.3
[Qemu-devel] [PULL 02/19] i386: hvf: add code base from Google's QEMU repository
In reply to Paolo BonziniFrom: Sergio Andres Gomez Del Real <[email protected]>
This file begins tracking the files that will be the code base for HVF support in QEMU. This code base is part of Google's QEMU version of their Android emulator, and can be found at
https://android.googlesource.com/platform/external/qemu/+/emu-master-dev
This code is based on Veertu Inc's vdhh (Veertu Desktop Hosted Hypervisor), found at https://github.com/veertuinc/vdhh. Everything is appropriately licensed under GPL v2-or-later, except for the code inside x86_task.c and x86_task.h, which, deriving from KVM (the Linux kernel), is licensed GPL v2-only.
This code base already implements a very great deal of functionality, although Google's version removed from Vertuu's the support for APIC page and hyperv-related stuff. According to the Android Emulator Release Notes, Revision 26.1.3 (August 2017), "Hypervisor.framework is now enabled by default on macOS for 32-bit x86 images to improve performance and macOS compatibility", although we better use with caution for, as the same Revision warns us, "If you experience issues with it specifically, please file a bug report...". The code hasn't seen much update in the last 5 months, so I think that we can further develop the code with occasional visiting Google's repository to see if there has been any update.
On top of Google's code, the following changes were made:
- add code to the configure script to support the --enable-hvf argument. If the OS is Darwin, it checks for presence of HVF in the system. The patch also adds strings related to HVF in the file qemu-options.hx. QEMU will only support the modern syntax style '-M accel=hvf' no enable hvf; the legacy '-enable-hvf' will not be supported.
- fix styling issues
- add glue code to cpus.c
- move HVFX86EmulatorState field to CPUX86State, changing the the emulation functions to have a parameter with signature 'CPUX86State *' instead of 'CPUState *' so we don't have to get the 'env'.
Message-Id: <[email protected]>
Message-Id: <[email protected]>
Message-Id: <[email protected]>
Message-Id: <[email protected]>
Message-Id: <[email protected]>
--- configure | 38 + cpus.c | 89 ++ include/qemu/typedefs.h | 1 + include/qom/cpu.h | 2 + include/sysemu/hvf.h | 102 ++ qemu-options.hx | 10 +- target/i386/Makefile.objs | 1 + target/i386/cpu.h | 39 +- target/i386/hvf-all.c | 1004 ++++++++++++++++ target/i386/hvf-i386.h | 48 + target/i386/hvf-utils/Makefile.objs | 1 + target/i386/hvf-utils/README.md | 7 + target/i386/hvf-utils/vmcs.h | 368 ++++++ target/i386/hvf-utils/vmx.h | 214 ++++ target/i386/hvf-utils/x86.c | 184 +++ target/i386/hvf-utils/x86.h | 476 ++++++++ target/i386/hvf-utils/x86_decode.c | 2186 +++++++++++++++++++++++++++++++++++ target/i386/hvf-utils/x86_decode.h | 325 ++++++ target/i386/hvf-utils/x86_descr.c | 124 ++ target/i386/hvf-utils/x86_descr.h | 55 + target/i386/hvf-utils/x86_emu.c | 1537 ++++++++++++++++++++++++ target/i386/hvf-utils/x86_emu.h | 49 + target/i386/hvf-utils/x86_flags.c | 333 ++++++ target/i386/hvf-utils/x86_flags.h | 243 ++++ target/i386/hvf-utils/x86_gen.h | 53 + target/i386/hvf-utils/x86_mmu.c | 273 +++++ target/i386/hvf-utils/x86_mmu.h | 45 + target/i386/hvf-utils/x86hvf.c | 513 ++++++++ target/i386/hvf-utils/x86hvf.h | 39 + 29 files changed, 8348 insertions(+), 11 deletions(-) create mode 100644 include/sysemu/hvf.h create mode 100644 target/i386/hvf-all.c create mode 100644 target/i386/hvf-i386.h create mode 100644 target/i386/hvf-utils/Makefile.objs create mode 100644 target/i386/hvf-utils/README.md create mode 100644 target/i386/hvf-utils/vmcs.h create mode 100644 target/i386/hvf-utils/vmx.h create mode 100644 target/i386/hvf-utils/x86.c create mode 100644 target/i386/hvf-utils/x86.h create mode 100644 target/i386/hvf-utils/x86_decode.c create mode 100644 target/i386/hvf-utils/x86_decode.h create mode 100644 target/i386/hvf-utils/x86_descr.c create mode 100644 target/i386/hvf-utils/x86_descr.h create mode 100644 target/i386/hvf-utils/x86_emu.c create mode 100644 target/i386/hvf-utils/x86_emu.h create mode 100644 target/i386/hvf-utils/x86_flags.c create mode 100644 target/i386/hvf-utils/x86_flags.h create mode 100644 target/i386/hvf-utils/x86_gen.h create mode 100644 target/i386/hvf-utils/x86_mmu.c create mode 100644 target/i386/hvf-utils/x86_mmu.h create mode 100644 target/i386/hvf-utils/x86hvf.c create mode 100644 target/i386/hvf-utils/x86hvf.h
configure +38 -0
@@ -211,6 +211,17 @@ supported_xen_target() { return 1 } +supported_hvf_target() { + test "$hvf" = "yes" || return 1 + glob "$1" "*-softmmu" || return 1 + case "${1%-softmmu}" in + x86_64) + return 0 + ;; + esac + return 1 +} + supported_target() { case "$1" in *-softmmu)
@@ -236,6 +247,7 @@ supported_target() { supported_kvm_target "$1" && return 0 supported_xen_target "$1" && return 0 supported_hax_target "$1" && return 0 + supported_hvf_target "$1" && return 0 print_error "TCG disabled, but hardware accelerator not available for '$target'" return 1 }
@@ -325,6 +337,7 @@ vhost_vsock="no" vhost_user="" kvm="no" hax="no" +hvf="no" rdma="" gprof="no" debug_tcg="no"
@@ -740,6 +753,7 @@ Darwin) bsd="yes" darwin="yes" hax="yes" + hvf="yes" LDFLAGS_SHARED="-bundle -undefined dynamic_lookup" if [ "$cpu" = "x86_64" ] ; then QEMU_CFLAGS="-arch x86_64 $QEMU_CFLAGS"
@@ -1035,6 +1049,10 @@ for opt do ;; --enable-hax) hax="yes" ;; + --disable-hvf) hvf="no" + ;; + --enable-hvf) hvf="yes" + ;; --disable-tcg-interpreter) tcg_interpreter="no" ;; --enable-tcg-interpreter) tcg_interpreter="yes"
@@ -1523,6 +1541,7 @@ disabled with --disable-FEATURE, default is enabled if available: bluez bluez stack connectivity kvm KVM acceleration support hax HAX acceleration support + hvf Hypervisor.framework acceleration support rdma RDMA-based migration support vde support for vde network netmap support for netmap network
@@ -5025,6 +5044,21 @@ then fi +################################################# +# Check to see if we have the Hypervisor framework +if [ "$darwin" == "yes" ] ; then + cat > $TMPC << EOF +#include <Hypervisor/hv.h> +int main() { return 0;} +EOF + if ! compile_object ""; then + hvf='no' + else + hvf='yes' + LDFLAGS="-framework Hypervisor $LDFLAGS" + fi +fi + ################################################# # Sparc implicitly links with --relax, which is # incompatible with -r, so --no-relax should be
@@ -5505,6 +5539,7 @@ if test "$tcg" = "yes" ; then echo "TCG debug enabled $debug_tcg" echo "TCG interpreter $tcg_interpreter" fi +echo "HVF support $hvf" echo "RDMA support $rdma" echo "fdt support $fdt" echo "preadv support $preadv"
@@ -6567,6 +6602,9 @@ fi if supported_hax_target $target; then echo "CONFIG_HAX=y" >> $config_target_mak fi +if supported_hvf_target $target; then + echo "CONFIG_HVF=y" >> $config_target_mak +fi if test "$target_bigendian" = "yes" ; then echo "TARGET_WORDS_BIGENDIAN=y" >> $config_target_mak fi
cpus.c +89 -0
143 lines not on this page · raw message
include/qemu/typedefs.h +1 -0
@@ -36,6 +36,7 @@ typedef struct FWCfgIoState FWCfgIoState;typedef struct FWCfgMemState FWCfgMemState ;typedef struct FWCfgState FWCfgState ;typedef struct HCIInfo HCIInfo ; +typedef struct HVFX86EmulatorState HVFX86EmulatorState ;typedef struct I2CBus I2CBus ;typedef struct I2SCodec I2SCodec ;typedef struct ISABus ISABus ;
include/qom/cpu.h +2 -0
@@ -423,6 +423,8 @@ struct CPUState {* unnecessary flushes. */ uint16_t pending_tlb_flush; + +int hvf_fd; };QTAILQ_HEAD (CPUTailQ, CPUState);
include/sysemu/hvf.h new file +102 -0
102 lines not on this page · raw message
qemu-options.hx +5 -5
@@ -31,7 +31,7 @@ DEF("machine", HAS_ARG, QEMU_OPTION_machine, \ "-machine [type=]name[,prop[=value][,...]]\n" " selects emulated machine ('-machine help' for list)\n" " property accel=accel1[:accel2[:...]] selects accelerator\n" - " supported accelerators are kvm, xen, hax or tcg (default: tcg)\n" + " supported accelerators are kvm, xen, hax, hvf or tcg (default: tcg)\n" " kernel_irqchip=on|off|split controls accelerated irqchip support (default=off)\n" " vmport=on|off|auto controls emulation of vmport (default: auto)\n" " kvm_shadow_mem=size of KVM shadow MMU in bytes\n"
@@ -66,7 +66,7 @@ Supported machine properties are: @table @option @item accel=@var{accels1}[:@var{accels2}[:...]] This is used to enable an accelerator. Depending on the target architecture, -kvm, xen, hax or tcg can be available. By default, tcg is used. If there is +kvm, xen, hax, hvf or tcg can be available. By default, tcg is used. If there is more than one accelerator specified, the next one is used if the previous one fails to initialize. @item kernel_irqchip=on|off
@@ -126,13 +126,13 @@ ETEXI DEF("accel", HAS_ARG, QEMU_OPTION_accel, "-accel [accel=]accelerator[,thread=single|multi]\n" - " select accelerator (kvm, xen, hax or tcg; use 'help' for a list)\n" - " thread=single|multi (enable multi-threaded TCG)\n", QEMU_ARCH_ALL) + " select accelerator (kvm, xen, hax, hvf or tcg; use 'help' for a list)\n" + " thread=single|multi (enable multi-threaded TCG)", QEMU_ARCH_ALL) STEXI @item -accel @var{name}[,prop=@var{value}[,...]] @findex -accel This is used to enable an accelerator. Depending on the target architecture, -kvm, xen, hax or tcg can be available. By default, tcg is used. If there is +kvm, xen, hax, hvf or tcg can be available. By default, tcg is used. If there is more than one accelerator specified, the next one is used if the previous one fails to initialize. @table @option
target/i386/Makefile.objs +1 -0
@@ -12,4 +12,5 @@ obj-$(CONFIG_HAX) += hax-all.o hax-mem.o hax-windows.o endif ifdef CONFIG_DARWIN obj-$(CONFIG_HAX) += hax-all.o hax-mem.o hax-darwin.o +obj-$(CONFIG_HVF) += hvf-utils/ hvf-all.o endif
target/i386/cpu.h +33 -6
@@ -30,6 +30,8 @@#define TARGET_LONG_BITS 32#endif +#include "exec/cpu-defs.h" +/* The x86 has a strong memory model with some store-after-load re-ordering */ #define TCG_GUEST_DEFAULT_MO (TCG_MO_ALL & ~TCG_MO_ST_LD)
@@ -50,8 +52,6 @@#define CPUArchState struct CPUX86State -#include "exec/cpu-defs.h" -#ifdef CONFIG_TCG #include "fpu/softfloat.h" #endif
@@ -82,16 +82,20 @@#define R_GS 5/* segment descriptor fields */ -#define DESC_G_MASK (1 << 23) +#define DESC_G_SHIFT 23 +#define DESC_G_MASK (1 << DESC_G_SHIFT)#define DESC_B_SHIFT 22#define DESC_B_MASK (1 << DESC_B_SHIFT)#define DESC_L_SHIFT 21/* x86_64 only : 64 bit code segment */ #define DESC_L_MASK (1 << DESC_L_SHIFT) -#define DESC_AVL_MASK (1 << 20) -#define DESC_P_MASK (1 << 15) +#define DESC_AVL_SHIFT 20 +#define DESC_AVL_MASK (1 << DESC_AVL_SHIFT) +#define DESC_P_SHIFT 15 +#define DESC_P_MASK (1 << DESC_P_SHIFT)#define DESC_DPL_SHIFT 13#define DESC_DPL_MASK (3 << DESC_DPL_SHIFT) -#define DESC_S_MASK (1 << 12) +#define DESC_S_SHIFT 12 +#define DESC_S_MASK (1 << DESC_S_SHIFT)#define DESC_TYPE_SHIFT 8#define DESC_TYPE_MASK (15 << DESC_TYPE_SHIFT)#define DESC_A_MASK (1 << 8)
@@ -631,6 +635,7 @@ typedef uint32_t FeatureWordArray[FEATURE_WORDS];#define CPUID_7_0_EBX_AVX512BW (1U << 30)/* AVX-512 Byte and Word Instructions */ #define CPUID_7_0_EBX_AVX512VL (1U << 31)/* AVX-512 Vector Length Extensions */ +#define CPUID_7_0_ECX_AVX512BMI (1U << 1)#define CPUID_7_0_ECX_VBMI (1U << 1)/* AVX-512 Vector Byte Manipulation Instrs */ #define CPUID_7_0_ECX_UMIP (1U << 2)#define CPUID_7_0_ECX_PKU (1U << 3)
@@ -806,6 +811,20 @@ typedef struct SegmentCache { float64 _d_##n[(bits)/64]; \ } +typedef union { +uint8_t _b[16 ]; +uint16_t _w[8 ]; +uint32_t _l[4 ]; +uint64_t _q[2 ]; +}XMMReg ; + +typedef union { +uint8_t _b[32 ]; +uint16_t _w[16 ]; +uint32_t _l[8 ]; +uint64_t _q[4 ]; +}YMMReg ; + typedef MMREG_UNION(ZMMReg, 512) ZMMReg; typedef MMREG_UNION(MMXReg, 64) MMXReg;
@@ -1041,7 +1060,11 @@ typedef struct CPUX86State {ZMMReg xmm_t0;MMXReg mmx_t0; +XMMReg ymmh_regs[CPU_NB_REGS ]; +uint64_t opmask_regs[NB_OPMASK_REGS ]; +YMMReg zmmh_regs[CPU_NB_REGS ]; +ZMMReg hi16_zmm_regs[CPU_NB_REGS ];/* sysenter registers */ uint32_t sysenter_cs;
@@ -1164,11 +1187,15 @@ typedef struct CPUX86State {int32_t interrupt_injected;uint8_t soft_interrupt;uint8_t has_error_code; +uint32_t ins_len;uint32_t sipi_vector;bool tsc_valid;int64_t tsc_khz;int64_t user_tsc_khz;/* for sanity check only */ void *kvm_xsave_buf; +#if defined(CONFIG_HVF ) +HVFX86EmulatorState *hvf_emul; +#endif uint64_t mcg_cap;uint64_t mcg_ctl;
target/i386/hvf-all.c new file +1004 -0
1,004 lines not on this page · raw message
target/i386/hvf-i386.h new file +48 -0
48 lines not on this page · raw message
target/i386/hvf-utils/Makefile.objs new file +1 -0
@@ -0,0 +1 @@ +obj-y += x86.o x86_cpuid.o x86_decode.o x86_descr.o x86_emu.o x86_flags.o x86_mmu.o x86hvf.o
target/i386/hvf-utils/README.md new file +7 -0
@@ -0,0 +1,7 @@ +# OS X Hypervisor.framework support in QEMU + +These sources (and ../hvf-all.c) are adapted from Veertu Inc's vdhh (Veertu Desktop Hosted Hypervisor) (last known location: https://github.com/veertuinc/vdhh) with some minor changes, the most significant of which were: + +1. Adapt to our current QEMU's `CPUState` structure and `address_space_rw` API; many struct members have been moved around (emulated x86 state, kvm_xsave_buf) due to historical differences + QEMU needing to handle more emulation targets. +2. Removal of `apic_page` and hyperv-related functionality. +3. More relaxed use of `qemu_mutex_lock_iothread`.
target/i386/hvf-utils/vmcs.h new file +368 -0
368 lines not on this page · raw message
target/i386/hvf-utils/vmx.h new file +214 -0
214 lines not on this page · raw message
target/i386/hvf-utils/x86.c new file +184 -0
184 lines not on this page · raw message
target/i386/hvf-utils/x86.h new file +476 -0
476 lines not on this page · raw message
target/i386/hvf-utils/x86_decode.c new file +2186 -0
216 lines not on this page · raw message
target/i386/hvf-utils/x86_decode.h new file +325 -0
325 lines not on this page · raw message
target/i386/hvf-utils/x86_descr.c new file +124 -0
124 lines not on this page · raw message
target/i386/hvf-utils/x86_descr.h new file +55 -0
55 lines not on this page · raw message
target/i386/hvf-utils/x86_emu.c new file +1537 -0
1,537 lines not on this page · raw message
target/i386/hvf-utils/x86_emu.h new file +49 -0
49 lines not on this page · raw message
target/i386/hvf-utils/x86_flags.c new file +333 -0
333 lines not on this page · raw message
target/i386/hvf-utils/x86_flags.h new file +243 -0
243 lines not on this page · raw message
target/i386/hvf-utils/x86_gen.h new file +53 -0
53 lines not on this page · raw message
target/i386/hvf-utils/x86_mmu.c new file +273 -0
273 lines not on this page · raw message
target/i386/hvf-utils/x86_mmu.h new file +45 -0
45 lines not on this page · raw message
target/i386/hvf-utils/x86hvf.c new file +513 -0
513 lines not on this page · raw message
target/i386/hvf-utils/x86hvf.h new file +39 -0
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.14.3
Part of the diff is not shown here. View the raw message.
This series seems to have some coding style problems. See output below for more information:
Hi,
This series seems to have some coding style problems. See output below for more information:
Type: series
Message-id: [email protected]
Subject: [Qemu-devel] [PULL 00/19] Initial support for Hypervisor.framework
=== TEST SCRIPT BEGIN ===
#!/bin/bash
BASE=base
n=1
total=$(git log --oneline $BASE.. | wc -l)
failed=0
git config --local diff.renamelimit 0
git config --local diff.renames True
commits="$(git log --format=%H --reverse $BASE..)" for c in $commits; do
echo "Checking PATCH $n/$total: $(git log -n 1 --format=%s $c)..."
if ! git show $c --format=email | ./scripts/checkpatch.pl --mailback -; then
failed=1
echo
fi
n=$((n+1))done
exit $failed
=== TEST SCRIPT END ===
Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
From https://github.com/patchew-project/qemu
t [tag update] patchew/151335612254.14991.13093029894103210710.stgit@bahia -> patchew/151335612254.14991.13093029894103210710.stgit@bahia
Switched to a new branch 'test'643fafd4b8 i386: hvf: cleanup x86_gen.h2091c81635 i386: hvf: remove VM_PANIC from "in"683e8fde69 i386: hvf: remove addr_t3b42a270ce i386: hvf: simplify flag handling110a232ff1 i386: hvf: abort on decoding error2de62453eb i386: hvf: remove ZERO_INIT macrof55c2b11d2 i386: hvf: remove more dead emulator code6134854ce2 i386: hvf: unify register enums between HVF and the rest eb61783ac4 i386: hvf: header cleanup3c51048c74 i386: hvf: move all hvf files in the same directory ae6b6b5710 i386: hvf: inject General Protection Fault when vmexit through vmcall fd8fcdf003 i386: hvf: refactor event injection code for hvf9a5274b8e5 i386: hvf: implement vga dirty page tracking750a618681 i386: refactor KVM cpuid code so that it applies to hvf as well 31285c7884 i386: hvf: implement hvf_get_supported_cpuidfff2f086bb i386: hvf: use new helper functions for put/get xsave 405850d791 i386: hvf: fix licensing issues; isolate task handling code (GPL v2-only) 6cada5b6e4 i386: hvf: add code base from Google's QEMU repository 1641428883 apic: add function to apic that will be used by hvf
=== OUTPUT BEGIN ===
Checking PATCH 1/19: apic: add function to apic that will be used by hvf... Checking PATCH 2/19: i386: hvf: add code base from Google's QEMU repository...
ERROR: Macros with complex values should be enclosed in parenthesis #376: FILE: include/sysemu/hvf.h:31:
+#define hvf_enabled() !hvf_disabled
ERROR: Error messages should not contain newlines
#669: FILE: target/i386/hvf-all.c:63:
+ error_report("Error: HV_ERROR\n");
ERROR: Error messages should not contain newlines
#672: FILE: target/i386/hvf-all.c:66:
+ error_report("Error: HV_BUSY\n");
ERROR: Error messages should not contain newlines
#675: FILE: target/i386/hvf-all.c:69:
+ error_report("Error: HV_BAD_ARGUMENT\n");
ERROR: Error messages should not contain newlines
#678: FILE: target/i386/hvf-all.c:72:
+ error_report("Error: HV_NO_RESOURCES\n");
ERROR: Error messages should not contain newlines
#681: FILE: target/i386/hvf-all.c:75:
+ error_report("Error: HV_NO_DEVICE\n");
ERROR: Error messages should not contain newlines
#684: FILE: target/i386/hvf-all.c:78:
+ error_report("Error: HV_UNSUPPORTED\n");
ERROR: Error messages should not contain newlines
#687: FILE: target/i386/hvf-all.c:81:
+ error_report("Unknown Error\n");
ERROR: Error messages should not contain newlines
#774: FILE: target/i386/hvf-all.c:168:
+ error_report("Failed to reset overlapping slot\n");
ERROR: Error messages should not contain newlines
#794: FILE: target/i386/hvf-all.c:188:
+ error_report("No free slots\n");
ERROR: Error messages should not contain newlines
#803: FILE: target/i386/hvf-all.c:197:
+ error_report("Error registering new memory slot\n");
ERROR: do not use C99 // comments
#833: FILE: target/i386/hvf-all.c:227:
+// TODO: taskswitch handling
WARNING: line over 80 characters
#873: FILE: target/i386/hvf-all.c:267:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->ldt}}, REG_SEG_LDTR);
ERROR: space required before the open brace '{'
#873: FILE: target/i386/hvf-all.c:267:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->ldt}}, REG_SEG_LDTR);
ERROR: space required after that close brace '}'
#873: FILE: target/i386/hvf-all.c:267:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->ldt}}, REG_SEG_LDTR);
WARNING: line over 80 characters
#874: FILE: target/i386/hvf-all.c:268:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->es}}, REG_SEG_ES);
ERROR: space required before the open brace '{'
#874: FILE: target/i386/hvf-all.c:268:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->es}}, REG_SEG_ES);
ERROR: space required after that close brace '}'
#874: FILE: target/i386/hvf-all.c:268:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->es}}, REG_SEG_ES);
WARNING: line over 80 characters
#875: FILE: target/i386/hvf-all.c:269:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->cs}}, REG_SEG_CS);
ERROR: space required before the open brace '{'
#875: FILE: target/i386/hvf-all.c:269:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->cs}}, REG_SEG_CS);
ERROR: space required after that close brace '}'
#875: FILE: target/i386/hvf-all.c:269:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->cs}}, REG_SEG_CS);
WARNING: line over 80 characters
#876: FILE: target/i386/hvf-all.c:270:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->ss}}, REG_SEG_SS);
ERROR: space required before the open brace '{'
#876: FILE: target/i386/hvf-all.c:270:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->ss}}, REG_SEG_SS);
ERROR: space required after that close brace '}'
#876: FILE: target/i386/hvf-all.c:270:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->ss}}, REG_SEG_SS);
WARNING: line over 80 characters
#877: FILE: target/i386/hvf-all.c:271:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->ds}}, REG_SEG_DS);
ERROR: space required before the open brace '{'
#877: FILE: target/i386/hvf-all.c:271:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->ds}}, REG_SEG_DS);
ERROR: space required after that close brace '}'
#877: FILE: target/i386/hvf-all.c:271:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->ds}}, REG_SEG_DS);
WARNING: line over 80 characters
#878: FILE: target/i386/hvf-all.c:272:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->fs}}, REG_SEG_FS);
ERROR: space required before the open brace '{'
#878: FILE: target/i386/hvf-all.c:272:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->fs}}, REG_SEG_FS);
ERROR: space required after that close brace '}'
#878: FILE: target/i386/hvf-all.c:272:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->fs}}, REG_SEG_FS);
WARNING: line over 80 characters
#879: FILE: target/i386/hvf-all.c:273:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->gs}}, REG_SEG_GS);
ERROR: space required before the open brace '{'
#879: FILE: target/i386/hvf-all.c:273:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->gs}}, REG_SEG_GS);
ERROR: space required after that close brace '}'
#879: FILE: target/i386/hvf-all.c:273:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->gs}}, REG_SEG_GS);
ERROR: if this code is redundant consider removing it #881: FILE: target/i386/hvf-all.c:275:
+#if 0
ERROR: line over 90 characters
#892: FILE: target/i386/hvf-all.c:286:
+static int task_switch_32(CPUState *cpu, x68_segment_selector tss_sel, x68_segment_selector old_tss_sel,
WARNING: line over 80 characters
#893: FILE: target/i386/hvf-all.c:287:
+ uint64_t old_tss_base, struct x86_segment_descriptor *new_desc)
ERROR: line over 90 characters
#903: FILE: target/i386/hvf-all.c:297:
+ vmx_write_mem(cpu, old_tss_base + eip_offset, &tss_seg.eip, ldt_sel_offset - eip_offset);
WARNING: line over 80 characters
#909: FILE: target/i386/hvf-all.c:303:
+ vmx_write_mem(cpu, new_tss_base, &tss_seg.prev_tss, sizeof(tss_seg.prev_tss));
ERROR: line over 90 characters
#915: FILE: target/i386/hvf-all.c:309:
+static void vmx_handle_task_switch(CPUState *cpu, x68_segment_selector tss_sel, int reason, bool gate_valid, uint8_t gate, uint64_t gate_type)
WARNING: line over 80 characters
#930: FILE: target/i386/hvf-all.c:324:
+ x68_segment_selector old_tss_sel = vmx_read_segment_selector(cpu, REG_SEG_TR);
ERROR: braces {} are necessary for all arms of this statement #946: FILE: target/i386/hvf-all.c:340:
+ if (tss_sel.rpl > dpl || cs.rpl > dpl)
[...]
ERROR: do not use C99 // comments
#947: FILE: target/i386/hvf-all.c:341:
+ ;//DPRINTF("emulate_gp");
ERROR: line over 90 characters
#951: FILE: target/i386/hvf-all.c:345:
+ if (!next_tss_desc.p || ((desc_limit < 0x67 && (next_tss_desc.type & 8)) || desc_limit < 0x2b)) {
ERROR: braces {} are necessary for all arms of this statement #960: FILE: target/i386/hvf-all.c:354:
+ if (reason == TSR_IRET)
[...]
ERROR: braces {} are necessary for all arms of this statement #963: FILE: target/i386/hvf-all.c:357:
+ if (reason != TSR_CALL && reason != TSR_IDT_GATE)
[...]
ERROR: braces {} are necessary for all arms of this statement #971: FILE: target/i386/hvf-all.c:365:
+ if (next_tss_desc.type & 8)
[...]
+ else
[...]
WARNING: line over 80 characters
#972: FILE: target/i386/hvf-all.c:366:
+ ret = task_switch_32(cpu, tss_sel, old_tss_sel, old_tss_base, &next_tss_desc);
WARNING: line over 80 characters
#974: FILE: target/i386/hvf-all.c:368:
+ //ret = task_switch_16(cpu, tss_sel, old_tss_sel, old_tss_base, &next_tss_desc);
ERROR: do not use C99 // comments
#974: FILE: target/i386/hvf-all.c:368:
+ //ret = task_switch_16(cpu, tss_sel, old_tss_sel, old_tss_base, &next_tss_desc);
ERROR: "foo * bar" should be "foo *bar"
#987: FILE: target/i386/hvf-all.c:381:
+static void hvf_handle_interrupt(CPUState * cpu, int mask)
WARNING: line over 80 characters
#1027: FILE: target/i386/hvf-all.c:421:
+static void do_hvf_cpu_synchronize_post_reset(CPUState *cpu, run_on_cpu_data arg)
ERROR: open brace '{' following function declarations go on the next line #1099: FILE: target/i386/hvf-all.c:493:
+void hvf_reset_vcpu(CPUState *cpu) {
WARNING: line over 80 characters
#1252: FILE: target/i386/hvf-all.c:646:
+ wvmcs(cpu->hvf_fd, VMCS_ENTRY_CTLS, cap2ctrl(hvf_state->hvf_caps->vmx_cap_entry,
ERROR: Error messages should not contain newlines
#1514: FILE: target/i386/hvf-all.c:908:
+ error_report("Unrecognized CR %d\n", cr);
ERROR: Error messages should not contain newlines
#1558: FILE: target/i386/hvf-all.c:952:
+ error_report("%llx: unhandled exit %llx\n", rip, exit_reason);
ERROR: trailing whitespace
#1578: FILE: target/i386/hvf-all.c:972:
+ $
ERROR: trailing whitespace
#1584: FILE: target/i386/hvf-all.c:978:
+ $
ERROR: trailing whitespace
#2368: FILE: target/i386/hvf-utils/x86.c:84:
+ $
ERROR: trailing whitespace
#2376: FILE: target/i386/hvf-utils/x86.c:92:
+ $
WARNING: line over 80 characters
#2942: FILE: target/i386/hvf-utils/x86.h:468:
+ "shl $32,%%rdx; " /* shift higher 32 bits stored in rdx up */
ERROR: trailing whitespace
#3023: FILE: target/i386/hvf-utils/x86_decode.c:67:
+ $
ERROR: trailing whitespace
#3037: FILE: target/i386/hvf-utils/x86_decode.c:81:
+ $
WARNING: line over 80 characters
#3166: FILE: target/i386/hvf-utils/x86_decode.c:210:
+ uint8_t op = (decode->opcode_len > 1) ? decode->opcode[1] : decode->opcode[0];
ERROR: trailing whitespace
#3167: FILE: target/i386/hvf-utils/x86_decode.c:211:
+ $
WARNING: line over 80 characters
#3193: FILE: target/i386/hvf-utils/x86_decode.c:237:
+ uint8_t op = (decode->opcode_len > 1) ? decode->opcode[1] : decode->opcode[0];
ERROR: trailing whitespace
#3194: FILE: target/i386/hvf-utils/x86_decode.c:238:
+ $
ERROR: trailing whitespace
#3417: FILE: target/i386/hvf-utils/x86_decode.c:461:
+ $
ERROR: trailing whitespace
#3424: FILE: target/i386/hvf-utils/x86_decode.c:468:
+ $
ERROR: trailing whitespace
#3432: FILE: target/i386/hvf-utils/x86_decode.c:476:
+ $
WARNING: line over 80 characters
#4944: FILE: target/i386/hvf-utils/x86_decode.c:1988:
+static inline void decode_displacement(CPUX86State *env, struct x86_decode *decode)
ERROR: trailing whitespace
#4949: FILE: target/i386/hvf-utils/x86_decode.c:1993:
+ $
ERROR: trailing whitespace
#5063: FILE: target/i386/hvf-utils/x86_decode.c:2107:
+ $
ERROR: trailing whitespace
#5072: FILE: target/i386/hvf-utils/x86_decode.c:2116:
+ $
WARNING: line over 80 characters
#5141: FILE: target/i386/hvf-utils/x86_decode.c:2185:
+ return linear_addr_size(ENV_GET_CPU(env), addr, decode->addressing_size, seg);
ERROR: trailing whitespace
#5198: FILE: target/i386/hvf-utils/x86_decode.h:50:
+ $
ERROR: trailing whitespace
#5329: FILE: target/i386/hvf-utils/x86_decode.h:181:
+ $
WARNING: line over 80 characters
#5542: FILE: target/i386/hvf-utils/x86_descr.c:63:
+x68_segment_selector vmx_read_segment_selector(CPUState *cpu, x86_reg_segment seg)
ERROR: line over 90 characters
#5549: FILE: target/i386/hvf-utils/x86_descr.c:70:
+void vmx_write_segment_selector(struct CPUState *cpu, x68_segment_selector selector, x86_reg_segment seg)
ERROR: line over 90 characters
#5554: FILE: target/i386/hvf-utils/x86_descr.c:75:
+void vmx_read_segment_descriptor(struct CPUState *cpu, struct vmx_segment *desc, x86_reg_segment seg)
ERROR: line over 90 characters
#5562: FILE: target/i386/hvf-utils/x86_descr.c:83:
+void vmx_write_segment_descriptor(CPUState *cpu, struct vmx_segment *desc, x86_reg_segment seg)
ERROR: line over 90 characters
#5572: FILE: target/i386/hvf-utils/x86_descr.c:93:
+void x86_segment_descriptor_to_vmx(struct CPUState *cpu, x68_segment_selector selector, struct x86_segment_descriptor *desc, struct vmx_segment *vmx_desc)
ERROR: line over 90 characters
#5589: FILE: target/i386/hvf-utils/x86_descr.c:110:
+void vmx_segment_to_x86_descriptor(struct CPUState *cpu, struct vmx_segment *vmx_desc, struct x86_segment_descriptor *desc)
ERROR: trailing whitespace
#5593: FILE: target/i386/hvf-utils/x86_descr.c:114:
+ $
ERROR: do not use C99 // comments
#5689: FILE: target/i386/hvf-utils/x86_emu.c:19:
+/////////////////////////////////////////////////////////////////////////
ERROR: do not use C99 // comments
#5690: FILE: target/i386/hvf-utils/x86_emu.c:20:
+//
ERROR: do not use C99 // comments
#5691: FILE: target/i386/hvf-utils/x86_emu.c:21:
+// Copyright (C) 2001-2012 The Bochs Project
ERROR: do not use C99 // comments
#5692: FILE: target/i386/hvf-utils/x86_emu.c:22:
+//
ERROR: do not use C99 // comments
#5693: FILE: target/i386/hvf-utils/x86_emu.c:23:
+// This library is free software; you can redistribute it and/or
ERROR: do not use C99 // comments
#5694: FILE: target/i386/hvf-utils/x86_emu.c:24:
+// modify it under the terms of the GNU Lesser General Public
ERROR: do not use C99 // comments
#5695: FILE: target/i386/hvf-utils/x86_emu.c:25:
+// License as published by the Free Software Foundation; either
ERROR: do not use C99 // comments
#5696: FILE: target/i386/hvf-utils/x86_emu.c:26:
+// version 2 of the License, or (at your option) any later version.
ERROR: do not use C99 // comments
#5697: FILE: target/i386/hvf-utils/x86_emu.c:27:
+//
ERROR: do not use C99 // comments
#5698: FILE: target/i386/hvf-utils/x86_emu.c:28:
+// This library is distributed in the hope that it will be useful,
ERROR: do not use C99 // comments
#5699: FILE: target/i386/hvf-utils/x86_emu.c:29:
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
ERROR: do not use C99 // comments
#5700: FILE: target/i386/hvf-utils/x86_emu.c:30:
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
ERROR: do not use C99 // comments
#5701: FILE: target/i386/hvf-utils/x86_emu.c:31:
+// Lesser General Public License for more details.
ERROR: do not use C99 // comments
#5702: FILE: target/i386/hvf-utils/x86_emu.c:32:
+//
ERROR: do not use C99 // comments
#5703: FILE: target/i386/hvf-utils/x86_emu.c:33:
+// You should have received a copy of the GNU Lesser General Public
ERROR: do not use C99 // comments
#5704: FILE: target/i386/hvf-utils/x86_emu.c:34:
+// License along with this library; if not, write to the Free Software
ERROR: do not use C99 // comments
#5705: FILE: target/i386/hvf-utils/x86_emu.c:35:
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA B 02110-1301 USA
ERROR: do not use C99 // comments
#5706: FILE: target/i386/hvf-utils/x86_emu.c:36:
+/////////////////////////////////////////////////////////////////////////
ERROR: externs should be avoided in .c files
#5719: FILE: target/i386/hvf-utils/x86_emu.c:49:
+void hvf_handle_io(struct CPUState *cpu, uint16_t port, void *data,
ERROR: trailing whitespace
#5847: FILE: target/i386/hvf-utils/x86_emu.c:177:
+ $
WARNING: line over 80 characters
#5891: FILE: target/i386/hvf-utils/x86_emu.c:221:
+ return (ptr - (addr_t)&env->hvf_emul->regs[0]) < sizeof(env->hvf_emul->regs);
ERROR: spaces required around that '+' (ctx:WxV)
#6002: FILE: target/i386/hvf-utils/x86_emu.c:332:
+ EXEC_2OP_ARITH_CMD(env, decode, +get_CF(env)+, SET_FLAGS_OSZAPC_ADD, true);
^ERROR: spaces required around that '+' (ctx:VxO)
#6002: FILE: target/i386/hvf-utils/x86_emu.c:332:
+ EXEC_2OP_ARITH_CMD(env, decode, +get_CF(env)+, SET_FLAGS_OSZAPC_ADD, true);
^ERROR: spaces required around that '-' (ctx:VxO)
#6008: FILE: target/i386/hvf-utils/x86_emu.c:338:
+ EXEC_2OP_ARITH_CMD(env, decode, -get_CF(env)-, SET_FLAGS_OSZAPC_SUB, true);
^ERROR: spaces required around that '+' (ctx:WxV)
#6064: FILE: target/i386/hvf-utils/x86_emu.c:394:
+ EXEC_2OP_ARITH_CMD(env, decode, +1+, SET_FLAGS_OSZAP_ADD, true);
^ERROR: spaces required around that '+' (ctx:VxO)
#6064: FILE: target/i386/hvf-utils/x86_emu.c:394:
+ EXEC_2OP_ARITH_CMD(env, decode, +1+, SET_FLAGS_OSZAP_ADD, true);
^ERROR: spaces required around that '-' (ctx:VxO)
#6074: FILE: target/i386/hvf-utils/x86_emu.c:404:
+ EXEC_2OP_ARITH_CMD(env, decode, -1-, SET_FLAGS_OSZAP_SUB, true);
^WARNING: line over 80 characters
#6127: FILE: target/i386/hvf-utils/x86_emu.c:457:
+ hvf_handle_io(ENV_GET_CPU(env), DX(env), &RAX(env), 1, decode->operand_size, 1);
ERROR: line over 90 characters
#6144: FILE: target/i386/hvf-utils/x86_emu.c:474:
+ hvf_handle_io(ENV_GET_CPU(env), decode->op[0].val, &val, 0, decode->operand_size, 1);
WARNING: line over 80 characters
#6155: FILE: target/i386/hvf-utils/x86_emu.c:485:
+ hvf_handle_io(ENV_GET_CPU(env), DX(env), &val, 0, decode->operand_size, 1);
WARNING: line over 80 characters
#6183: FILE: target/i386/hvf-utils/x86_emu.c:513:
+static inline void string_rep(struct CPUX86State *env, struct x86_decode *decode,
WARNING: line over 80 characters
#6202: FILE: target/i386/hvf-utils/x86_emu.c:532:
+ addr_t addr = linear_addr_size(ENV_GET_CPU(env), RDI(env), decode->addressing_size,
WARNING: line over 80 characters
#6207: FILE: target/i386/hvf-utils/x86_emu.c:537:
+ vmx_write_mem(ENV_GET_CPU(env), addr, env->hvf_emul->mmio_buf, decode->operand_size);
WARNING: line over 80 characters
#6227: FILE: target/i386/hvf-utils/x86_emu.c:557:
+ vmx_read_mem(ENV_GET_CPU(env), env->hvf_emul->mmio_buf, addr, decode->operand_size);
WARNING: line over 80 characters
#6252: FILE: target/i386/hvf-utils/x86_emu.c:582:
+ dst_addr = linear_addr_size(ENV_GET_CPU(env), RDI(env), decode->addressing_size,
WARNING: line over 80 characters
#6279: FILE: target/i386/hvf-utils/x86_emu.c:609:
+ dst_addr = linear_addr_size(ENV_GET_CPU(env), RDI(env), decode->addressing_size,
ERROR: line over 90 characters
#6309: FILE: target/i386/hvf-utils/x86_emu.c:639:
+ addr = linear_addr_size(ENV_GET_CPU(env), RDI(env), decode->addressing_size, REG_SEG_ES);
ERROR: line over 90 characters
#6332: FILE: target/i386/hvf-utils/x86_emu.c:662:
+ addr = linear_addr_size(ENV_GET_CPU(env), RDI(env), decode->addressing_size, REG_SEG_ES);
WARNING: line over 80 characters
#6334: FILE: target/i386/hvf-utils/x86_emu.c:664:
+ vmx_read_mem(ENV_GET_CPU(env), &decode->op[1].val, addr, decode->operand_size);
ERROR: unnecessary whitespace before a quoted newline #7188: FILE: target/i386/hvf-utils/x86_emu.c:1518:
+ printf("Unimplemented handler (%llx) for %d (%x %x) \n", RIP(env),
ERROR: unnecessary whitespace before a quoted newline #7196: FILE: target/i386/hvf-utils/x86_emu.c:1526:
+ "Unimplemented handler (%llx) for %d (%x %x) \n", RIP(env),
WARNING: architecture specific defines should be avoided #7231: FILE: target/i386/hvf-utils/x86_emu.h:18:
+#ifndef __X86_EMU_H__
ERROR: do not use C99 // comments
#7269: FILE: target/i386/hvf-utils/x86_flags.c:1:
+/////////////////////////////////////////////////////////////////////////
ERROR: do not use C99 // comments
#7270: FILE: target/i386/hvf-utils/x86_flags.c:2:
+//
ERROR: do not use C99 // comments
#7271: FILE: target/i386/hvf-utils/x86_flags.c:3:
+// Copyright (C) 2001-2012 The Bochs Project
ERROR: do not use C99 // comments
#7272: FILE: target/i386/hvf-utils/x86_flags.c:4:
+// Copyright (C) 2017 Google Inc.
ERROR: do not use C99 // comments
#7273: FILE: target/i386/hvf-utils/x86_flags.c:5:
+//
ERROR: do not use C99 // comments
#7274: FILE: target/i386/hvf-utils/x86_flags.c:6:
+// This library is free software; you can redistribute it and/or
ERROR: do not use C99 // comments
#7275: FILE: target/i386/hvf-utils/x86_flags.c:7:
+// modify it under the terms of the GNU Lesser General Public
ERROR: do not use C99 // comments
#7276: FILE: target/i386/hvf-utils/x86_flags.c:8:
+// License as published by the Free Software Foundation; either
ERROR: do not use C99 // comments
#7277: FILE: target/i386/hvf-utils/x86_flags.c:9:
+// version 2 of the License, or (at your option) any later version.
ERROR: do not use C99 // comments
#7278: FILE: target/i386/hvf-utils/x86_flags.c:10:
+//
ERROR: do not use C99 // comments
#7279: FILE: target/i386/hvf-utils/x86_flags.c:11:
+// This library is distributed in the hope that it will be useful,
ERROR: do not use C99 // comments
#7280: FILE: target/i386/hvf-utils/x86_flags.c:12:
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
ERROR: do not use C99 // comments
#7281: FILE: target/i386/hvf-utils/x86_flags.c:13:
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
ERROR: do not use C99 // comments
#7282: FILE: target/i386/hvf-utils/x86_flags.c:14:
+// Lesser General Public License for more details.
ERROR: do not use C99 // comments
#7283: FILE: target/i386/hvf-utils/x86_flags.c:15:
+//
ERROR: do not use C99 // comments
#7284: FILE: target/i386/hvf-utils/x86_flags.c:16:
+// You should have received a copy of the GNU Lesser General Public
ERROR: do not use C99 // comments
#7285: FILE: target/i386/hvf-utils/x86_flags.c:17:
+// License along with this library; if not, write to the Free Software
ERROR: do not use C99 // comments
#7286: FILE: target/i386/hvf-utils/x86_flags.c:18:
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA B 02110-1301 USA
ERROR: do not use C99 // comments
#7287: FILE: target/i386/hvf-utils/x86_flags.c:19:
+/////////////////////////////////////////////////////////////////////////
WARNING: line over 80 characters
#7501: FILE: target/i386/hvf-utils/x86_flags.c:233:
+ return ((env->hvf_emul->lflags.auxbits + (1U << LF_BIT_PO)) >> LF_BIT_CF) & 1;
ERROR: do not use C99 // comments
#7608: FILE: target/i386/hvf-utils/x86_flags.h:1:
+/////////////////////////////////////////////////////////////////////////
ERROR: do not use C99 // comments
#7609: FILE: target/i386/hvf-utils/x86_flags.h:2:
+//
ERROR: do not use C99 // comments
#7610: FILE: target/i386/hvf-utils/x86_flags.h:3:
+// Copyright (C) 2001-2012 The Bochs Project
ERROR: do not use C99 // comments
#7611: FILE: target/i386/hvf-utils/x86_flags.h:4:
+// Copyright (C) 2017 Google Inc.
ERROR: do not use C99 // comments
#7612: FILE: target/i386/hvf-utils/x86_flags.h:5:
+//
ERROR: do not use C99 // comments
#7613: FILE: target/i386/hvf-utils/x86_flags.h:6:
+// This library is free software; you can redistribute it and/or
ERROR: do not use C99 // comments
#7614: FILE: target/i386/hvf-utils/x86_flags.h:7:
+// modify it under the terms of the GNU Lesser General Public
ERROR: do not use C99 // comments
#7615: FILE: target/i386/hvf-utils/x86_flags.h:8:
+// License as published by the Free Software Foundation; either
ERROR: do not use C99 // comments
#7616: FILE: target/i386/hvf-utils/x86_flags.h:9:
+// version 2 of the License, or (at your option) any later version.
ERROR: do not use C99 // comments
#7617: FILE: target/i386/hvf-utils/x86_flags.h:10:
+//
ERROR: do not use C99 // comments
#7618: FILE: target/i386/hvf-utils/x86_flags.h:11:
+// This library is distributed in the hope that it will be useful,
ERROR: do not use C99 // comments
#7619: FILE: target/i386/hvf-utils/x86_flags.h:12:
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
ERROR: do not use C99 // comments
#7620: FILE: target/i386/hvf-utils/x86_flags.h:13:
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
ERROR: do not use C99 // comments
#7621: FILE: target/i386/hvf-utils/x86_flags.h:14:
+// Lesser General Public License for more details.
ERROR: do not use C99 // comments
#7622: FILE: target/i386/hvf-utils/x86_flags.h:15:
+//
ERROR: do not use C99 // comments
#7623: FILE: target/i386/hvf-utils/x86_flags.h:16:
+// You should have received a copy of the GNU Lesser General Public
ERROR: do not use C99 // comments
#7624: FILE: target/i386/hvf-utils/x86_flags.h:17:
+// License along with this library; if not, write to the Free Software
ERROR: do not use C99 // comments
#7625: FILE: target/i386/hvf-utils/x86_flags.h:18:
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA B 02110-1301 USA
ERROR: do not use C99 // comments
#7626: FILE: target/i386/hvf-utils/x86_flags.h:19:
+/////////////////////////////////////////////////////////////////////////
WARNING: architecture specific defines should be avoided #7630: FILE: target/i386/hvf-utils/x86_flags.h:23:
+#ifndef __X86_FLAGS_H__
WARNING: architecture specific defines should be avoided #7874: FILE: target/i386/hvf-utils/x86_gen.h:18:
+#ifndef __X86_GEN_H__
WARNING: line over 80 characters
#7985: FILE: target/i386/hvf-utils/x86_mmu.c:70:
+ return (addr >> (level_shift * (level - 1) + 12)) & ((1 << level_shift) - 1);
ERROR: trailing whitespace
#8063: FILE: target/i386/hvf-utils/x86_mmu.c:148:
+ $
ERROR: trailing whitespace
#8095: FILE: target/i386/hvf-utils/x86_mmu.c:180:
+ $
ERROR: trailing whitespace
#8104: FILE: target/i386/hvf-utils/x86_mmu.c:189:
+ $
WARNING: architecture specific defines should be avoided #8212: FILE: target/i386/hvf-utils/x86_mmu.h:18:
+#ifndef __X86_MMU_H__
ERROR: trailing whitespace
#8326: FILE: target/i386/hvf-utils/x86hvf.c:81:
+ $
ERROR: trailing whitespace
#8328: FILE: target/i386/hvf-utils/x86hvf.c:83:
+ memset(xsave, 0, sizeof(*xsave)); $
ERROR: trailing whitespace
#8329: FILE: target/i386/hvf-utils/x86hvf.c:84:
+ $
ERROR: line over 90 characters
#8330: FILE: target/i386/hvf-utils/x86hvf.c:85:
+ memcpy(&xsave->data[4], &X86_CPU(cpu_state)->env.fpdp, sizeof(X86_CPU(cpu_state)->env.fpdp));
ERROR: line over 90 characters
#8331: FILE: target/i386/hvf-utils/x86hvf.c:86:
+ memcpy(&xsave->data[2], &X86_CPU(cpu_state)->env.fpip, sizeof(X86_CPU(cpu_state)->env.fpip));
ERROR: line over 90 characters
#8332: FILE: target/i386/hvf-utils/x86hvf.c:87:
+ memcpy(&xsave->data[8], &X86_CPU(cpu_state)->env.fpregs, sizeof(X86_CPU(cpu_state)->env.fpregs));
ERROR: line over 90 characters
#8333: FILE: target/i386/hvf-utils/x86hvf.c:88:
+ memcpy(&xsave->data[144], &X86_CPU(cpu_state)->env.ymmh_regs, sizeof(X86_CPU(cpu_state)->env.ymmh_regs));
ERROR: line over 90 characters
#8334: FILE: target/i386/hvf-utils/x86hvf.c:89:
+ memcpy(&xsave->data[288], &X86_CPU(cpu_state)->env.zmmh_regs, sizeof(X86_CPU(cpu_state)->env.zmmh_regs));
ERROR: line over 90 characters
#8335: FILE: target/i386/hvf-utils/x86hvf.c:90:
+ memcpy(&xsave->data[272], &X86_CPU(cpu_state)->env.opmask_regs, sizeof(X86_CPU(cpu_state)->env.opmask_regs));
ERROR: line over 90 characters
#8336: FILE: target/i386/hvf-utils/x86hvf.c:91:
+ memcpy(&xsave->data[240], &X86_CPU(cpu_state)->env.bnd_regs, sizeof(X86_CPU(cpu_state)->env.bnd_regs));
ERROR: line over 90 characters
#8337: FILE: target/i386/hvf-utils/x86hvf.c:92:
+ memcpy(&xsave->data[256], &X86_CPU(cpu_state)->env.bndcs_regs, sizeof(X86_CPU(cpu_state)->env.bndcs_regs));
ERROR: line over 90 characters
#8338: FILE: target/i386/hvf-utils/x86hvf.c:93:
+ memcpy(&xsave->data[416], &X86_CPU(cpu_state)->env.hi16_zmm_regs, sizeof(X86_CPU(cpu_state)->env.hi16_zmm_regs));
ERROR: trailing whitespace
#8339: FILE: target/i386/hvf-utils/x86hvf.c:94:
+ $
ERROR: trailing whitespace
#8343: FILE: target/i386/hvf-utils/x86hvf.c:98:
+ $
ERROR: braces {} are necessary even for single statement blocks #8344: FILE: target/i386/hvf-utils/x86hvf.c:99:
+ for (x = 0; x < 8; ++x)
+ xsave->data[1] |= ((!X86_CPU(cpu_state)->env.fptags[x]) << x);
ERROR: trailing whitespace
#8347: FILE: target/i386/hvf-utils/x86hvf.c:102:
+ $
ERROR: line over 90 characters
#8348: FILE: target/i386/hvf-utils/x86hvf.c:103:
+ memcpy(&xsave->data[40], &X86_CPU(cpu_state)->env.xmm_regs, sizeof(X86_CPU(cpu_state)->env.xmm_regs));
ERROR: trailing whitespace
#8349: FILE: target/i386/hvf-utils/x86hvf.c:104:
+ $
ERROR: trailing whitespace
#8352: FILE: target/i386/hvf-utils/x86hvf.c:107:
+ $
ERROR: space required before the open brace '{'
#8353: FILE: target/i386/hvf-utils/x86hvf.c:108:
+ if (hv_vcpu_write_fpstate(cpu_state->hvf_fd, xsave->data, 4096)){
ERROR: trailing whitespace
#8362: FILE: target/i386/hvf-utils/x86hvf.c:117:
+ $
ERROR: trailing whitespace
#8379: FILE: target/i386/hvf-utils/x86hvf.c:134:
+ $
ERROR: trailing whitespace
#8400: FILE: target/i386/hvf-utils/x86hvf.c:155:
+ $
ERROR: trailing whitespace
#8403: FILE: target/i386/hvf-utils/x86hvf.c:158:
+ $
ERROR: trailing whitespace
#8437: FILE: target/i386/hvf-utils/x86hvf.c:192:
+ $
ERROR: trailing whitespace
#8439: FILE: target/i386/hvf-utils/x86hvf.c:194:
+ $
ERROR: line over 90 characters
#8444: FILE: target/i386/hvf-utils/x86hvf.c:199:
+ memcpy(&X86_CPU(cpu_state)->env.fpdp, &xsave->data[4], sizeof(X86_CPU(cpu_state)->env.fpdp));
ERROR: line over 90 characters
#8445: FILE: target/i386/hvf-utils/x86hvf.c:200:
+ memcpy(&X86_CPU(cpu_state)->env.fpip, &xsave->data[2], sizeof(X86_CPU(cpu_state)->env.fpip));
ERROR: line over 90 characters
#8446: FILE: target/i386/hvf-utils/x86hvf.c:201:
+ memcpy(&X86_CPU(cpu_state)->env.fpregs, &xsave->data[8], sizeof(X86_CPU(cpu_state)->env.fpregs));
ERROR: line over 90 characters
#8447: FILE: target/i386/hvf-utils/x86hvf.c:202:
+ memcpy(&X86_CPU(cpu_state)->env.ymmh_regs, &xsave->data[144], sizeof(X86_CPU(cpu_state)->env.ymmh_regs));
ERROR: line over 90 characters
#8448: FILE: target/i386/hvf-utils/x86hvf.c:203:
+ memcpy(&X86_CPU(cpu_state)->env.zmmh_regs, &xsave->data[288], sizeof(X86_CPU(cpu_state)->env.zmmh_regs));
ERROR: line over 90 characters
#8449: FILE: target/i386/hvf-utils/x86hvf.c:204:
+ memcpy(&X86_CPU(cpu_state)->env.opmask_regs, &xsave->data[272], sizeof(X86_CPU(cpu_state)->env.opmask_regs));
ERROR: line over 90 characters
#8450: FILE: target/i386/hvf-utils/x86hvf.c:205:
+ memcpy(&X86_CPU(cpu_state)->env.bnd_regs, &xsave->data[240], sizeof(X86_CPU(cpu_state)->env.bnd_regs));
ERROR: line over 90 characters
#8451: FILE: target/i386/hvf-utils/x86hvf.c:206:
+ memcpy(&X86_CPU(cpu_state)->env.bndcs_regs, &xsave->data[256], sizeof(X86_CPU(cpu_state)->env.bndcs_regs));
ERROR: line over 90 characters
#8452: FILE: target/i386/hvf-utils/x86hvf.c:207:
+ memcpy(&X86_CPU(cpu_state)->env.hi16_zmm_regs, &xsave->data[416], sizeof(X86_CPU(cpu_state)->env.hi16_zmm_regs));
ERROR: trailing whitespace
#8453: FILE: target/i386/hvf-utils/x86hvf.c:208:
+ $
ERROR: trailing whitespace
#8454: FILE: target/i386/hvf-utils/x86hvf.c:209:
+ $
ERROR: trailing whitespace
#8459: FILE: target/i386/hvf-utils/x86hvf.c:214:
+ $
ERROR: suspect code indent for conditional statements (4, 7) #8460: FILE: target/i386/hvf-utils/x86hvf.c:215:
+ for (x = 0; x < 8; ++x)
+ X86_CPU(cpu_state)->env.fptags[x] =
ERROR: trailing whitespace
#8463: FILE: target/i386/hvf-utils/x86hvf.c:218:
+ $
ERROR: line over 90 characters
#8464: FILE: target/i386/hvf-utils/x86hvf.c:219:
+ memcpy(&X86_CPU(cpu_state)->env.xmm_regs, &xsave->data[40], sizeof(X86_CPU(cpu_state)->env.xmm_regs));
ERROR: trailing whitespace
#8480: FILE: target/i386/hvf-utils/x86hvf.c:235:
+ $
ERROR: trailing whitespace
#8511: FILE: target/i386/hvf-utils/x86hvf.c:266:
+ $
ERROR: trailing whitespace
#8519: FILE: target/i386/hvf-utils/x86hvf.c:274:
+ $
ERROR: trailing whitespace
#8522: FILE: target/i386/hvf-utils/x86hvf.c:277:
+ $
ERROR: trailing whitespace
#8539: FILE: target/i386/hvf-utils/x86hvf.c:294:
+ $
ERROR: trailing whitespace
#8566: FILE: target/i386/hvf-utils/x86hvf.c:321:
+ $
ERROR: trailing whitespace
#8568: FILE: target/i386/hvf-utils/x86hvf.c:323:
+ $
ERROR: trailing whitespace
#8570: FILE: target/i386/hvf-utils/x86hvf.c:325:
+ $
ERROR: trailing whitespace
#8572: FILE: target/i386/hvf-utils/x86hvf.c:327:
+ $
ERROR: trailing whitespace
#8574: FILE: target/i386/hvf-utils/x86hvf.c:329:
+ $
ERROR: trailing whitespace
#8583: FILE: target/i386/hvf-utils/x86hvf.c:338:
+ $
ERROR: trailing whitespace
#8609: FILE: target/i386/hvf-utils/x86hvf.c:364:
+ $
ERROR: trailing whitespace
#8612: FILE: target/i386/hvf-utils/x86hvf.c:367:
+ $
ERROR: trailing whitespace
#8615: FILE: target/i386/hvf-utils/x86hvf.c:370:
+ $
ERROR: trailing whitespace
#8618: FILE: target/i386/hvf-utils/x86hvf.c:373:
+ $
ERROR: trailing whitespace
#8627: FILE: target/i386/hvf-utils/x86hvf.c:382:
+ $
ERROR: trailing whitespace
#8658: FILE: target/i386/hvf-utils/x86hvf.c:413:
+ $
ERROR: trailing whitespace
#8663: FILE: target/i386/hvf-utils/x86hvf.c:418:
+ $
ERROR: trailing whitespace
#8669: FILE: target/i386/hvf-utils/x86hvf.c:424:
+ $
ERROR: trailing whitespace
#8690: FILE: target/i386/hvf-utils/x86hvf.c:445:
+ $
total: 196 errors, 36 warnings, 8559 lines checked
Your patch has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS.
Checking PATCH 3/19: i386: hvf: fix licensing issues; isolate task handling code (GPL v2-only)...
ERROR: do not use C99 // comments
#553: FILE: target/i386/hvf-utils/x86_task.c:1:
+// This software is licensed under the terms of the GNU General Public
ERROR: do not use C99 // comments
#554: FILE: target/i386/hvf-utils/x86_task.c:2:
+// License version 2, as published by the Free Software Foundation, and
ERROR: do not use C99 // comments
#555: FILE: target/i386/hvf-utils/x86_task.c:3:
+// may be copied, distributed, and modified under those terms.
ERROR: trailing whitespace
#556: FILE: target/i386/hvf-utils/x86_task.c:4:
+// $
ERROR: do not use C99 // comments
#556: FILE: target/i386/hvf-utils/x86_task.c:4:
+//
ERROR: do not use C99 // comments
#557: FILE: target/i386/hvf-utils/x86_task.c:5:
+// This program is distributed in the hope that it will be useful,
ERROR: do not use C99 // comments
#558: FILE: target/i386/hvf-utils/x86_task.c:6:
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
ERROR: do not use C99 // comments
#559: FILE: target/i386/hvf-utils/x86_task.c:7:
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
ERROR: do not use C99 // comments
#560: FILE: target/i386/hvf-utils/x86_task.c:8:
+// GNU General Public License for more details.
ERROR: do not use C99 // comments
#592: FILE: target/i386/hvf-utils/x86_task.c:40:
+// TODO: taskswitch handling
WARNING: line over 80 characters
#638: FILE: target/i386/hvf-utils/x86_task.c:86:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->ldt}}, REG_SEG_LDTR);
ERROR: space required before the open brace '{'
#638: FILE: target/i386/hvf-utils/x86_task.c:86:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->ldt}}, REG_SEG_LDTR);
ERROR: space required after that close brace '}'
#638: FILE: target/i386/hvf-utils/x86_task.c:86:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->ldt}}, REG_SEG_LDTR);
WARNING: line over 80 characters
#639: FILE: target/i386/hvf-utils/x86_task.c:87:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->es}}, REG_SEG_ES);
ERROR: space required before the open brace '{'
#639: FILE: target/i386/hvf-utils/x86_task.c:87:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->es}}, REG_SEG_ES);
ERROR: space required after that close brace '}'
#639: FILE: target/i386/hvf-utils/x86_task.c:87:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->es}}, REG_SEG_ES);
WARNING: line over 80 characters
#640: FILE: target/i386/hvf-utils/x86_task.c:88:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->cs}}, REG_SEG_CS);
ERROR: space required before the open brace '{'
#640: FILE: target/i386/hvf-utils/x86_task.c:88:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->cs}}, REG_SEG_CS);
ERROR: space required after that close brace '}'
#640: FILE: target/i386/hvf-utils/x86_task.c:88:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->cs}}, REG_SEG_CS);
WARNING: line over 80 characters
#641: FILE: target/i386/hvf-utils/x86_task.c:89:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->ss}}, REG_SEG_SS);
ERROR: space required before the open brace '{'
#641: FILE: target/i386/hvf-utils/x86_task.c:89:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->ss}}, REG_SEG_SS);
ERROR: space required after that close brace '}'
#641: FILE: target/i386/hvf-utils/x86_task.c:89:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->ss}}, REG_SEG_SS);
WARNING: line over 80 characters
#642: FILE: target/i386/hvf-utils/x86_task.c:90:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->ds}}, REG_SEG_DS);
ERROR: space required before the open brace '{'
#642: FILE: target/i386/hvf-utils/x86_task.c:90:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->ds}}, REG_SEG_DS);
ERROR: space required after that close brace '}'
#642: FILE: target/i386/hvf-utils/x86_task.c:90:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->ds}}, REG_SEG_DS);
WARNING: line over 80 characters
#643: FILE: target/i386/hvf-utils/x86_task.c:91:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->fs}}, REG_SEG_FS);
ERROR: space required before the open brace '{'
#643: FILE: target/i386/hvf-utils/x86_task.c:91:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->fs}}, REG_SEG_FS);
ERROR: space required after that close brace '}'
#643: FILE: target/i386/hvf-utils/x86_task.c:91:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->fs}}, REG_SEG_FS);
WARNING: line over 80 characters
#644: FILE: target/i386/hvf-utils/x86_task.c:92:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->gs}}, REG_SEG_GS);
ERROR: space required before the open brace '{'
#644: FILE: target/i386/hvf-utils/x86_task.c:92:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->gs}}, REG_SEG_GS);
ERROR: space required after that close brace '}'
#644: FILE: target/i386/hvf-utils/x86_task.c:92:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->gs}}, REG_SEG_GS);
ERROR: if this code is redundant consider removing it #646: FILE: target/i386/hvf-utils/x86_task.c:94:
+#if 0
ERROR: line over 90 characters
#657: FILE: target/i386/hvf-utils/x86_task.c:105:
+static int task_switch_32(CPUState *cpu, x68_segment_selector tss_sel, x68_segment_selector old_tss_sel,
WARNING: line over 80 characters
#658: FILE: target/i386/hvf-utils/x86_task.c:106:
+ uint64_t old_tss_base, struct x86_segment_descriptor *new_desc)
ERROR: line over 90 characters
#668: FILE: target/i386/hvf-utils/x86_task.c:116:
+ vmx_write_mem(cpu, old_tss_base + eip_offset, &tss_seg.eip, ldt_sel_offset - eip_offset);
WARNING: line over 80 characters
#674: FILE: target/i386/hvf-utils/x86_task.c:122:
+ vmx_write_mem(cpu, new_tss_base, &tss_seg.prev_tss, sizeof(tss_seg.prev_tss));
ERROR: line over 90 characters
#680: FILE: target/i386/hvf-utils/x86_task.c:128:
+void vmx_handle_task_switch(CPUState *cpu, x68_segment_selector tss_sel, int reason, bool gate_valid, uint8_t gate, uint64_t gate_type)
WARNING: line over 80 characters
#695: FILE: target/i386/hvf-utils/x86_task.c:143:
+ x68_segment_selector old_tss_sel = vmx_read_segment_selector(cpu, REG_SEG_TR);
ERROR: braces {} are necessary for all arms of this statement #714: FILE: target/i386/hvf-utils/x86_task.c:162:
+ if (tss_sel.rpl > dpl || cs.rpl > dpl)
[...]
ERROR: do not use C99 // comments
#715: FILE: target/i386/hvf-utils/x86_task.c:163:
+ ;//DPRINTF("emulate_gp");
ERROR: line over 90 characters
#719: FILE: target/i386/hvf-utils/x86_task.c:167:
+ if (!next_tss_desc.p || ((desc_limit < 0x67 && (next_tss_desc.type & 8)) || desc_limit < 0x2b)) {
ERROR: braces {} are necessary for all arms of this statement #728: FILE: target/i386/hvf-utils/x86_task.c:176:
+ if (reason == TSR_IRET)
[...]
ERROR: braces {} are necessary for all arms of this statement #731: FILE: target/i386/hvf-utils/x86_task.c:179:
+ if (reason != TSR_CALL && reason != TSR_IDT_GATE)
[...]
ERROR: braces {} are necessary for all arms of this statement #739: FILE: target/i386/hvf-utils/x86_task.c:187:
+ if (next_tss_desc.type & 8)
[...]
+ else
[...]
WARNING: line over 80 characters
#740: FILE: target/i386/hvf-utils/x86_task.c:188:
+ ret = task_switch_32(cpu, tss_sel, old_tss_sel, old_tss_base, &next_tss_desc);
WARNING: line over 80 characters
#742: FILE: target/i386/hvf-utils/x86_task.c:190:
+ //ret = task_switch_16(cpu, tss_sel, old_tss_sel, old_tss_base, &next_tss_desc);
ERROR: do not use C99 // comments
#742: FILE: target/i386/hvf-utils/x86_task.c:190:
+ //ret = task_switch_16(cpu, tss_sel, old_tss_sel, old_tss_base, &next_tss_desc);
total: 35 errors, 12 warnings, 724 lines checked
Your patch has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS.
Checking PATCH 4/19: i386: hvf: use new helper functions for put/get xsave...
ERROR: "(foo*)" should be "(foo *)"
#89: FILE: target/i386/hvf-utils/x86hvf.c:85:
+ if (hv_vcpu_write_fpstate(cpu_state->hvf_fd, (void*)xsave, 4096)) {
ERROR: "(foo*)" should be "(foo *)"
#106: FILE: target/i386/hvf-utils/x86hvf.c:171:
+ if (hv_vcpu_read_fpstate(cpu_state->hvf_fd, (void*)xsave, 4096)) {
total: 2 errors, 0 warnings, 108 lines checked
Your patch has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS.
Checking PATCH 5/19: i386: hvf: implement hvf_get_supported_cpuid...
ERROR: return is not a function, parentheses are not required #65: FILE: target/i386/hvf-utils/x86_cpuid.c:46:
+ return ((cap_exit & (1 << 23)) && (cap_entry & (1 << 16)));
WARNING: line over 80 characters
#154: FILE: target/i386/hvf-utils/x86_cpuid.c:135:
+ CPUID_EXT2_SYSCALL | CPUID_MTRR | CPUID_PGE | CPUID_MCA | CPUID_CMOV |
WARNING: line over 80 characters
#156: FILE: target/i386/hvf-utils/x86_cpuid.c:137:
+ CPUID_FXSR | CPUID_EXT2_FXSR | CPUID_EXT2_PDPE1GB | CPUID_EXT2_3DNOWEXT |
WARNING: line over 80 characters
#157: FILE: target/i386/hvf-utils/x86_cpuid.c:138:
+ CPUID_EXT2_3DNOW | CPUID_EXT2_LM | CPUID_EXT2_RDTSCP | CPUID_EXT2_NX;
total: 1 errors, 3 warnings, 164 lines checked
Your patch has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS.
Checking PATCH 6/19: i386: refactor KVM cpuid code so that it applies to hvf as well...
ERROR: else should follow close brace '}'
#197: FILE: target/i386/cpu.c:3297:
}
+ else if (hvf_enabled()) {
total: 1 errors, 0 warnings, 204 lines checked
Your patch has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS.
Checking PATCH 7/19: i386: hvf: implement vga dirty page tracking... Checking PATCH 8/19: i386: hvf: refactor event injection code for hvf...
WARNING: line over 80 characters
#38: FILE: target/i386/hvf-all.c:587:
+static void hvf_store_events(CPUState *cpu, uint32_t ins_len, uint64_t idtvec_info)
total: 0 errors, 1 warnings, 223 lines checked
Your patch has style problems, please review. If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
Checking PATCH 9/19: i386: hvf: inject General Protection Fault when vmexit through vmcall... Checking PATCH 10/19: i386: hvf: move all hvf files in the same directory... Checking PATCH 11/19: i386: hvf: header cleanup...
Checking PATCH 12/19: i386: hvf: unify register enums between HVF and the rest...
ERROR: line over 90 characters
#668: FILE: target/i386/hvf/x86_descr.c:71:
+void vmx_write_segment_selector(struct CPUState *cpu, x68_segment_selector selector, X86Seg seg)
ERROR: line over 90 characters
#674: FILE: target/i386/hvf/x86_descr.c:76:
+void vmx_read_segment_descriptor(struct CPUState *cpu, struct vmx_segment *desc, X86Seg seg)
WARNING: line over 80 characters
#683: FILE: target/i386/hvf/x86_descr.c:84:
+void vmx_write_segment_descriptor(CPUState *cpu, struct vmx_segment *desc, X86Seg seg)
WARNING: line over 80 characters
#834: FILE: target/i386/hvf/x86_emu.c:639:
+ addr = linear_addr_size(ENV_GET_CPU(env), RDI(env), decode->addressing_size, R_ES);
WARNING: line over 80 characters
#848: FILE: target/i386/hvf/x86_emu.c:662:
+ addr = linear_addr_size(ENV_GET_CPU(env), RDI(env), decode->addressing_size, R_ES);
ERROR: space required after that close brace '}'
#946: FILE: target/i386/hvf/x86_task.c:86:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->ldt}}, R_LDTR);
ERROR: space required after that close brace '}'
#947: FILE: target/i386/hvf/x86_task.c:87:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->es}}, R_ES);
ERROR: space required after that close brace '}'
#948: FILE: target/i386/hvf/x86_task.c:88:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->cs}}, R_CS);
ERROR: space required after that close brace '}'
#949: FILE: target/i386/hvf/x86_task.c:89:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->ss}}, R_SS);
ERROR: space required after that close brace '}'
#950: FILE: target/i386/hvf/x86_task.c:90:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->ds}}, R_DS);
ERROR: space required after that close brace '}'
#951: FILE: target/i386/hvf/x86_task.c:91:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->fs}}, R_FS);
ERROR: space required after that close brace '}'
#952: FILE: target/i386/hvf/x86_task.c:92:
+ vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->gs}}, R_GS);
total: 9 errors, 3 warnings, 973 lines checked
Your patch has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS.
Checking PATCH 13/19: i386: hvf: remove more dead emulator code...
ERROR: unnecessary whitespace before a quoted newline #149: FILE: target/i386/hvf/x86_emu.c:1514:
+ printf("Unimplemented handler (%llx) for %d (%x %x) \n", RIP(env),
total: 1 errors, 0 warnings, 182 lines checked
Your patch has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS.
Checking PATCH 14/19: i386: hvf: remove ZERO_INIT macro... Checking PATCH 15/19: i386: hvf: abort on decoding error... Checking PATCH 16/19: i386: hvf: simplify flag handling...
ERROR: spaces required around that '+' (ctx:WxV) #121: FILE: target/i386/hvf/x86_emu.c:287:
+ EXEC_2OP_FLAGS_CMD(env, decode, +get_CF(env)+, SET_FLAGS_OSZAPC_ADD, true);
^ERROR: spaces required around that '+' (ctx:VxO)
#121: FILE: target/i386/hvf/x86_emu.c:287:
+ EXEC_2OP_FLAGS_CMD(env, decode, +get_CF(env)+, SET_FLAGS_OSZAPC_ADD, true);
^ERROR: spaces required around that '-' (ctx:VxO)
#128: FILE: target/i386/hvf/x86_emu.c:293:
+ EXEC_2OP_FLAGS_CMD(env, decode, -get_CF(env)-, SET_FLAGS_OSZAPC_SUB, true);
^ERROR: spaces required around that '+' (ctx:WxV)
#189: FILE: target/i386/hvf/x86_emu.c:349:
+ EXEC_2OP_FLAGS_CMD(env, decode, +1+, SET_FLAGS_OSZAP_ADD, true);
^ERROR: spaces required around that '+' (ctx:VxO)
#189: FILE: target/i386/hvf/x86_emu.c:349:
+ EXEC_2OP_FLAGS_CMD(env, decode, +1+, SET_FLAGS_OSZAP_ADD, true);
^ERROR: spaces required around that '-' (ctx:VxO)
#198: FILE: target/i386/hvf/x86_emu.c:359:
+ EXEC_2OP_FLAGS_CMD(env, decode, -1-, SET_FLAGS_OSZAP_SUB, true);
^WARNING: line over 80 characters
#576: FILE: target/i386/hvf/x86_flags.c:232:
+ return ((env->hvf_emul->lflags.auxbits + (1U << LF_BIT_PO)) >> LF_BIT_CF) & 1;
total: 6 errors, 1 warnings, 753 lines checked
Your patch has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS.
Checking PATCH 17/19: i386: hvf: remove addr_t...
WARNING: line over 80 characters
#122: FILE: target/i386/hvf/x86.h:384:
+target_ulong linear_addr(struct CPUState *cpu, target_ulong addr, enum X86Seg seg);
WARNING: line over 80 characters
#353: FILE: target/i386/hvf/x86_emu.c:176:
+ return (ptr - (target_ulong)&env->hvf_emul->regs[0]) < sizeof(env->hvf_emul->regs);
WARNING: line over 80 characters
#357: FILE: target/i386/hvf/x86_emu.c:179:
+void write_val_ext(struct CPUX86State *env, target_ulong ptr, target_ulong val, int size)
ERROR: line over 90 characters
#413: FILE: target/i386/hvf/x86_emu.c:487:
+ target_ulong addr = linear_addr_size(ENV_GET_CPU(env), RDI(env), decode->addressing_size,
WARNING: line over 80 characters
#500: FILE: target/i386/hvf/x86_emu.h:38:
+void write_val_ext(struct CPUX86State *env, target_ulong ptr, target_ulong val, int size);
WARNING: line over 80 characters
#547: FILE: target/i386/hvf/x86_flags.c:103:
+ target_ulong delta_c = (env->hvf_emul->lflags.auxbits ^ temp) & LF_MASK_CF; \
WARNING: line over 80 characters
#650: FILE: target/i386/hvf/x86_mmu.c:231:
+void vmx_write_mem(struct CPUState *cpu, target_ulong gva, void *data, int bytes)
WARNING: line over 80 characters
#682: FILE: target/i386/hvf/x86_mmu.h:42:
+void vmx_write_mem(struct CPUState *cpu, target_ulong gva, void *data, int bytes);
WARNING: line over 80 characters
#683: FILE: target/i386/hvf/x86_mmu.h:43:
+void vmx_read_mem(struct CPUState *cpu, void *data, target_ulong gva, int bytes);
total: 1 errors, 8 warnings, 575 lines checked
Your patch has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS.
Checking PATCH 18/19: i386: hvf: remove VM_PANIC from "in"... Checking PATCH 19/19: i386: hvf: cleanup x86_gen.h... === OUTPUT END ===
Test command exited with code: 1
---
Email generated automatically by Patchew [http://patchew.org/].
Please send your feedback to [email protected]
Quoted 6 lines · Paolo Bonzini
The following changes since commit
f1faf2d59c91a8f1f59a0fc6339154efb749b55d:Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging (2017-12-20 11:30:55 +0000)
are available in the Git repository at:
Quoted 8 lines
git://github.com/bonzini/qemu.gittags/for-upstream-hvffor you to fetch changes up to
5fd1a70fb75d53b43dfff636a9c641dbf03f949f:i386: hvf: cleanup
x86_gen.h(2017-12-20 18:39:06 +0100)----------------------------------------------------------------
Initial support for the HVF accelerator
Build failure, Windows:
LINK arm-softmmu/qemu-system-arm.exe
cpus.o: In function `qemu_hvf_cpu_thread_fn':/home/petmay01/linaro/qemu-for-merges/cpus.c:1478: undefined reference to hvf_init_vcpu' /home/petmay01/linaro/qemu-for-merges/cpus.c:1486: undefined reference to hvf_vcpu_exec' /home/petmay01/linaro/qemu-for-merges/cpus.c:1494: undefined reference to `hvf_vcpu_destroy'
collect2: error: ld returned 1 exit status
(ditto for all the other exes)
Build failure, OSX:
In file included from /Users/pm215/src/qemu-for-merges/target/i386/hvf/x86_cpuid.c:25:
/Users/pm215/src/qemu-for-merges/target/i386/hvf/x86.h:290:5: error:
unknown type name 'target_ulong'
target_ulong result;
^
/Users/pm215/src/qemu-for-merges/target/i386/hvf/x86.h:291:5: error:
unknown type name 'target_ulong'
target_ulong auxbits;
^/Users/pm215/src/qemu-for-merges/target/i386/hvf/x86.h:382:1: error:
unknown type name 'target_ulong'target_ulong linear_addr(struct CPUState *cpu, target_ulong addr, enum X86Seg seg);
^ /Users/pm215/src/qemu-for-merges/target/i386/hvf/x86.h:382:48: error:
unknown type name 'target_ulong'target_ulong linear_addr(struct CPUState *cpu, target_ulong addr, enum
X86Seg seg);
^/Users/pm215/src/qemu-for-merges/target/i386/hvf/x86.h:383:1: error:
unknown type name 'target_ulong'target_ulong linear_addr_size(struct CPUState *cpu, target_ulong addr, int size, ^
/Users/pm215/src/qemu-for-merges/target/i386/hvf/x86.h:383:53: error:
unknown type name 'target_ulong'target_ulong linear_addr_size(struct CPUState *cpu, target_ulong addr, int size,
^
/Users/pm215/src/qemu-for-merges/target/i386/hvf/x86.h:385:1: error:
unknown type name 'target_ulong'target_ulong linear_rip(struct CPUState *cpu, target_ulong rip); ^ /Users/pm215/src/qemu-for-merges/target/i386/hvf/x86.h:385:47: error:
unknown type name 'target_ulong'
target_ulong linear_rip(struct CPUState *cpu, target_ulong rip);
^thanks
-- PMM
This series failed automatic build test. Please find the testing commands and their output below. If you have docker installed, you can probably reproduce it locally.
Hi,
This series failed automatic build test. Please find the testing commands and their output below. If you have docker installed, you can probably reproduce it locally.
Type: series
Message-id: [email protected]
Subject: [Qemu-devel] [PULL 00/19] Initial support for Hypervisor.framework
=== TEST SCRIPT BEGIN ===
#!/bin/bash
set -e
git submodule update --init dtc
# Let docker tests dump environment info
export SHOW_ENV=1
export J=8
time make docker-test-quick@centos6
time make docker-test-build@min-glib
time make docker-test-mingw@fedora
# iotests is broken now, skip # time make docker-test-block@fedora === TEST SCRIPT END ===
Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
From https://github.com/patchew-project/qemu
* [new tag] patchew/[email protected] -> patchew/[email protected]
Switched to a new branch 'test'643fafd4b8 i386: hvf: cleanup x86_gen.h2091c81635 i386: hvf: remove VM_PANIC from "in"683e8fde69 i386: hvf: remove addr_t3b42a270ce i386: hvf: simplify flag handling110a232ff1 i386: hvf: abort on decoding error2de62453eb i386: hvf: remove ZERO_INIT macrof55c2b11d2 i386: hvf: remove more dead emulator code6134854ce2 i386: hvf: unify register enums between HVF and the rest eb61783ac4 i386: hvf: header cleanup3c51048c74 i386: hvf: move all hvf files in the same directory ae6b6b5710 i386: hvf: inject General Protection Fault when vmexit through vmcall fd8fcdf003 i386: hvf: refactor event injection code for hvf9a5274b8e5 i386: hvf: implement vga dirty page tracking750a618681 i386: refactor KVM cpuid code so that it applies to hvf as well 31285c7884 i386: hvf: implement hvf_get_supported_cpuidfff2f086bb i386: hvf: use new helper functions for put/get xsave 405850d791 i386: hvf: fix licensing issues; isolate task handling code (GPL v2-only) 6cada5b6e4 i386: hvf: add code base from Google's QEMU repository 1641428883 apic: add function to apic that will be used by hvf
=== OUTPUT BEGIN ===
Submodule 'dtc' (git://git.qemu-project.org/dtc.git) registered for path 'dtc'
Cloning into '/var/tmp/patchew-tester-tmp-h0o1gg04/src/dtc'...
Submodule path 'dtc': checked out '558cd81bdd432769b59bff01240c44f82cfb1a9d'
BUILD centos6
make[1]: Entering directory '/var/tmp/patchew-tester-tmp-h0o1gg04/src'
GEN /var/tmp/patchew-tester-tmp-h0o1gg04/src/docker-src.2017-12-20-13.59.05.28545/qemu.tar
Cloning into '/var/tmp/patchew-tester-tmp-h0o1gg04/src/docker-src.2017-12-20-13.59.05.28545/qemu.tar.vroot'... done.
Your branch is up-to-date with 'origin/test'.
Submodule 'dtc' (git://git.qemu-project.org/dtc.git) registered for path 'dtc'
Cloning into '/var/tmp/patchew-tester-tmp-h0o1gg04/src/docker-src.2017-12-20-13.59.05.28545/qemu.tar.vroot/dtc'... Submodule path 'dtc': checked out '558cd81bdd432769b59bff01240c44f82cfb1a9d'
Submodule 'ui/keycodemapdb' (git://git.qemu.org/keycodemapdb.git) registered for path 'ui/keycodemapdb' Cloning into '/var/tmp/patchew-tester-tmp-h0o1gg04/src/docker-src.2017-12-20-13.59.05.28545/qemu.tar.vroot/ui/keycodemapdb'... Submodule path 'ui/keycodemapdb': checked out '10739aa26051a5d49d88132604539d3ed085e72e'
COPY RUNNER
RUN test-quick in qemu:centos6
Packages installed:
SDL-devel-1.2.14-7.el6_7.1.x86_64
bison-2.4.1-5.el6.x86_64
bzip2-devel-1.0.5-7.el6_0.x86_64
ccache-3.1.6-2.el6.x86_64
csnappy-devel-0-6.20150729gitd7bc683.el6.x86_64
flex-2.5.35-9.el6.x86_64
gcc-4.4.7-18.el6.x86_64
gettext-0.17-18.el6.x86_64
git-1.7.1-9.el6_9.x86_64
glib2-devel-2.28.8-9.el6.x86_64
libepoxy-devel-1.2-3.el6.x86_64
libfdt-devel-1.4.0-1.el6.x86_64
librdmacm-devel-1.0.21-0.el6.x86_64
lzo-devel-2.03-3.1.el6_5.1.x86_64
make-3.81-23.el6.x86_64
mesa-libEGL-devel-11.0.7-4.el6.x86_64
mesa-libgbm-devel-11.0.7-4.el6.x86_64
package g++ is not installed
pixman-devel-0.32.8-1.el6.x86_64
spice-glib-devel-0.26-8.el6.x86_64
spice-server-devel-0.12.4-16.el6.x86_64
tar-1.23-15.el6_8.x86_64
vte-devel-0.25.1-9.el6.x86_64
xen-devel-4.6.6-2.el6.x86_64
zlib-devel-1.2.3-29.el6.x86_64
Environment variables:
PACKAGES=bison bzip2-devel ccache csnappy-devel flex g++ gcc gettext git glib2-devel libepoxy-devel libfdt-devel librdmacm-devel lzo-devel make mesa-libEGL-devel mesa-libgbm-devel pixman-devel SDL-devel spice-glib-devel spice-server-devel tar vte-devel xen-devel zlib-devel
HOSTNAME=db3d24be9354
MAKEFLAGS= -j8
J=8
CCACHE_DIR=/var/tmp/ccache
EXTRA_CONFIGURE_OPTS=
V=
SHOW_ENV=1 PATH=/usr/lib/ccache:/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PWD=/
TARGET_LIST=
SHLVL=1
HOME=/root
TEST_DIR=/tmp/qemu-test
FEATURES= dtc
DEBUG=
_=/usr/bin/env
Configure options:
--enable-werror --target-list=x86_64-softmmu,aarch64-softmmu --prefix=/tmp/qemu-test/install No C++ compiler available; disabling C++ specific optional code
Install prefix /tmp/qemu-test/install BIOS directory /tmp/qemu-test/install/share/qemu firmware path /tmp/qemu-test/install/share/qemu-firmware binary directory /tmp/qemu-test/install/bin
library directory /tmp/qemu-test/install/lib module directory /tmp/qemu-test/install/lib/qemu libexec directory /tmp/qemu-test/install/libexec include directory /tmp/qemu-test/install/include config directory /tmp/qemu-test/install/etc
local state directory /tmp/qemu-test/install/var
Manual directory /tmp/qemu-test/install/share/man ELF interp prefix /usr/gnemul/qemu-%M
Source path /tmp/qemu-test/src
GIT binary git
GIT submodules
C compiler cc
Host C compiler cc
C++ compiler
Objective-C compiler cc
ARFLAGS rv CFLAGS -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -g QEMU_CFLAGS -I/usr/include/pixman-1 -I$(SRC_PATH)/dtc/libfdt -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DNCURSES_WIDECHAR -fPIE -DPIE -m64 -mcx16 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -Wendif-labels -Wno-missing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-all -Wno-missing-braces -I/usr/include/libpng12 -I/usr/include/libdrm -I/usr/include/spice-server -I/usr/include/cacard -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/spice-1 LDFLAGS -Wl,--warn-common -Wl,-z,relro -Wl,-z,now -pie -m64 -g make make install install python python -B smbd /usr/sbin/smbd module support no host CPU x86_64 host big endian no target list x86_64-softmmu aarch64-softmmu gprof enabled no sparse enabled no strip binaries yes profiler no static build no SDL support yes (1.2.14) GTK support yes (2.24.23) GTK GL support no VTE support yes (0.25.1) TLS priority NORMAL GNUTLS support no GNUTLS rnd no libgcrypt no libgcrypt kdf no nettle no nettle kdf no libtasn1 no curses support yes virgl support no curl support no mingw32 support no Audio drivers oss
Block whitelist (rw)
Block whitelist (ro)
VirtFS support no
Multipath support no
VNC support yes VNC SASL support no VNC JPEG support yes VNC PNG support yes xen support yes xen ctrl version 40600 pv dom build no brlapi support no bluez support no Documentation no PIE yes vde support no netmap support no Linux AIO support no ATTR/XATTR support yes Install blobs yes KVM support yes HAX support no TCG support yes TCG debug enabled no TCG interpreter no HVF support no RDMA support yes fdt support yes preadv support yes fdatasync yes madvise yes posix_madvise yes
libcap-ng support no
vhost-net support yes
vhost-scsi support yes
vhost-vsock support yes
vhost-user support yes
Trace backends log spice support yes (0.12.6/0.12.4) rbd support no xfsctl support no smartcard support yes libusb no usb net redir no OpenGL support yes OpenGL dmabufs no libiscsi support no libnfs support no
build guest agent yes
QGA VSS support no
QGA w32 disk info no
QGA MSI support no
seccomp support no
coroutine backend ucontext
coroutine pool yes
debug stack usage no
crypto afalg no
GlusterFS support no
gcov gcov gcov enabled no TPM support yes libssh2 support no TPM passthrough yes TPM emulator yes QOM debugging yes Live block migration yes lzo support yes snappy support no bzip2 support yes
NUMA host support no
tcmalloc support no
jemalloc support no
avx2 optimization no
replication support yes
VxHS block device no
capstone no
mkdir -p dtc/libfdt
GEN x86_64-softmmu/config-devices.mak.tmp
GEN aarch64-softmmu/config-devices.mak.tmp
mkdir -p dtc/tests
GEN config-host.h GEN qemu-options.def GEN qmp-commands.h GEN qapi-event.h GEN qapi-visit.h GEN qapi-types.h GEN x86_64-softmmu/config-devices.mak GEN aarch64-softmmu/config-devices.mak GEN qmp-marshal.c GEN qapi-types.c GEN qapi-visit.c GEN qapi-event.c GEN qmp-introspect.h GEN qmp-introspect.c GEN trace/generated-tcg-tracers.h GEN trace/generated-helpers-wrappers.h GEN trace/generated-helpers.h GEN trace/generated-helpers.c GEN module_block.h GEN ui/input-keymap-linux-to-qcode.c GEN ui/input-keymap-qcode-to-qnum.c GEN ui/input-keymap-qnum-to-qcode.c GEN ui/input-keymap-qcode-to-linux.c GEN tests/test-qapi-types.h GEN tests/test-qapi-visit.h GEN tests/test-qmp-commands.h GEN tests/test-qapi-event.h GEN tests/test-qmp-introspect.h GEN trace-root.h GEN util/trace.h GEN crypto/trace.h GEN io/trace.h GEN migration/trace.h GEN block/trace.h GEN chardev/trace.h GEN hw/block/trace.h GEN hw/block/dataplane/trace.h GEN hw/char/trace.h GEN hw/intc/trace.h GEN hw/net/trace.h GEN hw/virtio/trace.h GEN hw/audio/trace.h GEN hw/misc/trace.h GEN hw/usb/trace.h GEN hw/scsi/trace.h GEN hw/nvram/trace.h GEN hw/display/trace.h GEN hw/input/trace.h GEN hw/timer/trace.h GEN hw/dma/trace.h GEN hw/sparc/trace.h GEN hw/sd/trace.h GEN hw/isa/trace.h GEN hw/mem/trace.h GEN hw/i386/trace.h GEN hw/i386/xen/trace.h GEN hw/9pfs/trace.h GEN hw/ppc/trace.h GEN hw/pci/trace.h GEN hw/s390x/trace.h GEN hw/vfio/trace.h GEN hw/acpi/trace.h GEN hw/arm/trace.h GEN hw/alpha/trace.h GEN hw/xen/trace.h GEN hw/ide/trace.h GEN ui/trace.h GEN audio/trace.h GEN net/trace.h GEN target/arm/trace.h GEN target/i386/trace.h GEN target/mips/trace.h GEN target/sparc/trace.h GEN target/s390x/trace.h GEN target/ppc/trace.h GEN qom/trace.h GEN linux-user/trace.h GEN qapi/trace.h GEN accel/tcg/trace.h GEN accel/kvm/trace.h GEN nbd/trace.h GEN scsi/trace.h GEN trace-root.c GEN util/trace.c GEN crypto/trace.c GEN io/trace.c GEN migration/trace.c GEN block/trace.c GEN chardev/trace.c GEN hw/block/trace.c GEN hw/block/dataplane/trace.c GEN hw/char/trace.c GEN hw/intc/trace.c GEN hw/net/trace.c GEN hw/virtio/trace.c GEN hw/audio/trace.c GEN hw/misc/trace.c GEN hw/usb/trace.c GEN hw/scsi/trace.c GEN hw/nvram/trace.c GEN hw/display/trace.c GEN hw/input/trace.c GEN hw/timer/trace.c GEN hw/dma/trace.c GEN hw/sparc/trace.c GEN hw/sd/trace.c GEN hw/isa/trace.c GEN hw/mem/trace.c GEN hw/i386/trace.c GEN hw/i386/xen/trace.c GEN hw/9pfs/trace.c GEN hw/ppc/trace.c GEN hw/pci/trace.c GEN hw/s390x/trace.c GEN hw/vfio/trace.c GEN hw/acpi/trace.c GEN hw/arm/trace.c GEN hw/alpha/trace.c GEN hw/xen/trace.c GEN hw/ide/trace.c GEN ui/trace.c GEN audio/trace.c GEN net/trace.c GEN target/arm/trace.c GEN target/i386/trace.c GEN target/mips/trace.c GEN target/sparc/trace.c GEN target/s390x/trace.c GEN target/ppc/trace.c GEN qom/trace.c GEN linux-user/trace.c GEN qapi/trace.c GEN accel/tcg/trace.c GEN accel/kvm/trace.c GEN nbd/trace.c GEN scsi/trace.c GEN config-all-devices.mak
DEP /tmp/qemu-test/src/dtc/tests/dumptrees.c
DEP /tmp/qemu-test/src/dtc/tests/trees.S
DEP /tmp/qemu-test/src/dtc/tests/value-labels.c DEP /tmp/qemu-test/src/dtc/tests/testutils.c
DEP /tmp/qemu-test/src/dtc/tests/asm_tree_dump.c DEP /tmp/qemu-test/src/dtc/tests/truncated_property.c DEP /tmp/qemu-test/src/dtc/tests/check_path.c
DEP /tmp/qemu-test/src/dtc/tests/overlay_bad_fixup.c DEP /tmp/qemu-test/src/dtc/tests/overlay.c
DEP /tmp/qemu-test/src/dtc/tests/subnode_iterate.c DEP /tmp/qemu-test/src/dtc/tests/property_iterate.c DEP /tmp/qemu-test/src/dtc/tests/integer-expressions.c DEP /tmp/qemu-test/src/dtc/tests/utilfdt_test.c DEP /tmp/qemu-test/src/dtc/tests/path_offset_aliases.c DEP /tmp/qemu-test/src/dtc/tests/add_subnode_with_nops.c DEP /tmp/qemu-test/src/dtc/tests/dtbs_equal_unordered.c DEP /tmp/qemu-test/src/dtc/tests/dtb_reverse.c DEP /tmp/qemu-test/src/dtc/tests/dtbs_equal_ordered.c DEP /tmp/qemu-test/src/dtc/tests/extra-terminating-null.c DEP /tmp/qemu-test/src/dtc/tests/incbin.c
DEP /tmp/qemu-test/src/dtc/tests/boot-cpuid.c
DEP /tmp/qemu-test/src/dtc/tests/phandle_format.c DEP /tmp/qemu-test/src/dtc/tests/path-references.c DEP /tmp/qemu-test/src/dtc/tests/references.c
DEP /tmp/qemu-test/src/dtc/tests/string_escapes.c DEP /tmp/qemu-test/src/dtc/tests/propname_escapes.c DEP /tmp/qemu-test/src/dtc/tests/appendprop2.c DEP /tmp/qemu-test/src/dtc/tests/appendprop1.c DEP /tmp/qemu-test/src/dtc/tests/del_node.c
DEP /tmp/qemu-test/src/dtc/tests/del_property.c DEP /tmp/qemu-test/src/dtc/tests/setprop.c
DEP /tmp/qemu-test/src/dtc/tests/set_name.c
DEP /tmp/qemu-test/src/dtc/tests/rw_tree1.c
DEP /tmp/qemu-test/src/dtc/tests/open_pack.c
DEP /tmp/qemu-test/src/dtc/tests/nopulate.c
DEP /tmp/qemu-test/src/dtc/tests/mangle-layout.c DEP /tmp/qemu-test/src/dtc/tests/move_and_save.c DEP /tmp/qemu-test/src/dtc/tests/sw_tree1.c
DEP /tmp/qemu-test/src/dtc/tests/nop_node.c
DEP /tmp/qemu-test/src/dtc/tests/nop_property.c DEP /tmp/qemu-test/src/dtc/tests/setprop_inplace.c DEP /tmp/qemu-test/src/dtc/tests/stringlist.c
DEP /tmp/qemu-test/src/dtc/tests/addr_size_cells.c DEP /tmp/qemu-test/src/dtc/tests/notfound.c
DEP /tmp/qemu-test/src/dtc/tests/sized_cells.c DEP /tmp/qemu-test/src/dtc/tests/char_literal.c DEP /tmp/qemu-test/src/dtc/tests/get_alias.c
DEP /tmp/qemu-test/src/dtc/tests/node_offset_by_compatible.c DEP /tmp/qemu-test/src/dtc/tests/node_check_compatible.c DEP /tmp/qemu-test/src/dtc/tests/node_offset_by_phandle.c DEP /tmp/qemu-test/src/dtc/tests/node_offset_by_prop_value.c DEP /tmp/qemu-test/src/dtc/tests/parent_offset.c DEP /tmp/qemu-test/src/dtc/tests/supernode_atdepth_offset.c DEP /tmp/qemu-test/src/dtc/tests/get_path.c
DEP /tmp/qemu-test/src/dtc/tests/get_phandle.c DEP /tmp/qemu-test/src/dtc/tests/getprop.c
DEP /tmp/qemu-test/src/dtc/tests/get_name.c
DEP /tmp/qemu-test/src/dtc/tests/path_offset.c DEP /tmp/qemu-test/src/dtc/tests/subnode_offset.c DEP /tmp/qemu-test/src/dtc/tests/find_property.c DEP /tmp/qemu-test/src/dtc/tests/root_node.c
DEP /tmp/qemu-test/src/dtc/tests/get_mem_rsv.c DEP /tmp/qemu-test/src/dtc/libfdt/fdt_overlay.c DEP /tmp/qemu-test/src/dtc/libfdt/fdt_addresses.c DEP /tmp/qemu-test/src/dtc/libfdt/fdt_empty_tree.c DEP /tmp/qemu-test/src/dtc/libfdt/fdt_rw.c
DEP /tmp/qemu-test/src/dtc/libfdt/fdt_sw.c
DEP /tmp/qemu-test/src/dtc/libfdt/fdt_strerror.c DEP /tmp/qemu-test/src/dtc/libfdt/fdt_wip.c
DEP /tmp/qemu-test/src/dtc/libfdt/fdt.c
DEP /tmp/qemu-test/src/dtc/libfdt/fdt_ro.c
DEP /tmp/qemu-test/src/dtc/util.c
DEP /tmp/qemu-test/src/dtc/fdtput.c
DEP /tmp/qemu-test/src/dtc/fdtget.c
DEP /tmp/qemu-test/src/dtc/fdtdump.c
LEX convert-dtsv0-lexer.lex.c
DEP /tmp/qemu-test/src/dtc/srcpos.c
BISON dtc-parser.tab.c
LEX dtc-lexer.lex.c
DEP /tmp/qemu-test/src/dtc/livetree.c
DEP /tmp/qemu-test/src/dtc/treesource.c
DEP /tmp/qemu-test/src/dtc/fstree.c
DEP /tmp/qemu-test/src/dtc/flattree.c
DEP /tmp/qemu-test/src/dtc/dtc.c
DEP /tmp/qemu-test/src/dtc/data.c
DEP /tmp/qemu-test/src/dtc/checks.c
DEP convert-dtsv0-lexer.lex.c
DEP dtc-parser.tab.c
DEP dtc-lexer.lex.c
CHK version_gen.h
UPD version_gen.h
DEP /tmp/qemu-test/src/dtc/util.c
CC libfdt/fdt.o
CC libfdt/fdt_ro.o
CC libfdt/fdt_wip.o
CC libfdt/fdt_rw.o
CC libfdt/fdt_sw.o
CC libfdt/fdt_strerror.o
CC libfdt/fdt_addresses.o
CC libfdt/fdt_empty_tree.o
CC libfdt/fdt_overlay.o
AR libfdt/libfdt.a
ar: creating libfdt/libfdt.a
a - libfdt/fdt.o
a - libfdt/fdt_ro.o
a - libfdt/fdt_wip.o
a - libfdt/fdt_sw.o
a - libfdt/fdt_rw.o
a - libfdt/fdt_strerror.o
a - libfdt/fdt_empty_tree.o
a - libfdt/fdt_addresses.o
a - libfdt/fdt_overlay.o
mkdir -p dtc/libfdt
mkdir -p dtc/tests
CC tests/qemu-iotests/socket_scm_helper.o GEN qga/qapi-generated/qga-qapi-types.h GEN qga/qapi-generated/qga-qapi-visit.c GEN qga/qapi-generated/qga-qapi-visit.h GEN qga/qapi-generated/qga-qmp-commands.h GEN qga/qapi-generated/qga-qapi-types.c CC qmp-introspect.o GEN qga/qapi-generated/qga-qmp-marshal.c CC qapi-types.o CC qapi-visit.o CC qapi-event.o CC qapi/qapi-visit-core.o CC qapi/qobject-input-visitor.o CC qapi/qapi-dealloc-visitor.o CC qapi/qobject-output-visitor.o CC qapi/qmp-registry.o CC qapi/qmp-dispatch.o CC qapi/string-input-visitor.o CC qapi/string-output-visitor.o CC qapi/opts-visitor.o CC qapi/qapi-clone-visitor.o CC qapi/qmp-event.o CC qapi/qapi-util.o CC qobject/qnull.o CC qobject/qnum.o CC qobject/qstring.o CC qobject/qdict.o CC qobject/qlist.o CC qobject/qbool.o CC qobject/qlit.o CC qobject/qjson.o CC qobject/qobject.o CC qobject/json-lexer.o CC qobject/json-streamer.o CC qobject/json-parser.o CC trace/control.o CC trace/qmp.o CC util/osdep.o CC util/cutils.o CC util/unicode.o CC util/qemu-timer-common.o CC util/lockcnt.o CC util/bufferiszero.o CC util/aiocb.o CC util/async.o CC util/thread-pool.o CC util/qemu-timer.o CC util/main-loop.o CC util/iohandler.o CC util/aio-posix.o CC util/compatfd.o CC util/event_notifier-posix.o CC util/mmap-alloc.o CC util/oslib-posix.o CC util/qemu-openpty.o CC util/qemu-thread-posix.o CC util/memfd.o CC util/envlist.o CC util/path.o CC util/module.o CC util/host-utils.o CC util/bitmap.o CC util/bitops.o CC util/hbitmap.o CC util/fifo8.o CC util/acl.o CC util/cacheinfo.o CC util/error.o CC util/qemu-error.o CC util/id.o CC util/iov.o CC util/qemu-config.o CC util/qemu-sockets.o CC util/uri.o CC util/notify.o CC util/qemu-option.o CC util/qemu-progress.o CC util/keyval.o CC util/hexdump.o CC util/crc32c.o CC util/uuid.o CC util/throttle.o CC util/getauxval.o CC util/readline.o CC util/rcu.o CC util/qemu-coroutine.o CC util/qemu-coroutine-lock.o CC util/qemu-coroutine-io.o CC util/qemu-coroutine-sleep.o CC util/coroutine-ucontext.o CC util/buffer.o CC util/timed-average.o CC util/base64.o CC util/log.o CC util/pagesize.o CC util/qdist.o CC util/qht.o CC util/stats64.o CC util/systemd.o CC util/range.o CC trace-root.o CC util/trace.o CC crypto/trace.o CC io/trace.o CC migration/trace.o CC block/trace.o CC chardev/trace.o CC hw/block/trace.o CC hw/block/dataplane/trace.o CC hw/char/trace.o CC hw/intc/trace.o CC hw/net/trace.o CC hw/virtio/trace.o CC hw/audio/trace.o CC hw/misc/trace.o CC hw/usb/trace.o CC hw/scsi/trace.o CC hw/nvram/trace.o CC hw/display/trace.o CC hw/input/trace.o CC hw/timer/trace.o CC hw/dma/trace.o CC hw/sparc/trace.o CC hw/sd/trace.o CC hw/isa/trace.o CC hw/mem/trace.o CC hw/i386/trace.o CC hw/i386/xen/trace.o CC hw/9pfs/trace.o CC hw/ppc/trace.o CC hw/pci/trace.o CC hw/s390x/trace.o CC hw/vfio/trace.o CC hw/acpi/trace.o CC hw/arm/trace.o CC hw/alpha/trace.o CC hw/xen/trace.o CC hw/ide/trace.o CC ui/trace.o CC audio/trace.o CC net/trace.o CC target/arm/trace.o CC target/i386/trace.o CC target/mips/trace.o CC target/sparc/trace.o CC target/s390x/trace.o CC target/ppc/trace.o CC qom/trace.o CC linux-user/trace.o CC qapi/trace.o CC accel/tcg/trace.o CC accel/kvm/trace.o CC nbd/trace.o CC scsi/trace.o CC crypto/pbkdf-stub.o CC stubs/arch-query-cpu-def.o CC stubs/arch-query-cpu-model-expansion.o CC stubs/arch-query-cpu-model-comparison.o CC stubs/arch-query-cpu-model-baseline.o CC stubs/bdrv-next-monitor-owned.o CC stubs/blk-commit-all.o CC stubs/blockdev-close-all-bdrv-states.o CC stubs/clock-warp.o CC stubs/cpu-get-clock.o CC stubs/cpu-get-icount.o CC stubs/dump.o CC stubs/error-printf.o CC stubs/fdset.o CC stubs/gdbstub.o CC stubs/get-vm-name.o CC stubs/iothread.o CC stubs/iothread-lock.o CC stubs/is-daemonized.o CC stubs/migr-blocker.o CC stubs/machine-init-done.o CC stubs/change-state-handler.o CC stubs/monitor.o CC stubs/notify-event.o CC stubs/qtest.o CC stubs/replay.o CC stubs/runstate-check.o CC stubs/set-fd-handler.o CC stubs/slirp.o CC stubs/sysbus.o CC stubs/tpm.o CC stubs/trace-control.o CC stubs/uuid.o CC stubs/vm-stop.o CC stubs/vmstate.o CC stubs/qmp_pc_dimm.o CC stubs/target-monitor-defs.o CC stubs/target-get-monitor-def.o CC stubs/pc_madt_cpu_entry.o CC stubs/vmgenid.o CC stubs/xen-common.o CC stubs/xen-hvm.o CC stubs/pci-host-piix.o CC contrib/ivshmem-client/ivshmem-client.o CC contrib/ivshmem-client/main.o CC contrib/ivshmem-server/ivshmem-server.o CC contrib/ivshmem-server/main.o CC qemu-nbd.o CC block.o CC blockjob.o CC qemu-io-cmds.o CC replication.o CC block/raw-format.o CC block/qcow.o CC block/vdi.o CC block/vmdk.o CC block/cloop.o CC block/bochs.o CC block/vpc.o CC block/vvfat.o CC block/dmg.o CC block/qcow2.o CC block/qcow2-refcount.o CC block/qcow2-cluster.o CC block/qcow2-snapshot.o CC block/qcow2-cache.o CC block/qcow2-bitmap.o CC block/qed.o CC block/qed-l2-cache.o CC block/qed-table.o CC block/qed-cluster.o CC block/qed-check.o CC block/vhdx.o CC block/vhdx-endian.o CC block/vhdx-log.o CC block/quorum.o CC block/parallels.o CC block/blkdebug.o CC block/blkverify.o CC block/blkreplay.o CC block/block-backend.o CC block/snapshot.o CC block/qapi.o CC block/file-posix.o CC block/null.o CC block/mirror.o CC block/commit.o CC block/io.o CC block/throttle-groups.o CC block/nbd.o CC block/nbd-client.o CC block/sheepdog.o CC block/accounting.o CC block/dirty-bitmap.o CC block/write-threshold.o CC block/backup.o CC block/replication.o CC block/throttle.o CC block/crypto.o CC nbd/server.o CC nbd/client.o CC nbd/common.o CC scsi/utils.o CC scsi/pr-manager.o CC scsi/pr-manager-helper.o CC block/dmg-bz2.o CC crypto/init.o CC crypto/hash.o CC crypto/hash-glib.o CC crypto/hmac.o CC crypto/hmac-glib.o CC crypto/aes.o CC crypto/desrfb.o CC crypto/cipher.o CC crypto/tlscreds.o CC crypto/tlscredsanon.o CC crypto/tlscredsx509.o CC crypto/tlssession.o CC crypto/secret.o CC crypto/random-platform.o CC crypto/pbkdf.o CC crypto/ivgen.o CC crypto/ivgen-essiv.o CC crypto/ivgen-plain.o CC crypto/ivgen-plain64.o CC crypto/afsplit.o CC crypto/xts.o CC crypto/block.o CC crypto/block-qcow.o CC crypto/block-luks.o CC io/channel.o CC io/channel-buffer.o CC io/channel-command.o CC io/channel-file.o CC io/channel-socket.o CC io/channel-tls.o CC io/channel-watch.o CC io/channel-websock.o CC io/channel-util.o CC io/dns-resolver.o CC io/net-listener.o CC io/task.o CC qom/object.o CC qom/container.o CC qom/qom-qobject.o CC qom/object_interfaces.o GEN qemu-img-cmds.h CC qemu-io.o CC scsi/qemu-pr-helper.o CC qemu-bridge-helper.o CC blockdev.o CC blockdev-nbd.o CC bootdevice.o CC iothread.o CC qdev-monitor.o CC device-hotplug.o CC os-posix.o CC bt-host.o CC bt-vhci.o CC dma-helpers.o CC vl.o CC tpm.o CC device_tree.o CC qmp-marshal.o CC qmp.o CC hmp.o CC cpus-common.o CC audio/audio.o CC audio/noaudio.o CC audio/wavaudio.o CC audio/mixeng.o CC audio/sdlaudio.o CC audio/ossaudio.o CC audio/spiceaudio.o CC audio/wavcapture.o CC backends/rng.o CC backends/rng-egd.o CC backends/rng-random.o CC backends/tpm.o CC backends/hostmem.o CC backends/hostmem-ram.o CC backends/hostmem-file.o CC backends/cryptodev.o CC backends/cryptodev-builtin.o CC block/stream.o CC chardev/msmouse.o CC chardev/wctablet.o CC chardev/testdev.o CC chardev/spice.o CC disas/arm.o CC disas/i386.o CC fsdev/qemu-fsdev-dummy.o CC fsdev/qemu-fsdev-opts.o CC fsdev/qemu-fsdev-throttle.o CC hw/acpi/core.o CC hw/acpi/piix4.o CC hw/acpi/ich9.o CC hw/acpi/pcihp.o CC hw/acpi/tco.o CC hw/acpi/cpu_hotplug.o CC hw/acpi/memory_hotplug.o CC hw/acpi/cpu.o CC hw/acpi/nvdimm.o CC hw/acpi/vmgenid.o CC hw/acpi/acpi_interface.o CC hw/acpi/bios-linker-loader.o CC hw/acpi/aml-build.o CC hw/acpi/ipmi.o CC hw/acpi/acpi-stub.o CC hw/acpi/ipmi-stub.o CC hw/audio/sb16.o CC hw/audio/es1370.o CC hw/audio/ac97.o CC hw/audio/fmopl.o CC hw/audio/adlib.o CC hw/audio/gus.o CC hw/audio/gusemu_hal.o CC hw/audio/gusemu_mixer.o CC hw/audio/cs4231a.o CC hw/audio/intel-hda.o CC hw/audio/hda-codec.o CC hw/audio/pcspk.o CC hw/audio/wm8750.o CC hw/audio/pl041.o CC hw/audio/lm4549.o CC hw/audio/marvell_88w8618.o CC hw/audio/soundhw.o CC hw/block/block.o CC hw/block/cdrom.o CC hw/block/hd-geometry.o CC hw/block/fdc.o CC hw/block/m25p80.o CC hw/block/nand.o CC hw/block/pflash_cfi01.o CC hw/block/pflash_cfi02.o CC hw/block/xen_disk.o CC hw/block/ecc.o CC hw/block/onenand.o CC hw/block/nvme.o CC hw/bt/core.o CC hw/bt/l2cap.o CC hw/bt/sdp.o CC hw/bt/hci.o CC hw/bt/hid.o CC hw/bt/hci-csr.o CC hw/char/ipoctal232.o CC hw/char/parallel.o CC hw/char/pl011.o CC hw/char/serial.o CC hw/char/serial-isa.o CC hw/char/serial-pci.o CC hw/char/virtio-console.o CC hw/char/xen_console.o CC hw/char/cadence_uart.o CC hw/char/cmsdk-apb-uart.o CC hw/char/imx_serial.o CC hw/char/debugcon.o CC hw/core/qdev.o CC hw/core/qdev-properties.o CC hw/core/bus.o CC hw/core/reset.o CC hw/core/fw-path-provider.o CC hw/core/irq.o CC hw/core/hotplug.o CC hw/core/nmi.o CC hw/core/stream.o CC hw/core/ptimer.o CC hw/core/sysbus.o CC hw/core/machine.o CC hw/core/loader.o CC hw/core/qdev-properties-system.o CC hw/core/register.o CC hw/core/or-irq.o CC hw/core/platform-bus.o CC hw/cpu/core.o CC hw/display/ads7846.o CC hw/display/cirrus_vga.o CC hw/display/pl110.o CC hw/display/ssd0303.o CC hw/display/ssd0323.o CC hw/display/xenfb.o CC hw/display/vga-pci.o CC hw/display/vga-isa.o CC hw/display/vmware_vga.o CC hw/display/blizzard.o CC hw/display/exynos4210_fimd.o CC hw/display/framebuffer.o CC hw/display/tc6393xb.o CC hw/display/qxl.o CC hw/display/qxl-logger.o CC hw/display/qxl-render.o CC hw/dma/pl080.o CC hw/dma/pl330.o CC hw/dma/i8257.o CC hw/dma/xilinx_axidma.o CC hw/dma/xlnx-zynq-devcfg.o CC hw/gpio/max7310.o CC hw/gpio/pl061.o CC hw/gpio/zaurus.o CC hw/gpio/gpio_key.o CC hw/i2c/core.o CC hw/i2c/smbus.o CC hw/i2c/smbus_eeprom.o CC hw/i2c/i2c-ddc.o CC hw/i2c/versatile_i2c.o CC hw/i2c/smbus_ich9.o CC hw/i2c/pm_smbus.o CC hw/i2c/bitbang_i2c.o CC hw/i2c/exynos4210_i2c.o CC hw/i2c/imx_i2c.o CC hw/i2c/aspeed_i2c.o CC hw/ide/core.o CC hw/ide/atapi.o CC hw/ide/qdev.o CC hw/ide/pci.o CC hw/ide/isa.o CC hw/ide/piix.o CC hw/ide/microdrive.o CC hw/ide/ahci.o CC hw/ide/ich.o CC hw/ide/ahci-allwinner.o CC hw/input/hid.o CC hw/input/lm832x.o CC hw/input/pckbd.o CC hw/input/pl050.o CC hw/input/ps2.o CC hw/input/stellaris_input.o CC hw/input/tsc2005.o CC hw/input/virtio-input.o CC hw/input/virtio-input-hid.o CC hw/input/virtio-input-host.o CC hw/intc/i8259_common.o CC hw/intc/i8259.o CC hw/intc/pl190.o CC hw/intc/imx_avic.o CC hw/intc/realview_gic.o CC hw/intc/ioapic_common.o CC hw/intc/arm_gic_common.o CC hw/intc/arm_gic.o CC hw/intc/arm_gicv2m.o CC hw/intc/arm_gicv3_common.o CC hw/intc/arm_gicv3.o CC hw/intc/arm_gicv3_dist.o CC hw/intc/arm_gicv3_redist.o CC hw/intc/arm_gicv3_its_common.o CC hw/intc/intc.o CC hw/ipack/ipack.o CC hw/ipack/tpci200.o CC hw/ipmi/ipmi.o CC hw/ipmi/ipmi_bmc_sim.o CC hw/ipmi/ipmi_bmc_extern.o CC hw/ipmi/isa_ipmi_kcs.o CC hw/ipmi/isa_ipmi_bt.o CC hw/isa/isa-bus.o CC hw/isa/apm.o CC hw/mem/pc-dimm.o CC hw/mem/nvdimm.o CC hw/misc/applesmc.o CC hw/misc/max111x.o CC hw/misc/tmp105.o CC hw/misc/tmp421.o CC hw/misc/debugexit.o CC hw/misc/sga.o CC hw/misc/pc-testdev.o CC hw/misc/pci-testdev.o CC hw/misc/edu.o CC hw/misc/unimp.o CC hw/misc/vmcoreinfo.o CC hw/misc/arm_l2x0.o CC hw/misc/arm_integrator_debug.o CC hw/misc/a9scu.o CC hw/misc/arm11scu.o CC hw/net/xen_nic.o CC hw/net/ne2000.o CC hw/net/eepro100.o CC hw/net/pcnet-pci.o CC hw/net/pcnet.o CC hw/net/e1000.o CC hw/net/e1000x_common.o CC hw/net/net_tx_pkt.o CC hw/net/net_rx_pkt.o CC hw/net/e1000e.o CC hw/net/e1000e_core.o CC hw/net/rtl8139.o CC hw/net/vmxnet3.o CC hw/net/smc91c111.o CC hw/net/lan9118.o CC hw/net/ne2000-isa.o CC hw/net/xgmac.o CC hw/net/xilinx_axienet.o CC hw/net/allwinner_emac.o CC hw/net/imx_fec.o CC hw/net/cadence_gem.o CC hw/net/stellaris_enet.o CC hw/net/ftgmac100.o CC hw/net/rocker/rocker.o CC hw/net/rocker/rocker_fp.o CC hw/net/rocker/rocker_desc.o CC hw/net/rocker/rocker_world.o CC hw/net/rocker/rocker_of_dpa.o CC hw/nvram/eeprom93xx.o CC hw/nvram/eeprom_at24c.o CC hw/nvram/fw_cfg.o CC hw/nvram/chrp_nvram.o CC hw/pci-bridge/pci_bridge_dev.o CC hw/pci-bridge/pcie_root_port.o CC hw/pci-bridge/gen_pcie_root_port.o CC hw/pci-bridge/pcie_pci_bridge.o CC hw/pci-bridge/pci_expander_bridge.o CC hw/pci-bridge/xio3130_upstream.o CC hw/pci-bridge/xio3130_downstream.o CC hw/pci-bridge/ioh3420.o CC hw/pci-bridge/i82801b11.o CC hw/pci-host/pam.o CC hw/pci-host/versatile.o CC hw/pci-host/piix.o CC hw/pci-host/q35.o CC hw/pci-host/gpex.o CC hw/pci/pci.o CC hw/pci/pci_bridge.o CC hw/pci/msix.o CC hw/pci/msi.o CC hw/pci/shpc.o CC hw/pci/slotid_cap.o CC hw/pci/pci_host.o CC hw/pci/pcie_host.o CC hw/pci/pcie.o CC hw/pci/pcie_aer.o CC hw/pci/pcie_port.o CC hw/pci/pci-stub.o CC hw/pcmcia/pcmcia.o CC hw/scsi/scsi-disk.o CC hw/scsi/scsi-generic.o CC hw/scsi/scsi-bus.o CC hw/scsi/lsi53c895a.o CC hw/scsi/mptsas.o CC hw/scsi/mptconfig.o CC hw/scsi/mptendian.o CC hw/scsi/megasas.o CC hw/scsi/vmw_pvscsi.o CC hw/scsi/esp.o CC hw/sd/pl181.o CC hw/scsi/esp-pci.o CC hw/sd/ssi-sd.o CC hw/sd/sd.o CC hw/sd/core.o CC hw/sd/sdhci.o CC hw/smbios/smbios.o CC hw/smbios/smbios_type_38.o CC hw/smbios/smbios-stub.o CC hw/smbios/smbios_type_38-stub.o CC hw/ssi/pl022.o CC hw/ssi/ssi.o CC hw/ssi/xilinx_spips.o CC hw/ssi/aspeed_smc.o CC hw/ssi/stm32f2xx_spi.o CC hw/ssi/mss-spi.o CC hw/timer/arm_timer.o CC hw/timer/arm_mptimer.o CC hw/timer/armv7m_systick.o CC hw/timer/a9gtimer.o CC hw/timer/cadence_ttc.o CC hw/timer/ds1338.o CC hw/timer/hpet.o CC hw/timer/i8254_common.o CC hw/timer/i8254.o CC hw/timer/pl031.o CC hw/timer/twl92230.o CC hw/timer/imx_epit.o CC hw/timer/imx_gpt.o CC hw/timer/stm32f2xx_timer.o CC hw/timer/aspeed_timer.o CC hw/timer/cmsdk-apb-timer.o CC hw/timer/mss-timer.o CC hw/tpm/tpm_util.o CC hw/tpm/tpm_tis.o CC hw/tpm/tpm_passthrough.o CC hw/tpm/tpm_emulator.o CC hw/usb/core.o CC hw/usb/combined-packet.o CC hw/usb/bus.o CC hw/usb/libhw.o CC hw/usb/desc.o CC hw/usb/desc-msos.o CC hw/usb/hcd-uhci.o CC hw/usb/hcd-ohci.o CC hw/usb/hcd-ehci.o CC hw/usb/hcd-ehci-pci.o CC hw/usb/hcd-ehci-sysbus.o CC hw/usb/hcd-xhci.o CC hw/usb/hcd-xhci-nec.o CC hw/usb/hcd-musb.o CC hw/usb/dev-hub.o CC hw/usb/dev-hid.o CC hw/usb/dev-wacom.o CC hw/usb/dev-storage.o CC hw/usb/dev-uas.o CC hw/usb/dev-audio.o CC hw/usb/dev-serial.o CC hw/usb/dev-network.o CC hw/usb/dev-bluetooth.o CC hw/usb/dev-smartcard-reader.o CC hw/usb/ccid-card-passthru.o CC hw/usb/ccid-card-emulated.o CC hw/usb/dev-mtp.o CC hw/usb/host-stub.o CC hw/virtio/virtio-rng.o CC hw/virtio/virtio-pci.o CC hw/virtio/virtio-bus.o CC hw/virtio/virtio-mmio.o CC hw/virtio/vhost-stub.o CC hw/watchdog/watchdog.o CC hw/watchdog/wdt_i6300esb.o CC hw/watchdog/wdt_ib700.o CC hw/watchdog/wdt_aspeed.o CC hw/xen/xen_backend.o CC hw/xen/xen_devconfig.o CC hw/xen/xen_pvdev.o CC hw/xen/xen-common.o CC migration/migration.o CC migration/socket.o CC migration/fd.o CC migration/exec.o CC migration/tls.o CC migration/channel.o CC migration/savevm.o CC migration/colo-comm.o CC migration/colo.o CC migration/colo-failover.o CC migration/vmstate.o CC migration/vmstate-types.o CC migration/page_cache.o CC migration/qemu-file.o CC migration/qemu-file-channel.o CC migration/global_state.o CC migration/xbzrle.o CC migration/postcopy-ram.o CC migration/qjson.o CC migration/rdma.o CC migration/block.o CC net/net.o CC net/queue.o CC net/checksum.o CC net/util.o CC net/hub.o CC net/socket.o CC net/dump.o CC net/eth.o CC net/l2tpv3.o CC net/vhost-user.o CC net/slirp.o CC net/filter.o CC net/filter-buffer.o CC net/filter-mirror.o CC net/colo-compare.o CC net/colo.o CC net/filter-rewriter.o CC net/filter-replay.o CC net/tap.o CC net/tap-linux.o CC qom/cpu.o CC replay/replay.o CC replay/replay-internal.o CC replay/replay-events.o CC replay/replay-time.o CC replay/replay-input.o CC replay/replay-char.o CC replay/replay-snapshot.o CC replay/replay-net.o /tmp/qemu-test/src/replay/replay-internal.c: In function 'replay_put_array': /tmp/qemu-test/src/replay/replay-internal.c:65: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result CC replay/replay-audio.o CC slirp/cksum.o CC slirp/if.o CC slirp/ip_icmp.o CC slirp/ip6_icmp.o CC slirp/ip6_input.o CC slirp/ip6_output.o CC slirp/ip_input.o CC slirp/ip_output.o CC slirp/dnssearch.o CC slirp/dhcpv6.o CC slirp/slirp.o CC slirp/mbuf.o CC slirp/misc.o CC slirp/sbuf.o CC slirp/socket.o CC slirp/tcp_input.o CC slirp/tcp_output.o CC slirp/tcp_subr.o CC slirp/tcp_timer.o CC slirp/udp.o CC slirp/udp6.o CC slirp/bootp.o CC slirp/tftp.o CC slirp/arp_table.o CC slirp/ndp_table.o CC slirp/ncsi.o CC ui/keymaps.o CC ui/console.o CC ui/cursor.o CC ui/qemu-pixman.o
/tmp/qemu-test/src/slirp/tcp_input.c: In function 'tcp_input':/tmp/qemu-test/src/slirp/tcp_input.c:219: warning: 'save_ip.ip_p' may be used uninitialized in this function /tmp/qemu-test/src/slirp/tcp_input.c:219: warning: 'save_ip.ip_len' may be used uninitialized in this function /tmp/qemu-test/src/slirp/tcp_input.c:219: warning: 'save_ip.ip_tos' may be used uninitialized in this function /tmp/qemu-test/src/slirp/tcp_input.c:219: warning: 'save_ip.ip_id' may be used uninitialized in this function /tmp/qemu-test/src/slirp/tcp_input.c:219: warning: 'save_ip.ip_off' may be used uninitialized in this function /tmp/qemu-test/src/slirp/tcp_input.c:219: warning: 'save_ip.ip_ttl' may be used uninitialized in this function /tmp/qemu-test/src/slirp/tcp_input.c:219: warning: 'save_ip.ip_sum' may be used uninitialized in this function /tmp/qemu-test/src/slirp/tcp_input.c:219: warning: 'save_ip.ip_src.s_addr' may be used uninitialized in this function /tmp/qemu-test/src/slirp/tcp_input.c:219: warning: 'save_ip.ip_dst.s_addr' may be used uninitialized in this function /tmp/qemu-test/src/slirp/tcp_input.c:220: warning: 'save_ip6.ip_nh' may be used uninitialized in this function
CC ui/input.o
CC ui/input-keymap.o
CC ui/input-legacy.o
CC ui/input-linux.o
CC ui/spice-core.o
CC ui/spice-input.o
CC ui/spice-display.o
CC ui/sdl.o
CC ui/sdl_zoom.o
CC ui/x_keymap.o
CC ui/curses.o
CC ui/vnc.o
CC ui/vnc-enc-zlib.o
CC ui/vnc-enc-hextile.o
CC ui/vnc-enc-tight.o
CC ui/vnc-palette.o
CC ui/vnc-enc-zrle.o
CC ui/vnc-auth-vencrypt.o
CC ui/vnc-ws.o
CC ui/vnc-jobs.o
CC ui/gtk.o
VERT ui/shader/texture-blit-vert.h
VERT ui/shader/texture-blit-flip-vert.h
FRAG ui/shader/texture-blit-frag.h
CC ui/console-gl.o
CC ui/egl-helpers.o
CC ui/egl-context.o
CC ui/gtk-egl.o
CC chardev/char.o
CC chardev/char-fd.o
CC chardev/char-fe.o
CC chardev/char-file.o
CC chardev/char-io.o
CC chardev/char-mux.o
CC chardev/char-null.o
CC chardev/char-parallel.o
CC chardev/char-pipe.o
In file included from /usr/include/gtk-2.0/gtk/gtk.h:235,
from /tmp/qemu-test/src/include/ui/gtk.h:10,
from /tmp/qemu-test/src/ui/gtk-egl.c:21:/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47: warning: function declaration isn't a prototype
CC chardev/char-pty.o
CC chardev/char-ringbuf.o
In file included from /usr/include/gtk-2.0/gtk/gtk.h:235,
from /tmp/qemu-test/src/include/ui/gtk.h:10,
from /tmp/qemu-test/src/ui/gtk.c:43:
/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47: warning: function declaration isn't a prototype
CC chardev/char-serial.o
CC chardev/char-socket.o
CC chardev/char-stdio.o
CC chardev/char-udp.o
LINK tests/qemu-iotests/socket_scm_helper
AS optionrom/multiboot.o
AS optionrom/linuxboot.o
CC optionrom/linuxboot_dma.oAS optionrom/kvmvapic.o CC qga/commands.o CC qga/guest-agent-command-state.o BUILD optionrom/multiboot.img BUILD optionrom/linuxboot.img CC qga/commands-posix.o CC qga/main.o BUILD optionrom/linuxboot_dma.img BUILD optionrom/kvmvapic.img BUILD optionrom/multiboot.raw CC qga/channel-posix.o BUILD optionrom/linuxboot.raw BUILD optionrom/linuxboot_dma.raw BUILD optionrom/kvmvapic.raw SIGN optionrom/multiboot.bin SIGN optionrom/linuxboot.bin SIGN optionrom/linuxboot_dma.bin SIGN optionrom/kvmvapic.bin CC qga/qapi-generated/qga-qapi-types.o CC qga/qapi-generated/qga-qapi-visit.o CC qga/qapi-generated/qga-qmp-marshal.o AR libqemuutil.a CC qemu-img.o CC ui/shader.o LINK ivshmem-client LINK ivshmem-server LINK qemu-nbd LINK qemu-io LINK scsi/qemu-pr-helper LINK qemu-bridge-helper LINK qemu-ga GEN x86_64-softmmu/hmp-commands.h GEN x86_64-softmmu/hmp-commands-info.h GEN x86_64-softmmu/config-target.h CC x86_64-softmmu/exec.o CC x86_64-softmmu/tcg/optimize.o CC x86_64-softmmu/tcg/tcg-common.o CC x86_64-softmmu/tcg/tcg.o CC x86_64-softmmu/fpu/softfloat.o CC x86_64-softmmu/tcg/tcg-op.o GEN aarch64-softmmu/hmp-commands.h GEN aarch64-softmmu/hmp-commands-info.h GEN aarch64-softmmu/config-target.h CC aarch64-softmmu/exec.o CC x86_64-softmmu/disas.o GEN x86_64-softmmu/gdbstub-xml.c LINK qemu-img CC x86_64-softmmu/arch_init.o CC x86_64-softmmu/cpus.o CC x86_64-softmmu/monitor.o CC x86_64-softmmu/gdbstub.o CC aarch64-softmmu/tcg/tcg.o CC aarch64-softmmu/tcg/tcg-op.o CC x86_64-softmmu/balloon.o CC x86_64-softmmu/ioport.o CC x86_64-softmmu/numa.o CC x86_64-softmmu/qtest.o CC x86_64-softmmu/memory.o CC aarch64-softmmu/tcg/optimize.o CC x86_64-softmmu/memory_mapping.o CC x86_64-softmmu/dump.o CC x86_64-softmmu/migration/ram.o CC x86_64-softmmu/accel/accel.o CC x86_64-softmmu/accel/kvm/kvm-all.o CC aarch64-softmmu/tcg/tcg-common.o CC x86_64-softmmu/accel/stubs/hax-stub.o CC x86_64-softmmu/accel/tcg/tcg-all.o CC x86_64-softmmu/accel/tcg/cputlb.o CC aarch64-softmmu/fpu/softfloat.o CC aarch64-softmmu/disas.o GEN aarch64-softmmu/gdbstub-xml.c CC aarch64-softmmu/arch_init.o CC x86_64-softmmu/accel/tcg/tcg-runtime.o CC aarch64-softmmu/cpus.o CC aarch64-softmmu/monitor.o CC aarch64-softmmu/gdbstub.o CC aarch64-softmmu/balloon.o CC aarch64-softmmu/ioport.o CC x86_64-softmmu/accel/tcg/cpu-exec.o CC aarch64-softmmu/numa.o CC aarch64-softmmu/qtest.o CC aarch64-softmmu/memory.o CC aarch64-softmmu/memory_mapping.o CC x86_64-softmmu/accel/tcg/cpu-exec-common.o CC aarch64-softmmu/dump.o CC aarch64-softmmu/migration/ram.o CC aarch64-softmmu/accel/accel.o CC aarch64-softmmu/accel/stubs/hax-stub.o CC x86_64-softmmu/accel/tcg/translate-all.o CC aarch64-softmmu/accel/stubs/kvm-stub.o CC aarch64-softmmu/accel/tcg/tcg-all.o CC aarch64-softmmu/accel/tcg/cputlb.o CC aarch64-softmmu/accel/tcg/tcg-runtime.o CC aarch64-softmmu/accel/tcg/cpu-exec.o CC aarch64-softmmu/accel/tcg/cpu-exec-common.o CC x86_64-softmmu/accel/tcg/translator.o CC aarch64-softmmu/accel/tcg/translate-all.o CC aarch64-softmmu/accel/tcg/translator.o CC aarch64-softmmu/hw/adc/stm32f2xx_adc.o CC x86_64-softmmu/hw/block/virtio-blk.o CC x86_64-softmmu/hw/block/dataplane/virtio-blk.o CC aarch64-softmmu/hw/block/virtio-blk.o CC x86_64-softmmu/hw/char/virtio-serial-bus.o CC aarch64-softmmu/hw/block/dataplane/virtio-blk.o CC x86_64-softmmu/hw/core/generic-loader.o CC x86_64-softmmu/hw/core/null-machine.o CC aarch64-softmmu/hw/char/exynos4210_uart.o CC x86_64-softmmu/hw/display/vga.o CC x86_64-softmmu/hw/display/virtio-gpu.o CC x86_64-softmmu/hw/display/virtio-gpu-3d.o CC aarch64-softmmu/hw/char/omap_uart.o CC x86_64-softmmu/hw/display/virtio-gpu-pci.o CC aarch64-softmmu/hw/char/digic-uart.o CC x86_64-softmmu/hw/display/virtio-vga.o CC x86_64-softmmu/hw/intc/apic.o CC x86_64-softmmu/hw/intc/apic_common.o CC aarch64-softmmu/hw/char/stm32f2xx_usart.o CC x86_64-softmmu/hw/intc/ioapic.o CC aarch64-softmmu/hw/char/bcm2835_aux.o CC x86_64-softmmu/hw/isa/lpc_ich9.o CC x86_64-softmmu/hw/misc/ivshmem.o CC x86_64-softmmu/hw/misc/pvpanic.o CC x86_64-softmmu/hw/misc/hyperv_testdev.o CC aarch64-softmmu/hw/char/virtio-serial-bus.o CC x86_64-softmmu/hw/misc/mmio_interface.o CC x86_64-softmmu/hw/net/virtio-net.o CC x86_64-softmmu/hw/net/vhost_net.o CC x86_64-softmmu/hw/scsi/virtio-scsi.o CC x86_64-softmmu/hw/scsi/virtio-scsi-dataplane.o CC x86_64-softmmu/hw/scsi/vhost-scsi-common.o CC x86_64-softmmu/hw/scsi/vhost-scsi.o CC x86_64-softmmu/hw/scsi/vhost-user-scsi.o CC x86_64-softmmu/hw/timer/mc146818rtc.o CC x86_64-softmmu/hw/vfio/common.o CC x86_64-softmmu/hw/vfio/pci.o CC aarch64-softmmu/hw/core/generic-loader.o CC x86_64-softmmu/hw/vfio/pci-quirks.o CC x86_64-softmmu/hw/vfio/platform.o CC x86_64-softmmu/hw/vfio/spapr.o CC x86_64-softmmu/hw/virtio/virtio.o CC aarch64-softmmu/hw/core/null-machine.o CC x86_64-softmmu/hw/virtio/virtio-balloon.o CC x86_64-softmmu/hw/virtio/vhost.o CC x86_64-softmmu/hw/virtio/vhost-backend.o CC aarch64-softmmu/hw/cpu/arm11mpcore.o CC aarch64-softmmu/hw/cpu/realview_mpcore.o CC x86_64-softmmu/hw/virtio/vhost-user.o CC x86_64-softmmu/hw/virtio/vhost-vsock.o CC aarch64-softmmu/hw/cpu/a9mpcore.o CC aarch64-softmmu/hw/cpu/a15mpcore.o CC x86_64-softmmu/hw/virtio/virtio-crypto.o CC x86_64-softmmu/hw/virtio/virtio-crypto-pci.o CC x86_64-softmmu/hw/xen/xen-host-pci-device.o CC x86_64-softmmu/hw/xen/xen_pt.o CC aarch64-softmmu/hw/display/omap_dss.o CC aarch64-softmmu/hw/display/omap_lcdc.o CC x86_64-softmmu/hw/xen/xen_pt_config_init.o CC x86_64-softmmu/hw/xen/xen_pt_graphics.o CC x86_64-softmmu/hw/xen/xen_pt_msi.o CC x86_64-softmmu/hw/xen/xen_pt_load_rom.o CC x86_64-softmmu/hw/i386/multiboot.o CC x86_64-softmmu/hw/i386/pc.o CC aarch64-softmmu/hw/display/pxa2xx_lcd.o CC x86_64-softmmu/hw/i386/pc_piix.o CC x86_64-softmmu/hw/i386/pc_q35.o CC x86_64-softmmu/hw/i386/pc_sysfw.o CC x86_64-softmmu/hw/i386/x86-iommu.o CC x86_64-softmmu/hw/i386/intel_iommu.o CC x86_64-softmmu/hw/i386/amd_iommu.o CC x86_64-softmmu/hw/i386/vmport.o CC x86_64-softmmu/hw/i386/vmmouse.o /tmp/qemu-test/src/hw/i386/pc_piix.c: In function 'igd_passthrough_isa_bridge_create': /tmp/qemu-test/src/hw/i386/pc_piix.c:1073: warning: 'pch_rev_id' may be used uninitialized in this function CC x86_64-softmmu/hw/i386/kvmvapic.o CC x86_64-softmmu/hw/i386/acpi-build.o CC x86_64-softmmu/hw/i386/../xenpv/xen_machine_pv.o CC x86_64-softmmu/hw/i386/kvm/clock.o CC x86_64-softmmu/hw/i386/kvm/apic.o CC x86_64-softmmu/hw/i386/kvm/i8259.o CC aarch64-softmmu/hw/display/bcm2835_fb.o CC x86_64-softmmu/hw/i386/kvm/ioapic.o CC x86_64-softmmu/hw/i386/kvm/i8254.o CC x86_64-softmmu/hw/i386/xen/xen_platform.o CC x86_64-softmmu/hw/i386/xen/xen_apic.o /tmp/qemu-test/src/hw/i386/acpi-build.c: In function 'build_append_pci_bus_devices': /tmp/qemu-test/src/hw/i386/acpi-build.c:509: warning: 'notify_method' may be used uninitialized in this function CC x86_64-softmmu/hw/i386/xen/xen_pvdevice.o CC x86_64-softmmu/hw/i386/xen/xen-hvm.o CC aarch64-softmmu/hw/display/vga.o CC x86_64-softmmu/hw/i386/xen/xen-mapcache.o CC x86_64-softmmu/target/i386/helper.o CC x86_64-softmmu/target/i386/cpu.o CC x86_64-softmmu/target/i386/gdbstub.o CC x86_64-softmmu/target/i386/xsave_helper.o CC x86_64-softmmu/target/i386/translate.o CC x86_64-softmmu/target/i386/bpt_helper.o CC x86_64-softmmu/target/i386/cc_helper.o CC x86_64-softmmu/target/i386/excp_helper.o CC aarch64-softmmu/hw/display/virtio-gpu.o CC x86_64-softmmu/target/i386/fpu_helper.o CC aarch64-softmmu/hw/display/virtio-gpu-3d.o CC aarch64-softmmu/hw/display/virtio-gpu-pci.o CC x86_64-softmmu/target/i386/int_helper.o CC aarch64-softmmu/hw/display/dpcd.o CC aarch64-softmmu/hw/display/xlnx_dp.o CC aarch64-softmmu/hw/dma/xlnx_dpdma.o CC aarch64-softmmu/hw/dma/omap_dma.o CC aarch64-softmmu/hw/dma/soc_dma.o CC x86_64-softmmu/target/i386/mem_helper.o CC x86_64-softmmu/target/i386/misc_helper.o CC aarch64-softmmu/hw/dma/pxa2xx_dma.o CC aarch64-softmmu/hw/dma/bcm2835_dma.o CC aarch64-softmmu/hw/gpio/omap_gpio.o CC x86_64-softmmu/target/i386/mpx_helper.o CC x86_64-softmmu/target/i386/seg_helper.o CC aarch64-softmmu/hw/gpio/imx_gpio.o CC aarch64-softmmu/hw/gpio/bcm2835_gpio.o CC aarch64-softmmu/hw/i2c/omap_i2c.o CC aarch64-softmmu/hw/input/pxa2xx_keypad.o CC aarch64-softmmu/hw/input/tsc210x.o CC aarch64-softmmu/hw/intc/armv7m_nvic.o CC x86_64-softmmu/target/i386/smm_helper.o CC aarch64-softmmu/hw/intc/exynos4210_gic.o CC aarch64-softmmu/hw/intc/exynos4210_combiner.o CC x86_64-softmmu/target/i386/svm_helper.o CC aarch64-softmmu/hw/intc/omap_intc.o CC aarch64-softmmu/hw/intc/bcm2835_ic.o CC x86_64-softmmu/target/i386/machine.o CC aarch64-softmmu/hw/intc/bcm2836_control.o CC x86_64-softmmu/target/i386/arch_memory_mapping.o CC aarch64-softmmu/hw/intc/allwinner-a10-pic.o CC aarch64-softmmu/hw/intc/aspeed_vic.o CC x86_64-softmmu/target/i386/arch_dump.o CC x86_64-softmmu/target/i386/monitor.o CC aarch64-softmmu/hw/intc/arm_gicv3_cpuif.o CC x86_64-softmmu/target/i386/kvm.o CC x86_64-softmmu/target/i386/hyperv.o CC aarch64-softmmu/hw/misc/ivshmem.o CC aarch64-softmmu/hw/misc/arm_sysctl.o CC aarch64-softmmu/hw/misc/cbus.o CC aarch64-softmmu/hw/misc/exynos4210_pmu.o CC aarch64-softmmu/hw/misc/exynos4210_clk.o CC aarch64-softmmu/hw/misc/exynos4210_rng.o CC aarch64-softmmu/hw/misc/imx_ccm.o CC aarch64-softmmu/hw/misc/imx31_ccm.o CC aarch64-softmmu/hw/misc/imx25_ccm.o CC aarch64-softmmu/hw/misc/imx6_ccm.o CC aarch64-softmmu/hw/misc/imx6_src.o CC aarch64-softmmu/hw/misc/mst_fpga.o GEN trace/generated-helpers.c CC x86_64-softmmu/trace/control-target.o CC aarch64-softmmu/hw/misc/omap_clk.o CC aarch64-softmmu/hw/misc/omap_gpmc.o CC x86_64-softmmu/gdbstub-xml.o CC aarch64-softmmu/hw/misc/omap_l4.o CC aarch64-softmmu/hw/misc/omap_sdrc.o CC x86_64-softmmu/trace/generated-helpers.o CC aarch64-softmmu/hw/misc/omap_tap.o CC aarch64-softmmu/hw/misc/bcm2835_mbox.o CC aarch64-softmmu/hw/misc/bcm2835_property.o CC aarch64-softmmu/hw/misc/bcm2835_rng.o CC aarch64-softmmu/hw/misc/zynq_slcr.o CC aarch64-softmmu/hw/misc/zynq-xadc.o CC aarch64-softmmu/hw/misc/stm32f2xx_syscfg.o CC aarch64-softmmu/hw/misc/mps2-scc.o CC aarch64-softmmu/hw/misc/auxbus.o CC aarch64-softmmu/hw/misc/aspeed_scu.o CC aarch64-softmmu/hw/misc/aspeed_sdmc.o CC aarch64-softmmu/hw/misc/mmio_interface.o CC aarch64-softmmu/hw/misc/msf2-sysreg.o CC aarch64-softmmu/hw/net/virtio-net.o CC aarch64-softmmu/hw/net/vhost_net.o CC aarch64-softmmu/hw/pcmcia/pxa2xx.o CC aarch64-softmmu/hw/scsi/virtio-scsi.o CC aarch64-softmmu/hw/scsi/virtio-scsi-dataplane.o LINK x86_64-softmmu/qemu-system-x86_64 CC aarch64-softmmu/hw/scsi/vhost-scsi-common.o CC aarch64-softmmu/hw/scsi/vhost-scsi.o CC aarch64-softmmu/hw/scsi/vhost-user-scsi.o CC aarch64-softmmu/hw/sd/omap_mmc.o CC aarch64-softmmu/hw/sd/pxa2xx_mmci.o CC aarch64-softmmu/hw/sd/bcm2835_sdhost.o CC aarch64-softmmu/hw/ssi/omap_spi.o CC aarch64-softmmu/hw/ssi/imx_spi.o CC aarch64-softmmu/hw/timer/exynos4210_mct.o CC aarch64-softmmu/hw/timer/exynos4210_pwm.o CC aarch64-softmmu/hw/timer/exynos4210_rtc.o CC aarch64-softmmu/hw/timer/omap_gptimer.o CC aarch64-softmmu/hw/timer/omap_synctimer.o CC aarch64-softmmu/hw/timer/pxa2xx_timer.o CC aarch64-softmmu/hw/timer/digic-timer.o CC aarch64-softmmu/hw/timer/allwinner-a10-pit.o CC aarch64-softmmu/hw/usb/tusb6010.o CC aarch64-softmmu/hw/vfio/common.o CC aarch64-softmmu/hw/vfio/pci.o CC aarch64-softmmu/hw/vfio/pci-quirks.o CC aarch64-softmmu/hw/vfio/platform.o CC aarch64-softmmu/hw/vfio/calxeda-xgmac.o CC aarch64-softmmu/hw/vfio/amd-xgbe.o CC aarch64-softmmu/hw/vfio/spapr.o CC aarch64-softmmu/hw/virtio/virtio.o CC aarch64-softmmu/hw/virtio/virtio-balloon.o CC aarch64-softmmu/hw/virtio/vhost.o CC aarch64-softmmu/hw/virtio/vhost-backend.o CC aarch64-softmmu/hw/virtio/vhost-user.o CC aarch64-softmmu/hw/virtio/vhost-vsock.o CC aarch64-softmmu/hw/virtio/virtio-crypto.o CC aarch64-softmmu/hw/virtio/virtio-crypto-pci.o CC aarch64-softmmu/hw/arm/boot.o CC aarch64-softmmu/hw/arm/collie.o CC aarch64-softmmu/hw/arm/exynos4_boards.o CC aarch64-softmmu/hw/arm/gumstix.o CC aarch64-softmmu/hw/arm/highbank.o CC aarch64-softmmu/hw/arm/digic_boards.o CC aarch64-softmmu/hw/arm/integratorcp.o CC aarch64-softmmu/hw/arm/mainstone.o CC aarch64-softmmu/hw/arm/musicpal.o CC aarch64-softmmu/hw/arm/nseries.o CC aarch64-softmmu/hw/arm/omap_sx1.o CC aarch64-softmmu/hw/arm/palm.o CC aarch64-softmmu/hw/arm/realview.o CC aarch64-softmmu/hw/arm/spitz.o CC aarch64-softmmu/hw/arm/stellaris.o CC aarch64-softmmu/hw/arm/tosa.o CC aarch64-softmmu/hw/arm/versatilepb.o CC aarch64-softmmu/hw/arm/vexpress.o CC aarch64-softmmu/hw/arm/virt.o CC aarch64-softmmu/hw/arm/xilinx_zynq.o CC aarch64-softmmu/hw/arm/z2.o CC aarch64-softmmu/hw/arm/virt-acpi-build.o CC aarch64-softmmu/hw/arm/netduino2.o CC aarch64-softmmu/hw/arm/sysbus-fdt.o CC aarch64-softmmu/hw/arm/armv7m.o CC aarch64-softmmu/hw/arm/exynos4210.o CC aarch64-softmmu/hw/arm/pxa2xx.o CC aarch64-softmmu/hw/arm/pxa2xx_gpio.o CC aarch64-softmmu/hw/arm/pxa2xx_pic.o CC aarch64-softmmu/hw/arm/digic.o CC aarch64-softmmu/hw/arm/omap1.o CC aarch64-softmmu/hw/arm/omap2.o CC aarch64-softmmu/hw/arm/strongarm.o CC aarch64-softmmu/hw/arm/allwinner-a10.o CC aarch64-softmmu/hw/arm/cubieboard.o CC aarch64-softmmu/hw/arm/bcm2835_peripherals.o CC aarch64-softmmu/hw/arm/bcm2836.o CC aarch64-softmmu/hw/arm/raspi.o CC aarch64-softmmu/hw/arm/stm32f205_soc.o CC aarch64-softmmu/hw/arm/xlnx-zynqmp.o CC aarch64-softmmu/hw/arm/xlnx-zcu102.o CC aarch64-softmmu/hw/arm/fsl-imx25.o CC aarch64-softmmu/hw/arm/imx25_pdk.o CC aarch64-softmmu/hw/arm/fsl-imx31.o CC aarch64-softmmu/hw/arm/kzm.o CC aarch64-softmmu/hw/arm/fsl-imx6.o CC aarch64-softmmu/hw/arm/sabrelite.o CC aarch64-softmmu/hw/arm/aspeed_soc.o CC aarch64-softmmu/hw/arm/aspeed.o CC aarch64-softmmu/hw/arm/mps2.o CC aarch64-softmmu/hw/arm/msf2-soc.o CC aarch64-softmmu/hw/arm/msf2-som.o CC aarch64-softmmu/target/arm/arm-semi.o CC aarch64-softmmu/target/arm/machine.o CC aarch64-softmmu/target/arm/psci.o CC aarch64-softmmu/target/arm/arch_dump.o CC aarch64-softmmu/target/arm/monitor.o CC aarch64-softmmu/target/arm/kvm-stub.o CC aarch64-softmmu/target/arm/translate.o CC aarch64-softmmu/target/arm/op_helper.o CC aarch64-softmmu/target/arm/helper.o CC aarch64-softmmu/target/arm/cpu.o CC aarch64-softmmu/target/arm/neon_helper.o CC aarch64-softmmu/target/arm/iwmmxt_helper.o CC aarch64-softmmu/target/arm/gdbstub.o CC aarch64-softmmu/target/arm/cpu64.o CC aarch64-softmmu/target/arm/translate-a64.o CC aarch64-softmmu/target/arm/helper-a64.o CC aarch64-softmmu/target/arm/gdbstub64.o CC aarch64-softmmu/target/arm/crypto_helper.o CC aarch64-softmmu/target/arm/arm-powerctl.o GEN trace/generated-helpers.c CC aarch64-softmmu/trace/control-target.o CC aarch64-softmmu/gdbstub-xml.o CC aarch64-softmmu/trace/generated-helpers.o
/tmp/qemu-test/src/target/arm/translate-a64.c: In function 'handle_shri_with_rndacc':/tmp/qemu-test/src/target/arm/translate-a64.c:6392: warning: 'tcg_src_hi' may be used uninitialized in this function /tmp/qemu-test/src/target/arm/translate-a64.c: In function 'disas_simd_scalar_two_reg_misc':/tmp/qemu-test/src/target/arm/translate-a64.c:8119: warning: 'rmode' may be used uninitialized in this function
LINK aarch64-softmmu/qemu-system-aarch64
mkdir -p dtc/libfdt
mkdir -p dtc/tests
TEST tests/qapi-schema/alternate-any.out TEST tests/qapi-schema/alternate-array.out TEST tests/qapi-schema/alternate-conflict-dict.out TEST tests/qapi-schema/alternate-clash.out TEST tests/qapi-schema/alternate-base.out TEST tests/qapi-schema/alternate-conflict-enum-bool.out TEST tests/qapi-schema/alternate-conflict-enum-int.out TEST tests/qapi-schema/alternate-conflict-string.out TEST tests/qapi-schema/alternate-conflict-bool-string.out TEST tests/qapi-schema/alternate-conflict-num-string.out TEST tests/qapi-schema/alternate-empty.out TEST tests/qapi-schema/alternate-nested.out TEST tests/qapi-schema/args-alternate.out TEST tests/qapi-schema/alternate-unknown.out TEST tests/qapi-schema/args-any.out TEST tests/qapi-schema/args-array-empty.out TEST tests/qapi-schema/args-array-unknown.out TEST tests/qapi-schema/args-bad-boxed.out TEST tests/qapi-schema/args-boxed-anon.out TEST tests/qapi-schema/args-boxed-empty.out TEST tests/qapi-schema/args-boxed-string.out TEST tests/qapi-schema/args-invalid.out TEST tests/qapi-schema/args-int.out TEST tests/qapi-schema/args-member-array-bad.out TEST tests/qapi-schema/args-member-unknown.out TEST tests/qapi-schema/args-member-case.out TEST tests/qapi-schema/args-name-clash.out TEST tests/qapi-schema/args-union.out TEST tests/qapi-schema/args-unknown.out TEST tests/qapi-schema/bad-base.out TEST tests/qapi-schema/bad-data.out TEST tests/qapi-schema/bad-ident.out TEST tests/qapi-schema/bad-type-bool.out TEST tests/qapi-schema/bad-type-dict.out TEST tests/qapi-schema/bad-type-int.out TEST tests/qapi-schema/base-cycle-direct.out TEST tests/qapi-schema/base-cycle-indirect.out TEST tests/qapi-schema/command-int.out TEST tests/qapi-schema/comments.out TEST tests/qapi-schema/doc-bad-alternate-member.out TEST tests/qapi-schema/doc-bad-command-arg.out TEST tests/qapi-schema/doc-bad-symbol.out TEST tests/qapi-schema/doc-bad-union-member.out TEST tests/qapi-schema/doc-before-include.out TEST tests/qapi-schema/doc-before-pragma.out TEST tests/qapi-schema/doc-duplicated-arg.out TEST tests/qapi-schema/doc-duplicated-return.out TEST tests/qapi-schema/doc-duplicated-since.out TEST tests/qapi-schema/doc-empty-arg.out TEST tests/qapi-schema/doc-empty-section.out TEST tests/qapi-schema/doc-empty-symbol.out TEST tests/qapi-schema/doc-good.out TEST tests/qapi-schema/doc-interleaved-section.out TEST tests/qapi-schema/doc-invalid-end.out TEST tests/qapi-schema/doc-invalid-end2.out TEST tests/qapi-schema/doc-invalid-return.out TEST tests/qapi-schema/doc-invalid-section.out TEST tests/qapi-schema/doc-invalid-start.out TEST tests/qapi-schema/doc-missing.out TEST tests/qapi-schema/doc-missing-colon.out TEST tests/qapi-schema/doc-missing-expr.out TEST tests/qapi-schema/doc-missing-space.out TEST tests/qapi-schema/doc-no-symbol.out TEST tests/qapi-schema/double-data.out TEST tests/qapi-schema/double-type.out TEST tests/qapi-schema/duplicate-key.out TEST tests/qapi-schema/empty.out TEST tests/qapi-schema/enum-bad-name.out TEST tests/qapi-schema/enum-bad-prefix.out TEST tests/qapi-schema/enum-clash-member.out TEST tests/qapi-schema/enum-dict-member.out TEST tests/qapi-schema/enum-int-member.out TEST tests/qapi-schema/enum-member-case.out TEST tests/qapi-schema/enum-missing-data.out TEST tests/qapi-schema/enum-wrong-data.out TEST tests/qapi-schema/escape-outside-string.out TEST tests/qapi-schema/escape-too-big.out TEST tests/qapi-schema/escape-too-short.out TEST tests/qapi-schema/event-boxed-empty.out TEST tests/qapi-schema/event-case.out TEST tests/qapi-schema/event-nest-struct.out TEST tests/qapi-schema/flat-union-array-branch.out TEST tests/qapi-schema/flat-union-bad-base.out TEST tests/qapi-schema/flat-union-bad-discriminator.out TEST tests/qapi-schema/flat-union-base-any.out TEST tests/qapi-schema/flat-union-base-union.out TEST tests/qapi-schema/flat-union-clash-member.out TEST tests/qapi-schema/flat-union-empty.out TEST tests/qapi-schema/flat-union-incomplete-branch.out TEST tests/qapi-schema/flat-union-inline.out TEST tests/qapi-schema/flat-union-invalid-branch-key.out TEST tests/qapi-schema/flat-union-invalid-discriminator.out TEST tests/qapi-schema/flat-union-int-branch.out TEST tests/qapi-schema/flat-union-no-base.out TEST tests/qapi-schema/flat-union-optional-discriminator.out TEST tests/qapi-schema/flat-union-string-discriminator.out TEST tests/qapi-schema/funny-char.out TEST tests/qapi-schema/ident-with-escape.out TEST tests/qapi-schema/include-before-err.out TEST tests/qapi-schema/include-cycle.out TEST tests/qapi-schema/include-extra-junk.out TEST tests/qapi-schema/include-format-err.out TEST tests/qapi-schema/include-nested-err.out TEST tests/qapi-schema/include-no-file.out TEST tests/qapi-schema/include-non-file.out TEST tests/qapi-schema/include-relpath.out TEST tests/qapi-schema/include-repetition.out TEST tests/qapi-schema/include-self-cycle.out TEST tests/qapi-schema/include-simple.out TEST tests/qapi-schema/indented-expr.out TEST tests/qapi-schema/leading-comma-list.out TEST tests/qapi-schema/leading-comma-object.out TEST tests/qapi-schema/missing-colon.out TEST tests/qapi-schema/missing-comma-list.out TEST tests/qapi-schema/missing-comma-object.out TEST tests/qapi-schema/missing-type.out TEST tests/qapi-schema/nested-struct-data.out TEST tests/qapi-schema/non-objects.out TEST tests/qapi-schema/pragma-doc-required-crap.out TEST tests/qapi-schema/pragma-extra-junk.out TEST tests/qapi-schema/pragma-name-case-whitelist-crap.out TEST tests/qapi-schema/pragma-non-dict.out TEST tests/qapi-schema/pragma-returns-whitelist-crap.out TEST tests/qapi-schema/qapi-schema-test.out TEST tests/qapi-schema/quoted-structural-chars.out TEST tests/qapi-schema/redefined-builtin.out TEST tests/qapi-schema/redefined-command.out TEST tests/qapi-schema/redefined-event.out TEST tests/qapi-schema/redefined-type.out TEST tests/qapi-schema/reserved-command-q.out TEST tests/qapi-schema/reserved-enum-q.out TEST tests/qapi-schema/reserved-member-has.out TEST tests/qapi-schema/reserved-member-q.out TEST tests/qapi-schema/reserved-member-u.out TEST tests/qapi-schema/reserved-member-underscore.out TEST tests/qapi-schema/reserved-type-kind.out TEST tests/qapi-schema/reserved-type-list.out TEST tests/qapi-schema/returns-alternate.out TEST tests/qapi-schema/returns-array-bad.out TEST tests/qapi-schema/returns-dict.out TEST tests/qapi-schema/returns-unknown.out TEST tests/qapi-schema/returns-whitelist.out TEST tests/qapi-schema/struct-base-clash-deep.out TEST tests/qapi-schema/struct-base-clash.out TEST tests/qapi-schema/struct-data-invalid.out TEST tests/qapi-schema/struct-member-invalid.out TEST tests/qapi-schema/trailing-comma-list.out TEST tests/qapi-schema/trailing-comma-object.out TEST tests/qapi-schema/type-bypass-bad-gen.out TEST tests/qapi-schema/unclosed-list.out TEST tests/qapi-schema/unclosed-object.out TEST tests/qapi-schema/unclosed-string.out TEST tests/qapi-schema/unicode-str.out TEST tests/qapi-schema/union-base-empty.out TEST tests/qapi-schema/union-base-no-discriminator.out TEST tests/qapi-schema/union-branch-case.out TEST tests/qapi-schema/union-clash-branches.out TEST tests/qapi-schema/union-empty.out TEST tests/qapi-schema/union-invalid-base.out TEST tests/qapi-schema/union-optional-branch.out TEST tests/qapi-schema/union-unknown.out TEST tests/qapi-schema/unknown-escape.out TEST tests/qapi-schema/unknown-expr-key.out GEN tests/qapi-schema/doc-good.test.texi CC tests/check-qdict.o CC tests/test-char.o CC tests/check-qnum.o CC tests/check-qstring.o CC tests/check-qlist.o CC tests/check-qnull.o CC tests/check-qobject.o CC tests/check-qjson.o CC tests/check-qlit.o CC tests/test-qobject-output-visitor.o GEN tests/test-qapi-visit.c GEN tests/test-qapi-types.c GEN tests/test-qapi-event.c GEN tests/test-qmp-introspect.c CC tests/test-clone-visitor.o CC tests/test-qobject-input-visitor.o CC tests/test-qmp-commands.o GEN tests/test-qmp-marshal.c CC tests/test-string-input-visitor.o CC tests/test-string-output-visitor.o CC tests/test-qmp-event.o CC tests/test-opts-visitor.o CC tests/test-coroutine.o CC tests/iothread.o CC tests/test-visitor-serialization.o CC tests/test-iov.o CC tests/test-aio.o CC tests/test-aio-multithread.o CC tests/test-throttle.o CC tests/test-thread-pool.o CC tests/test-hbitmap.o CC tests/test-blockjob.o CC tests/test-blockjob-txn.o CC tests/test-x86-cpuid.o CC tests/test-xbzrle.o CC tests/test-vmstate.o CC tests/test-cutils.o CC tests/test-shift128.o CC tests/test-mul64.o CC tests/test-int128.o CC tests/rcutorture.o CC tests/test-rcu-list.o CC tests/test-qdist.o CC tests/test-qht.o CC tests/test-qht-par.o CC tests/qht-bench.o CC tests/test-bitops.o /tmp/qemu-test/src/tests/test-int128.c:180: warning: '__noclone__' attribute directive ignored CC tests/test-bitcnt.o CC tests/check-qom-interface.o CC tests/check-qom-proplist.o CC tests/test-qemu-opts.o CC tests/test-keyval.o CC tests/test-write-threshold.o CC tests/test-crypto-hash.o CC tests/test-crypto-hmac.o CC tests/test-crypto-cipher.o CC tests/test-crypto-secret.o CC tests/test-qga.o CC tests/libqtest.o CC tests/test-timed-average.o CC tests/test-io-task.o CC tests/test-io-channel-socket.o CC tests/io-channel-helpers.o CC tests/test-io-channel-file.o CC tests/test-io-channel-command.o CC tests/test-io-channel-buffer.o CC tests/test-base64.o CC tests/test-crypto-ivgen.o CC tests/test-crypto-afsplit.o CC tests/test-crypto-xts.o CC tests/test-crypto-block.o CC tests/test-logging.o CC tests/test-replication.o CC tests/test-bufferiszero.o CC tests/test-uuid.o CC tests/ptimer-test.o CC tests/ptimer-test-stubs.o CC tests/test-qapi-util.o CC tests/vhost-user-test.o CC tests/libqos/pci.o CC tests/libqos/fw_cfg.o CC tests/libqos/malloc.o CC tests/libqos/i2c.o CC tests/libqos/libqos.o CC tests/libqos/malloc-spapr.o CC tests/libqos/libqos-spapr.o CC tests/libqos/rtas.o CC tests/libqos/pci-spapr.o CC tests/libqos/pci-pc.o CC tests/libqos/malloc-pc.o CC tests/libqos/libqos-pc.o CC tests/libqos/ahci.o CC tests/libqos/virtio.o CC tests/libqos/virtio-pci.o CC tests/libqos/virtio-mmio.o CC tests/libqos/malloc-generic.o CC tests/endianness-test.o CC tests/fdc-test.o CC tests/ide-test.o CC tests/ahci-test.o CC tests/hd-geo-test.o CC tests/boot-order-test.o CC tests/bios-tables-test.o CC tests/boot-sector.o CC tests/acpi-utils.o CC tests/boot-serial-test.o CC tests/pxe-test.o CC tests/rtc-test.o CC tests/ipmi-kcs-test.o CC tests/ipmi-bt-test.o CC tests/i440fx-test.o CC tests/fw_cfg-test.o CC tests/drive_del-test.o CC tests/wdt_ib700-test.o CC tests/tco-test.o CC tests/e1000-test.o CC tests/e1000e-test.o CC tests/rtl8139-test.o CC tests/pcnet-test.o CC tests/eepro100-test.o CC tests/ne2000-test.o CC tests/nvme-test.o CC tests/ac97-test.o CC tests/es1370-test.o CC tests/virtio-net-test.o CC tests/virtio-balloon-test.o CC tests/virtio-blk-test.o CC tests/virtio-rng-test.o CC tests/virtio-scsi-test.o CC tests/virtio-serial-test.o CC tests/virtio-console-test.o CC tests/tpci200-test.o CC tests/ipoctal232-test.o CC tests/display-vga-test.o CC tests/intel-hda-test.o CC tests/ivshmem-test.o CC tests/megasas-test.o CC tests/vmxnet3-test.o CC tests/pvpanic-test.o CC tests/i82801b11-test.o CC tests/usb-hcd-ohci-test.o CC tests/ioh3420-test.o CC tests/libqos/usb.o CC tests/usb-hcd-uhci-test.o CC tests/usb-hcd-ehci-test.o CC tests/usb-hcd-xhci-test.o CC tests/pc-cpu-test.o CC tests/q35-test.o CC tests/vmgenid-test.o CC tests/test-netfilter.o CC tests/test-filter-mirror.o CC tests/test-filter-redirector.o CC tests/migration-test.o CC tests/test-x86-cpuid-compat.o CC tests/numa-test.o CC tests/qmp-test.o CC tests/device-introspect-test.o CC tests/qom-test.o CC tests/test-hmp.o LINK tests/check-qdict LINK tests/test-char LINK tests/check-qnum LINK tests/check-qstring LINK tests/check-qlist LINK tests/check-qnull LINK tests/check-qobject LINK tests/check-qjson LINK tests/check-qlit CC tests/test-qapi-visit.o CC tests/test-qapi-types.o CC tests/test-qmp-introspect.o CC tests/test-qapi-event.o CC tests/test-qmp-marshal.o LINK tests/test-coroutine LINK tests/test-iov LINK tests/test-aio LINK tests/test-aio-multithread LINK tests/test-throttle LINK tests/test-thread-pool LINK tests/test-hbitmap LINK tests/test-blockjob LINK tests/test-blockjob-txn LINK tests/test-x86-cpuid LINK tests/test-xbzrle LINK tests/test-vmstate LINK tests/test-cutils LINK tests/test-shift128 LINK tests/test-mul64 LINK tests/test-int128 LINK tests/rcutorture LINK tests/test-rcu-list LINK tests/test-qdist LINK tests/test-qht LINK tests/qht-bench LINK tests/test-bitops LINK tests/test-bitcnt LINK tests/check-qom-interface LINK tests/check-qom-proplist LINK tests/test-qemu-opts LINK tests/test-keyval LINK tests/test-write-threshold LINK tests/test-crypto-hash LINK tests/test-crypto-hmac LINK tests/test-crypto-cipher LINK tests/test-crypto-secret LINK tests/test-qga LINK tests/test-timed-average LINK tests/test-io-task LINK tests/test-io-channel-socket LINK tests/test-io-channel-file LINK tests/test-io-channel-command LINK tests/test-io-channel-buffer LINK tests/test-base64 LINK tests/test-crypto-ivgen LINK tests/test-crypto-afsplit LINK tests/test-crypto-xts LINK tests/test-crypto-block LINK tests/test-logging LINK tests/test-replication LINK tests/test-bufferiszero LINK tests/test-uuid LINK tests/ptimer-test LINK tests/test-qapi-util LINK tests/vhost-user-test LINK tests/endianness-test LINK tests/fdc-test LINK tests/ide-test LINK tests/ahci-test LINK tests/hd-geo-test LINK tests/boot-order-test LINK tests/bios-tables-test LINK tests/boot-serial-test LINK tests/pxe-test LINK tests/rtc-test LINK tests/ipmi-kcs-test LINK tests/ipmi-bt-test LINK tests/i440fx-test LINK tests/fw_cfg-test LINK tests/drive_del-test LINK tests/wdt_ib700-test LINK tests/tco-test LINK tests/e1000-test LINK tests/e1000e-test LINK tests/rtl8139-test LINK tests/pcnet-test LINK tests/eepro100-test LINK tests/ne2000-test LINK tests/nvme-test LINK tests/ac97-test LINK tests/es1370-test LINK tests/virtio-net-test LINK tests/virtio-balloon-test LINK tests/virtio-blk-test LINK tests/virtio-rng-test LINK tests/virtio-scsi-test LINK tests/virtio-serial-test LINK tests/virtio-console-test LINK tests/tpci200-test LINK tests/ipoctal232-test LINK tests/display-vga-test LINK tests/intel-hda-test LINK tests/ivshmem-test LINK tests/megasas-test LINK tests/vmxnet3-test LINK tests/pvpanic-test LINK tests/i82801b11-test LINK tests/ioh3420-test LINK tests/usb-hcd-ohci-test LINK tests/usb-hcd-uhci-test LINK tests/usb-hcd-ehci-test LINK tests/usb-hcd-xhci-test LINK tests/pc-cpu-test LINK tests/q35-test LINK tests/vmgenid-test LINK tests/test-netfilter LINK tests/test-filter-mirror LINK tests/test-filter-redirector LINK tests/migration-test LINK tests/test-x86-cpuid-compat LINK tests/numa-test LINK tests/qmp-test LINK tests/device-introspect-test LINK tests/qom-test LINK tests/test-hmp GTESTER tests/check-qdict GTESTER tests/check-qstring GTESTER tests/test-char GTESTER tests/check-qnum GTESTER tests/check-qlist GTESTER tests/check-qnull GTESTER tests/check-qjson GTESTER tests/check-qobject GTESTER tests/check-qlit LINK tests/test-qobject-output-visitor LINK tests/test-clone-visitor LINK tests/test-qobject-input-visitor LINK tests/test-qmp-commands LINK tests/test-string-input-visitor LINK tests/test-string-output-visitor LINK tests/test-qmp-event LINK tests/test-opts-visitor
GTESTER tests/test-coroutine
GTESTER tests/test-aio-multithread
GTESTER tests/test-iov
GTESTER tests/test-throttle
GTESTER tests/test-aio
LINK tests/test-visitor-serialization
GTESTER tests/test-thread-pool
GTESTER tests/test-hbitmap
GTESTER tests/test-blockjob
GTESTER tests/test-blockjob-txn
GTESTER tests/test-x86-cpuid
GTESTER tests/test-xbzrle
GTESTER tests/test-vmstate
Failed to load simple/primitive:b_1
Failed to load simple/primitive:i64_2
Failed to load simple/primitive:i32_1
Failed to load simple/primitive:i32_1
Failed to load test/with_tmp:a
Failed to load test/tmp_child_parent:f
Failed to load test/tmp_child:parent
Failed to load test/with_tmp:tmp
Failed to load test/tmp_child:diff
Failed to load test/with_tmp:tmp
Failed to load test/tmp_child:diff
Failed to load test/with_tmp:tmp
GTESTER tests/test-cutils
GTESTER tests/test-shift128
GTESTER tests/test-mul64
GTESTER tests/test-int128
GTESTER tests/rcutorture
GTESTER tests/test-rcu-list
GTESTER tests/test-qdist
GTESTER tests/test-qht
LINK tests/test-qht-par
GTESTER tests/test-bitops
GTESTER tests/test-bitcnt
GTESTER tests/check-qom-interface
GTESTER tests/check-qom-proplist
GTESTER tests/test-qemu-opts
GTESTER tests/test-keyval
GTESTER tests/test-write-threshold
GTESTER tests/test-crypto-hash
GTESTER tests/test-crypto-hmac
GTESTER tests/test-crypto-cipher
GTESTER tests/test-crypto-secret
GTESTER tests/test-qga
GTESTER tests/test-timed-average
GTESTER tests/test-io-task
GTESTER tests/test-io-channel-socket
GTESTER tests/test-io-channel-file
GTESTER tests/test-io-channel-command
GTESTER tests/test-io-channel-buffer
GTESTER tests/test-base64
GTESTER tests/test-crypto-ivgen
GTESTER tests/test-crypto-afsplit
GTESTER tests/test-crypto-xts
GTESTER tests/test-crypto-block
GTESTER tests/test-logging
GTESTER tests/test-replication
GTESTER tests/test-bufferiszero
GTESTER tests/test-uuid
GTESTER tests/ptimer-test
GTESTER tests/test-qapi-util
GTESTER check-qtest-x86_64
GTESTER check-qtest-aarch64
GTESTER tests/test-qobject-output-visitor
GTESTER tests/test-clone-visitor
GTESTER tests/test-qobject-input-visitor
GTESTER tests/test-qmp-commands
GTESTER tests/test-string-input-visitor
GTESTER tests/test-string-output-visitor
GTESTER tests/test-qmp-event
GTESTER tests/test-opts-visitor
GTESTER tests/test-visitor-serialization
GTESTER tests/test-qht-par
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
mkdir -p dtc/libfdt
mkdir -p dtc/tests
install -d -m 0755 "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/share/qemu"
install -d -m 0755 "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/var"/run
install -d -m 0755 "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/bin"
install -c -m 0755 qemu-ga ivshmem-client ivshmem-server qemu-nbd qemu-img qemu-io scsi/qemu-pr-helper "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/bin"
strip "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/bin/qemu-ga" "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/bin/ivshmem-client" "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/bin/ivshmem-server" "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/bin/qemu-nbd" "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/bin/qemu-img" "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/bin/qemu-io" "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/bin/qemu-pr-helper" install -d -m 0755 "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/libexec"
install -c -m 0755 qemu-bridge-helper "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/libexec"
strip "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/libexec/qemu-bridge-helper"
set -e; for x in bios.bin bios-256k.bin sgabios.bin vgabios.bin vgabios-cirrus.bin vgabios-stdvga.bin vgabios-vmware.bin vgabios-qxl.bin vgabios-virtio.bin acpi-dsdt.aml ppc_rom.bin openbios-sparc32 openbios-sparc64 openbios-ppc QEMU,tcx.bin QEMU,cgthree.bin pxe-e1000.rom pxe-eepro100.rom pxe-ne2k_pci.rom pxe-pcnet.rom pxe-rtl8139.rom pxe-virtio.rom efi-e1000.rom efi-eepro100.rom efi-ne2k_pci.rom efi-pcnet.rom efi-rtl8139.rom efi-virtio.rom efi-e1000e.rom efi-vmxnet3.rom qemu-icon.bmp qemu_logo_no_text.svg bamboo.dtb petalogix-s3adsp1800.dtb petalogix-ml605.dtb multiboot.bin linuxboot.bin linuxboot_dma.bin kvmvapic.bin s390-ccw.img s390-netboot.img spapr-rtas.bin slof.bin skiboot.lid palcode-clipper u-boot.e500 qemu_vga.ndrv; do \
install -c -m 0644 /tmp/qemu-test/src/pc-bios/$x "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/share/qemu"; \
done
make -C po install
make[1]: Entering directory `/tmp/qemu-test/build/po'
GEN bg.mo
GEN de_DE.mo
GEN fr_FR.mo
GEN it.mo
GEN zh_CN.mo
GEN hu.mo
GEN tr.mo
for obj in bg.mo de_DE.mo fr_FR.mo hu.mo it.mo tr.mo zh_CN.mo; do \
base=`basename $obj .mo`; \
install -d /tmp/qemu-test/build/=destdir/tmp/qemu-test/install/share/locale/$base/LC_MESSAGES; \
install -m644 $obj /tmp/qemu-test/build/=destdir/tmp/qemu-test/install/share/locale/$base/LC_MESSAGES/qemu.mo; \
done
make[1]: Leaving directory `/tmp/qemu-test/build/po'
install -d -m 0755 "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/share/qemu/keymaps"
set -e; for x in da en-gb et fr fr-ch is lt modifiers no pt-br sv ar de en-us fi fr-be hr it lv nl pl ru th common de-ch es fo fr-ca hu ja mk nl-be pt sl tr bepo cz; do \
install -c -m 0644 /tmp/qemu-test/src/pc-bios/keymaps/$x "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/share/qemu/keymaps"; \
done
install -c -m 0644 /tmp/qemu-test/build/trace-events-all "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/share/qemu/trace-events-all"
for d in x86_64-softmmu aarch64-softmmu; do \
make --no-print-directory BUILD_DIR=/tmp/qemu-test/build TARGET_DIR=$d/ -C $d install || exit 1 ; \
doneinstall -d -m 0755 "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/bin" install -c -m 0755 qemu-system-x86_64 "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/bin" strip "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/bin/qemu-system-x86_64" install -d -m 0755 "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/bin" install -c -m 0755 qemu-system-aarch64 "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/bin" strip "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/bin/qemu-system-aarch64"
CLEANUP /var/tmp/patchew-tester-tmp-h0o1gg04/src/docker-src.2017-12-20-13.59.05.28545
make[1]: Leaving directory '/var/tmp/patchew-tester-tmp-h0o1gg04/src'
real 8m31.089s
user 0m4.277s
sys 0m3.139s
BUILD min-glib
make[1]: Entering directory '/var/tmp/patchew-tester-tmp-h0o1gg04/src'
GEN /var/tmp/patchew-tester-tmp-h0o1gg04/src/docker-src.2017-12-20-14.07.35.14846/qemu.tar
Cloning into '/var/tmp/patchew-tester-tmp-h0o1gg04/src/docker-src.2017-12-20-14.07.35.14846/qemu.tar.vroot'... done.
Checking out files: 20% (1167/5697) Checking out files: 21% (1197/5697) Checking out files: 22% (1254/5697) Checking out files: 23% (1311/5697) Checking out files: 24% (1368/5697) Checking out files: 25% (1425/5697) Checking out files: 26% (1482/5697) Checking out files: 27% (1539/5697) Checking out files: 28% (1596/5697) Checking out files: 29% (1653/5697) Checking out files: 30% (1710/5697) Checking out files: 31% (1767/5697) Checking out files: 32% (1824/5697) Checking out files: 33% (1881/5697) Checking out files: 34% (1937/5697) Checking out files: 35% (1994/5697) Checking out files: 36% (2051/5697) Checking out files: 37% (2108/5697) Checking out files: 38% (2165/5697) Checking out files: 39% (2222/5697) Checking out files: 40% (2279/5697) Checking out files: 41% (2336/5697) Checking out files: 42% (2393/5697) Checking out files: 43% (2450/5697) Checking out files: 44% (2507/5697) Checking out files: 44% (2533/5697) Checking out files: 45% (2564/5697) Checking out files: 46% (2621/5697) Checking out files: 47% (2678/5697) Checking out files: 48% (2735/5697) Checking out files: 49% (2792/5697) Checking out files: 50% (2849/5697) Checking out files: 51% (2906/5697) Checking out files: 52% (2963/5697) Checking out files: 53% (3020/5697) Checking out files: 54% (3077/5697) Checking out files: 55% (3134/5697) Checking out files: 56% (3191/5697) Checking out files: 57% (3248/5697) Checking out files: 58% (3305/5697) Checking out files: 59% (3362/5697) Checking out files: 60% (3419/5697) Checking out files: 61% (3476/5697) Checking out files: 62% (3533/5697) Checking out files: 63% (3590/5697) Checking out files: 64% (3647/5697) Checking out files: 65% (3704/5697) Checking out files: 66% (3761/5697) Checking out files: 67% (3817/5697) Checking out files: 68% (3874/5697) Checking out files: 69% (3931/5697) Checking out files: 70% (3988/5697) Checking out files: 71% (4045/5697) Checking out files: 72% (4102/5697) Checking out files: 73% (4159/5697) Checking out files: 74% (4216/5697) Checking out files: 75% (4273/5697) Checking out files: 76% (4330/5697) Checking out files: 77% (4387/5697) Checking out files: 78% (4444/5697) Checking out files: 79% (4501/5697) Checking out files: 80% (4558/5697) Checking out files: 81% (4615/5697) Checking out files: 82% (4672/5697) Checking out files: 83% (4729/5697) Checking out files: 84% (4786/5697) Checking out files: 85% (4843/5697) Checking out files: 86% (4900/5697) Checking out files: 87% (4957/5697) Checking out files: 88% (5014/5697) Checking out files: 89% (5071/5697) Checking out files: 90% (5128/5697) Checking out files: 91% (5185/5697) Checking out files: 92% (5242/5697) Checking out files: 93% (5299/5697) Checking out files: 94% (5356/5697) Checking out files: 95% (5413/5697) Checking out files: 96% (5470/5697) Checking out files: 97% (5527/5697) Checking out files: 98% (5584/5697) Checking out files: 99% (5641/5697) Checking out files: 100% (5697/5697) Checking out files: 100% (5697/5697), done.
Your branch is up-to-date with 'origin/test'.
Submodule 'dtc' (git://git.qemu-project.org/dtc.git) registered for path 'dtc'
Cloning into '/var/tmp/patchew-tester-tmp-h0o1gg04/src/docker-src.2017-12-20-14.07.35.14846/qemu.tar.vroot/dtc'... Submodule path 'dtc': checked out '558cd81bdd432769b59bff01240c44f82cfb1a9d'
Submodule 'ui/keycodemapdb' (git://git.qemu.org/keycodemapdb.git) registered for path 'ui/keycodemapdb' Cloning into '/var/tmp/patchew-tester-tmp-h0o1gg04/src/docker-src.2017-12-20-14.07.35.14846/qemu.tar.vroot/ui/keycodemapdb'... Submodule path 'ui/keycodemapdb': checked out '10739aa26051a5d49d88132604539d3ed085e72e'
COPY RUNNER
RUN test-build in qemu:min-glib
Environment variables:
HOSTNAME=0ba0c6b8e091
MAKEFLAGS= -j8
J=8
CCACHE_DIR=/var/tmp/ccache
EXTRA_CONFIGURE_OPTS=
V=
SHOW_ENV=1 PATH=/usr/lib/ccache:/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PWD=/
TARGET_LIST=
SHLVL=1
HOME=/root
TEST_DIR=/tmp/qemu-test
FEATURES= dtc
DEBUG=
_=/usr/bin/env
Configure options:
--enable-werror --target-list=x86_64-softmmu,aarch64-softmmu --prefix=/tmp/qemu-test/install No C++ compiler available; disabling C++ specific optional code
Install prefix /tmp/qemu-test/install BIOS directory /tmp/qemu-test/install/share/qemu firmware path /tmp/qemu-test/install/share/qemu-firmware binary directory /tmp/qemu-test/install/bin
library directory /tmp/qemu-test/install/lib module directory /tmp/qemu-test/install/lib/qemu libexec directory /tmp/qemu-test/install/libexec include directory /tmp/qemu-test/install/include config directory /tmp/qemu-test/install/etc
local state directory /tmp/qemu-test/install/var
Manual directory /tmp/qemu-test/install/share/man ELF interp prefix /usr/gnemul/qemu-%M
Source path /tmp/qemu-test/src
GIT binary git
GIT submodules
C compiler cc
Host C compiler cc
C++ compiler
Objective-C compiler cc
ARFLAGS rv CFLAGS -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -g QEMU_CFLAGS -I/usr/include/pixman-1 -I$(SRC_PATH)/dtc/libfdt -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fPIE -DPIE -m64 -mcx16 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -Wendif-labels -Wno-missing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-all -Wno-missing-braces LDFLAGS -Wl,--warn-common -Wl,-z,relro -Wl,-z,now -pie -m64 -g make make install install python python -B smbd /usr/sbin/smbd module support no host CPU x86_64 host big endian no target list x86_64-softmmu aarch64-softmmu gprof enabled no sparse enabled no strip binaries yes profiler no static build no SDL support yes (1.2.14) GTK support no GTK GL support no VTE support no TLS priority NORMAL GNUTLS support no GNUTLS rnd no libgcrypt no libgcrypt kdf no nettle no nettle kdf no libtasn1 no curses support no virgl support no curl support no mingw32 support no Audio drivers oss
Block whitelist (rw)
Block whitelist (ro)
VirtFS support no
Multipath support no
VNC support yes VNC SASL support no VNC JPEG support no VNC PNG support no xen support no brlapi support no bluez support no Documentation no PIE yes vde support no netmap support no Linux AIO support no ATTR/XATTR support yes Install blobs yes KVM support yes HAX support no TCG support yes TCG debug enabled no TCG interpreter no HVF support no RDMA support no fdt support yes preadv support yes fdatasync yes madvise yes posix_madvise yes
libcap-ng support no
vhost-net support yes
vhost-scsi support yes
vhost-vsock support yes
vhost-user support yes
Trace backends log spice support no rbd support no xfsctl support no smartcard support no libusb no usb net redir no OpenGL support no OpenGL dmabufs no libiscsi support no libnfs support no
build guest agent yes
QGA VSS support no
QGA w32 disk info no
QGA MSI support no
seccomp support no
coroutine backend ucontext
coroutine pool yes
debug stack usage no
crypto afalg no
GlusterFS support no
gcov gcov gcov enabled no TPM support yes libssh2 support no TPM passthrough yes TPM emulator yes QOM debugging yes Live block migration yes lzo support no snappy support no bzip2 support no
NUMA host support no
tcmalloc support no
jemalloc support no
avx2 optimization no
replication support yes
VxHS block device no
capstone no
mkdir -p dtc/libfdt
GEN x86_64-softmmu/config-devices.mak.tmp
mkdir -p dtc/tests
GEN aarch64-softmmu/config-devices.mak.tmp GEN config-host.h GEN qemu-options.def GEN qmp-commands.h GEN qapi-visit.h GEN qapi-types.h GEN qapi-event.h GEN x86_64-softmmu/config-devices.mak GEN aarch64-softmmu/config-devices.mak GEN qmp-marshal.c GEN qapi-types.c GEN qapi-visit.c GEN qapi-event.c GEN qmp-introspect.h GEN qmp-introspect.c GEN trace/generated-tcg-tracers.h GEN trace/generated-helpers-wrappers.h GEN trace/generated-helpers.h GEN trace/generated-helpers.c GEN module_block.h GEN ui/input-keymap-linux-to-qcode.c GEN ui/input-keymap-qcode-to-qnum.c GEN ui/input-keymap-qnum-to-qcode.c GEN ui/input-keymap-qcode-to-linux.c GEN tests/test-qapi-types.h GEN tests/test-qapi-visit.h GEN tests/test-qmp-commands.h GEN tests/test-qapi-event.h GEN tests/test-qmp-introspect.h GEN trace-root.h GEN util/trace.h GEN crypto/trace.h GEN io/trace.h GEN migration/trace.h GEN block/trace.h GEN chardev/trace.h GEN hw/block/trace.h GEN hw/block/dataplane/trace.h GEN hw/char/trace.h GEN hw/intc/trace.h GEN hw/net/trace.h GEN hw/virtio/trace.h GEN hw/audio/trace.h GEN hw/misc/trace.h GEN hw/usb/trace.h GEN hw/scsi/trace.h GEN hw/nvram/trace.h GEN hw/display/trace.h GEN hw/input/trace.h GEN hw/timer/trace.h GEN hw/dma/trace.h GEN hw/sparc/trace.h GEN hw/sd/trace.h GEN hw/isa/trace.h GEN hw/mem/trace.h GEN hw/i386/trace.h GEN hw/i386/xen/trace.h GEN hw/9pfs/trace.h GEN hw/ppc/trace.h GEN hw/pci/trace.h GEN hw/s390x/trace.h GEN hw/vfio/trace.h GEN hw/acpi/trace.h GEN hw/arm/trace.h GEN hw/alpha/trace.h GEN hw/xen/trace.h GEN hw/ide/trace.h GEN ui/trace.h GEN audio/trace.h GEN net/trace.h GEN target/arm/trace.h GEN target/i386/trace.h GEN target/mips/trace.h GEN target/sparc/trace.h GEN target/s390x/trace.h GEN target/ppc/trace.h GEN qom/trace.h GEN linux-user/trace.h GEN qapi/trace.h GEN accel/tcg/trace.h GEN accel/kvm/trace.h GEN nbd/trace.h GEN scsi/trace.h GEN trace-root.c GEN util/trace.c GEN crypto/trace.c GEN io/trace.c GEN migration/trace.c GEN block/trace.c GEN chardev/trace.c GEN hw/block/trace.c GEN hw/block/dataplane/trace.c GEN hw/char/trace.c GEN hw/intc/trace.c GEN hw/net/trace.c GEN hw/virtio/trace.c GEN hw/audio/trace.c GEN hw/misc/trace.c GEN hw/usb/trace.c GEN hw/scsi/trace.c GEN hw/nvram/trace.c GEN hw/display/trace.c GEN hw/input/trace.c GEN hw/timer/trace.c GEN hw/dma/trace.c GEN hw/sparc/trace.c GEN hw/sd/trace.c GEN hw/isa/trace.c GEN hw/mem/trace.c GEN hw/i386/trace.c GEN hw/i386/xen/trace.c GEN hw/9pfs/trace.c GEN hw/ppc/trace.c GEN hw/pci/trace.c GEN hw/s390x/trace.c GEN hw/vfio/trace.c GEN hw/acpi/trace.c GEN hw/arm/trace.c GEN hw/alpha/trace.c GEN hw/xen/trace.c GEN hw/ide/trace.c GEN ui/trace.c GEN audio/trace.c GEN net/trace.c GEN target/arm/trace.c GEN target/i386/trace.c GEN target/mips/trace.c GEN target/sparc/trace.c GEN target/s390x/trace.c GEN target/ppc/trace.c GEN qom/trace.c GEN linux-user/trace.c GEN qapi/trace.c GEN accel/tcg/trace.c GEN accel/kvm/trace.c GEN nbd/trace.c GEN scsi/trace.c GEN config-all-devices.mak
DEP /tmp/qemu-test/src/dtc/tests/dumptrees.c
DEP /tmp/qemu-test/src/dtc/tests/trees.S
DEP /tmp/qemu-test/src/dtc/tests/testutils.c
DEP /tmp/qemu-test/src/dtc/tests/value-labels.c DEP /tmp/qemu-test/src/dtc/tests/asm_tree_dump.c DEP /tmp/qemu-test/src/dtc/tests/truncated_property.c DEP /tmp/qemu-test/src/dtc/tests/check_path.c
DEP /tmp/qemu-test/src/dtc/tests/overlay_bad_fixup.c DEP /tmp/qemu-test/src/dtc/tests/overlay.c
DEP /tmp/qemu-test/src/dtc/tests/subnode_iterate.c DEP /tmp/qemu-test/src/dtc/tests/property_iterate.c DEP /tmp/qemu-test/src/dtc/tests/integer-expressions.c DEP /tmp/qemu-test/src/dtc/tests/utilfdt_test.c DEP /tmp/qemu-test/src/dtc/tests/path_offset_aliases.c DEP /tmp/qemu-test/src/dtc/tests/add_subnode_with_nops.c DEP /tmp/qemu-test/src/dtc/tests/dtbs_equal_unordered.c DEP /tmp/qemu-test/src/dtc/tests/dtb_reverse.c DEP /tmp/qemu-test/src/dtc/tests/dtbs_equal_ordered.c DEP /tmp/qemu-test/src/dtc/tests/extra-terminating-null.c DEP /tmp/qemu-test/src/dtc/tests/incbin.c
DEP /tmp/qemu-test/src/dtc/tests/boot-cpuid.c
DEP /tmp/qemu-test/src/dtc/tests/phandle_format.c DEP /tmp/qemu-test/src/dtc/tests/path-references.c DEP /tmp/qemu-test/src/dtc/tests/references.c
DEP /tmp/qemu-test/src/dtc/tests/string_escapes.c DEP /tmp/qemu-test/src/dtc/tests/propname_escapes.c DEP /tmp/qemu-test/src/dtc/tests/appendprop2.c DEP /tmp/qemu-test/src/dtc/tests/appendprop1.c DEP /tmp/qemu-test/src/dtc/tests/del_node.c
DEP /tmp/qemu-test/src/dtc/tests/del_property.c DEP /tmp/qemu-test/src/dtc/tests/setprop.c
DEP /tmp/qemu-test/src/dtc/tests/set_name.c
DEP /tmp/qemu-test/src/dtc/tests/rw_tree1.c
DEP /tmp/qemu-test/src/dtc/tests/open_pack.c
DEP /tmp/qemu-test/src/dtc/tests/nopulate.c
DEP /tmp/qemu-test/src/dtc/tests/mangle-layout.c DEP /tmp/qemu-test/src/dtc/tests/move_and_save.c DEP /tmp/qemu-test/src/dtc/tests/sw_tree1.c
DEP /tmp/qemu-test/src/dtc/tests/nop_node.c
DEP /tmp/qemu-test/src/dtc/tests/nop_property.c DEP /tmp/qemu-test/src/dtc/tests/setprop_inplace.c DEP /tmp/qemu-test/src/dtc/tests/stringlist.c
DEP /tmp/qemu-test/src/dtc/tests/addr_size_cells.c DEP /tmp/qemu-test/src/dtc/tests/notfound.c
DEP /tmp/qemu-test/src/dtc/tests/sized_cells.c DEP /tmp/qemu-test/src/dtc/tests/char_literal.c DEP /tmp/qemu-test/src/dtc/tests/get_alias.c
DEP /tmp/qemu-test/src/dtc/tests/node_check_compatible.c DEP /tmp/qemu-test/src/dtc/tests/node_offset_by_phandle.c DEP /tmp/qemu-test/src/dtc/tests/node_offset_by_compatible.c DEP /tmp/qemu-test/src/dtc/tests/node_offset_by_prop_value.c DEP /tmp/qemu-test/src/dtc/tests/parent_offset.c DEP /tmp/qemu-test/src/dtc/tests/supernode_atdepth_offset.c DEP /tmp/qemu-test/src/dtc/tests/get_path.c
DEP /tmp/qemu-test/src/dtc/tests/get_phandle.c DEP /tmp/qemu-test/src/dtc/tests/get_name.c
DEP /tmp/qemu-test/src/dtc/tests/getprop.c
DEP /tmp/qemu-test/src/dtc/tests/path_offset.c DEP /tmp/qemu-test/src/dtc/tests/subnode_offset.c DEP /tmp/qemu-test/src/dtc/tests/find_property.c DEP /tmp/qemu-test/src/dtc/tests/get_mem_rsv.c DEP /tmp/qemu-test/src/dtc/tests/root_node.c
DEP /tmp/qemu-test/src/dtc/libfdt/fdt_overlay.c DEP /tmp/qemu-test/src/dtc/libfdt/fdt_addresses.c DEP /tmp/qemu-test/src/dtc/libfdt/fdt_empty_tree.c DEP /tmp/qemu-test/src/dtc/libfdt/fdt_strerror.c DEP /tmp/qemu-test/src/dtc/libfdt/fdt_rw.c
DEP /tmp/qemu-test/src/dtc/libfdt/fdt_sw.c
DEP /tmp/qemu-test/src/dtc/libfdt/fdt_wip.c
DEP /tmp/qemu-test/src/dtc/libfdt/fdt_ro.c
DEP /tmp/qemu-test/src/dtc/libfdt/fdt.c
DEP /tmp/qemu-test/src/dtc/util.c
DEP /tmp/qemu-test/src/dtc/fdtget.c
DEP /tmp/qemu-test/src/dtc/fdtput.c
DEP /tmp/qemu-test/src/dtc/fdtdump.c
LEX convert-dtsv0-lexer.lex.c
make[1]: flex: Command not found
DEP /tmp/qemu-test/src/dtc/srcpos.c
BISON dtc-parser.tab.c
make[1]: bison: Command not found
DEP /tmp/qemu-test/src/dtc/treesource.c
LEX dtc-lexer.lex.c
make[1]: flex: Command not found
DEP /tmp/qemu-test/src/dtc/fstree.c
DEP /tmp/qemu-test/src/dtc/livetree.c
DEP /tmp/qemu-test/src/dtc/flattree.c
DEP /tmp/qemu-test/src/dtc/dtc.c
DEP /tmp/qemu-test/src/dtc/data.c
DEP /tmp/qemu-test/src/dtc/checks.c
CHK version_gen.h
BISON dtc-parser.tab.c
LEX convert-dtsv0-lexer.lex.c
LEX dtc-lexer.lex.c
make[1]: bison: Command not found
make[1]: flex: Command not found
make[1]: flex: Command not found
UPD version_gen.h
DEP /tmp/qemu-test/src/dtc/util.c
LEX convert-dtsv0-lexer.lex.c
BISON dtc-parser.tab.c
make[1]: flex: Command not found
make[1]: bison: Command not found
LEX dtc-lexer.lex.c
make[1]: flex: Command not found
CC libfdt/fdt_ro.o
CC libfdt/fdt.o
CC libfdt/fdt_wip.o
CC libfdt/fdt_sw.o
CC libfdt/fdt_strerror.o
CC libfdt/fdt_rw.o
CC libfdt/fdt_empty_tree.o
CC libfdt/fdt_addresses.o
CC libfdt/fdt_overlay.o
AR libfdt/libfdt.a
ar: creating libfdt/libfdt.a
a - libfdt/fdt.o
a - libfdt/fdt_ro.o
a - libfdt/fdt_wip.o
a - libfdt/fdt_sw.o
a - libfdt/fdt_rw.o
a - libfdt/fdt_strerror.o
a - libfdt/fdt_empty_tree.o
a - libfdt/fdt_addresses.o
a - libfdt/fdt_overlay.o
mkdir -p dtc/libfdt
mkdir -p dtc/tests
LEX convert-dtsv0-lexer.lex.c
make[1]: flex: Command not found
BISON dtc-parser.tab.c
LEX dtc-lexer.lex.c
make[1]: bison: Command not found
make[1]: flex: Command not found
CC tests/qemu-iotests/socket_scm_helper.o GEN qga/qapi-generated/qga-qapi-visit.h GEN qga/qapi-generated/qga-qapi-types.h GEN qga/qapi-generated/qga-qmp-commands.h GEN qga/qapi-generated/qga-qapi-visit.c GEN qga/qapi-generated/qga-qapi-types.c CC qmp-introspect.o GEN qga/qapi-generated/qga-qmp-marshal.c CC qapi-types.o CC qapi-visit.o CC qapi-event.o CC qapi/qapi-visit-core.o CC qapi/qapi-dealloc-visitor.o CC qapi/qobject-input-visitor.o CC qapi/qobject-output-visitor.o CC qapi/qmp-registry.o CC qapi/qmp-dispatch.o CC qapi/string-input-visitor.o CC qapi/string-output-visitor.o CC qapi/opts-visitor.o CC qapi/qapi-clone-visitor.o CC qapi/qmp-event.o CC qapi/qapi-util.o CC qobject/qnull.o CC qobject/qstring.o CC qobject/qnum.o CC qobject/qdict.o CC qobject/qlist.o CC qobject/qbool.o CC qobject/qlit.o CC qobject/qjson.o CC qobject/qobject.o CC qobject/json-lexer.o CC qobject/json-streamer.o CC qobject/json-parser.o CC trace/control.o CC trace/qmp.o CC util/osdep.o CC util/cutils.o CC util/unicode.o CC util/qemu-timer-common.o CC util/bufferiszero.o CC util/lockcnt.o CC util/aiocb.o CC util/async.o CC util/thread-pool.o CC util/qemu-timer.o CC util/main-loop.o CC util/iohandler.o CC util/aio-posix.o CC util/compatfd.o CC util/event_notifier-posix.o CC util/mmap-alloc.o CC util/oslib-posix.o CC util/qemu-openpty.o CC util/qemu-thread-posix.o CC util/memfd.o CC util/envlist.o CC util/path.o CC util/module.o CC util/host-utils.o CC util/bitmap.o CC util/bitops.o CC util/hbitmap.o CC util/fifo8.o CC util/acl.o CC util/error.o CC util/cacheinfo.o CC util/qemu-error.o CC util/id.o CC util/iov.o CC util/qemu-config.o CC util/qemu-sockets.o CC util/uri.o CC util/notify.o CC util/qemu-option.o CC util/qemu-progress.o CC util/keyval.o CC util/hexdump.o CC util/crc32c.o CC util/uuid.o CC util/throttle.o CC util/getauxval.o CC util/readline.o CC util/rcu.o CC util/qemu-coroutine.o CC util/qemu-coroutine-lock.o CC util/qemu-coroutine-io.o CC util/qemu-coroutine-sleep.o CC util/coroutine-ucontext.o CC util/buffer.o CC util/timed-average.o CC util/base64.o CC util/log.o CC util/pagesize.o CC util/qdist.o CC util/qht.o CC util/range.o CC util/stats64.o CC util/systemd.o CC trace-root.o CC util/trace.o CC crypto/trace.o CC io/trace.o CC migration/trace.o CC block/trace.o CC chardev/trace.o CC hw/block/trace.o CC hw/block/dataplane/trace.o CC hw/char/trace.o CC hw/intc/trace.o CC hw/net/trace.o CC hw/virtio/trace.o CC hw/audio/trace.o CC hw/misc/trace.o CC hw/usb/trace.o CC hw/scsi/trace.o CC hw/nvram/trace.o CC hw/display/trace.o CC hw/input/trace.o CC hw/timer/trace.o CC hw/dma/trace.o CC hw/sparc/trace.o CC hw/sd/trace.o CC hw/isa/trace.o CC hw/mem/trace.o CC hw/i386/trace.o CC hw/i386/xen/trace.o CC hw/9pfs/trace.o CC hw/ppc/trace.o CC hw/pci/trace.o CC hw/s390x/trace.o CC hw/vfio/trace.o CC hw/acpi/trace.o CC hw/arm/trace.o CC hw/alpha/trace.o CC hw/xen/trace.o CC hw/ide/trace.o CC ui/trace.o CC audio/trace.o CC net/trace.o CC target/arm/trace.o CC target/i386/trace.o CC target/mips/trace.o CC target/sparc/trace.o CC target/s390x/trace.o CC target/ppc/trace.o CC qom/trace.o CC linux-user/trace.o CC qapi/trace.o CC accel/tcg/trace.o CC accel/kvm/trace.o CC nbd/trace.o CC scsi/trace.o CC crypto/pbkdf-stub.o CC stubs/arch-query-cpu-def.o CC stubs/arch-query-cpu-model-expansion.o CC stubs/arch-query-cpu-model-comparison.o CC stubs/arch-query-cpu-model-baseline.o CC stubs/bdrv-next-monitor-owned.o CC stubs/blk-commit-all.o CC stubs/blockdev-close-all-bdrv-states.o CC stubs/clock-warp.o CC stubs/cpu-get-icount.o CC stubs/cpu-get-clock.o CC stubs/dump.o CC stubs/error-printf.o CC stubs/fdset.o CC stubs/gdbstub.o CC stubs/get-vm-name.o CC stubs/iothread.o CC stubs/iothread-lock.o CC stubs/is-daemonized.o CC stubs/machine-init-done.o CC stubs/migr-blocker.o CC stubs/change-state-handler.o CC stubs/monitor.o CC stubs/notify-event.o CC stubs/qtest.o CC stubs/replay.o CC stubs/runstate-check.o CC stubs/set-fd-handler.o CC stubs/slirp.o CC stubs/sysbus.o CC stubs/tpm.o CC stubs/trace-control.o CC stubs/uuid.o CC stubs/vm-stop.o CC stubs/vmstate.o CC stubs/qmp_pc_dimm.o CC stubs/target-monitor-defs.o CC stubs/target-get-monitor-def.o CC stubs/pc_madt_cpu_entry.o CC stubs/vmgenid.o CC stubs/xen-common.o CC stubs/xen-hvm.o CC stubs/pci-host-piix.o CC contrib/ivshmem-client/ivshmem-client.o CC contrib/ivshmem-client/main.o CC contrib/ivshmem-server/ivshmem-server.o CC contrib/ivshmem-server/main.o CC qemu-nbd.o CC block.o CC blockjob.o CC qemu-io-cmds.o CC replication.o CC block/raw-format.o CC block/qcow.o CC block/vdi.o CC block/vmdk.o CC block/cloop.o CC block/bochs.o CC block/vpc.o CC block/vvfat.o CC block/dmg.o CC block/qcow2.o CC block/qcow2-refcount.o CC block/qcow2-cluster.o CC block/qcow2-snapshot.o CC block/qcow2-cache.o CC block/qcow2-bitmap.o CC block/qed.o CC block/qed-l2-cache.o CC block/qed-table.o CC block/qed-cluster.o CC block/qed-check.o CC block/vhdx.o CC block/vhdx-endian.o CC block/vhdx-log.o CC block/quorum.o CC block/parallels.o CC block/blkdebug.o CC block/blkverify.o CC block/blkreplay.o CC block/block-backend.o CC block/snapshot.o CC block/qapi.o CC block/file-posix.o CC block/null.o CC block/mirror.o CC block/commit.o CC block/io.o CC block/throttle-groups.o CC block/nbd.o CC block/nbd-client.o CC block/sheepdog.o CC block/accounting.o CC block/dirty-bitmap.o CC block/write-threshold.o CC block/backup.o CC block/replication.o CC block/throttle.o CC block/crypto.o CC nbd/server.o CC nbd/client.o CC nbd/common.o CC scsi/utils.o CC scsi/pr-manager.o CC scsi/pr-manager-helper.o CC crypto/init.o CC crypto/hash.o CC crypto/hash-glib.o CC crypto/hmac.o CC crypto/hmac-glib.o CC crypto/aes.o CC crypto/desrfb.o CC crypto/cipher.o CC crypto/tlscreds.o CC crypto/tlscredsanon.o CC crypto/tlscredsx509.o CC crypto/tlssession.o CC crypto/secret.o CC crypto/random-platform.o CC crypto/pbkdf.o CC crypto/ivgen.o CC crypto/ivgen-essiv.o CC crypto/ivgen-plain.o CC crypto/ivgen-plain64.o CC crypto/afsplit.o CC crypto/xts.o CC crypto/block.o CC crypto/block-qcow.o CC crypto/block-luks.o CC io/channel.o CC io/channel-buffer.o CC io/channel-command.o CC io/channel-file.o CC io/channel-socket.o CC io/channel-tls.o CC io/channel-watch.o CC io/channel-websock.o CC io/channel-util.o CC io/dns-resolver.o CC io/net-listener.o CC io/task.o CC qom/object.o CC qom/container.o CC qom/qom-qobject.o CC qom/object_interfaces.o GEN qemu-img-cmds.h CC qemu-io.o CC scsi/qemu-pr-helper.o CC qemu-bridge-helper.o CC blockdev.o CC blockdev-nbd.o CC bootdevice.o CC iothread.o CC qdev-monitor.o CC device-hotplug.o CC os-posix.o CC bt-host.o CC bt-vhci.o CC dma-helpers.o CC vl.o CC tpm.o CC device_tree.o CC qmp-marshal.o CC qmp.o CC hmp.o CC cpus-common.o CC audio/audio.o CC audio/noaudio.o CC audio/wavaudio.o CC audio/mixeng.o CC audio/sdlaudio.o CC audio/ossaudio.o CC audio/wavcapture.o CC backends/rng.o CC backends/rng-egd.o CC backends/rng-random.o CC backends/tpm.o CC backends/hostmem.o CC backends/hostmem-ram.o CC backends/hostmem-file.o CC backends/cryptodev.o CC backends/cryptodev-builtin.o CC block/stream.o CC chardev/msmouse.o CC chardev/wctablet.o CC chardev/testdev.o CC disas/arm.o CC disas/i386.o CC fsdev/qemu-fsdev-dummy.o CC fsdev/qemu-fsdev-opts.o CC fsdev/qemu-fsdev-throttle.o CC hw/acpi/core.o CC hw/acpi/piix4.o CC hw/acpi/pcihp.o CC hw/acpi/ich9.o CC hw/acpi/tco.o CC hw/acpi/cpu_hotplug.o CC hw/acpi/memory_hotplug.o CC hw/acpi/cpu.o CC hw/acpi/nvdimm.o CC hw/acpi/vmgenid.o CC hw/acpi/bios-linker-loader.o CC hw/acpi/acpi_interface.o CC hw/acpi/aml-build.o CC hw/acpi/ipmi.o CC hw/acpi/acpi-stub.o CC hw/acpi/ipmi-stub.o CC hw/audio/sb16.o CC hw/audio/es1370.o CC hw/audio/ac97.o CC hw/audio/fmopl.o CC hw/audio/adlib.o CC hw/audio/gus.o CC hw/audio/gusemu_hal.o CC hw/audio/gusemu_mixer.o CC hw/audio/cs4231a.o CC hw/audio/intel-hda.o CC hw/audio/hda-codec.o CC hw/audio/pcspk.o CC hw/audio/wm8750.o CC hw/audio/pl041.o CC hw/audio/lm4549.o CC hw/audio/marvell_88w8618.o CC hw/audio/soundhw.o CC hw/block/block.o CC hw/block/cdrom.o CC hw/block/hd-geometry.o CC hw/block/fdc.o CC hw/block/m25p80.o CC hw/block/nand.o CC hw/block/pflash_cfi01.o CC hw/block/pflash_cfi02.o CC hw/block/ecc.o CC hw/block/onenand.o CC hw/block/nvme.o CC hw/bt/core.o CC hw/bt/l2cap.o CC hw/bt/sdp.o CC hw/bt/hci.o CC hw/bt/hid.o CC hw/bt/hci-csr.o CC hw/char/ipoctal232.o CC hw/char/parallel.o CC hw/char/pl011.o CC hw/char/serial.o CC hw/char/serial-isa.o CC hw/char/serial-pci.o CC hw/char/virtio-console.o CC hw/char/cadence_uart.o CC hw/char/cmsdk-apb-uart.o CC hw/char/debugcon.o CC hw/char/imx_serial.o CC hw/core/qdev.o CC hw/core/qdev-properties.o CC hw/core/bus.o CC hw/core/reset.o CC hw/core/irq.o CC hw/core/fw-path-provider.o CC hw/core/hotplug.o CC hw/core/nmi.o CC hw/core/stream.o CC hw/core/ptimer.o CC hw/core/sysbus.o CC hw/core/machine.o CC hw/core/loader.o CC hw/core/qdev-properties-system.o CC hw/core/register.o CC hw/core/or-irq.o CC hw/core/platform-bus.o CC hw/cpu/core.o CC hw/display/ads7846.o CC hw/display/cirrus_vga.o CC hw/display/pl110.o CC hw/display/ssd0303.o CC hw/display/ssd0323.o CC hw/display/vga-pci.o CC hw/display/vga-isa.o CC hw/display/vmware_vga.o CC hw/display/blizzard.o CC hw/display/exynos4210_fimd.o CC hw/display/framebuffer.o CC hw/display/tc6393xb.o CC hw/dma/pl080.o CC hw/dma/pl330.o CC hw/dma/i8257.o CC hw/dma/xilinx_axidma.o CC hw/dma/xlnx-zynq-devcfg.o CC hw/gpio/max7310.o CC hw/gpio/pl061.o CC hw/gpio/zaurus.o CC hw/gpio/gpio_key.o CC hw/i2c/core.o CC hw/i2c/smbus.o CC hw/i2c/smbus_eeprom.o CC hw/i2c/i2c-ddc.o CC hw/i2c/versatile_i2c.o CC hw/i2c/smbus_ich9.o CC hw/i2c/pm_smbus.o CC hw/i2c/bitbang_i2c.o CC hw/i2c/exynos4210_i2c.o CC hw/i2c/imx_i2c.o CC hw/i2c/aspeed_i2c.o CC hw/ide/core.o CC hw/ide/atapi.o CC hw/ide/qdev.o CC hw/ide/pci.o CC hw/ide/isa.o CC hw/ide/piix.o CC hw/ide/microdrive.o CC hw/ide/ahci.o CC hw/ide/ich.o CC hw/ide/ahci-allwinner.o CC hw/input/hid.o CC hw/input/lm832x.o CC hw/input/pckbd.o CC hw/input/pl050.o CC hw/input/ps2.o CC hw/input/stellaris_input.o CC hw/input/tsc2005.o CC hw/input/virtio-input.o CC hw/input/virtio-input-hid.o CC hw/input/virtio-input-host.o CC hw/intc/i8259_common.o CC hw/intc/i8259.o CC hw/intc/pl190.o CC hw/intc/imx_avic.o CC hw/intc/realview_gic.o CC hw/intc/ioapic_common.o CC hw/intc/arm_gic_common.o CC hw/intc/arm_gic.o CC hw/intc/arm_gicv2m.o CC hw/intc/arm_gicv3_common.o CC hw/intc/arm_gicv3.o CC hw/intc/arm_gicv3_dist.o CC hw/intc/arm_gicv3_redist.o CC hw/intc/arm_gicv3_its_common.o CC hw/intc/intc.o CC hw/ipack/ipack.o CC hw/ipack/tpci200.o CC hw/ipmi/ipmi.o CC hw/ipmi/ipmi_bmc_sim.o CC hw/ipmi/ipmi_bmc_extern.o CC hw/ipmi/isa_ipmi_kcs.o CC hw/ipmi/isa_ipmi_bt.o CC hw/isa/isa-bus.o CC hw/isa/apm.o CC hw/mem/pc-dimm.o CC hw/mem/nvdimm.o CC hw/misc/applesmc.o CC hw/misc/max111x.o CC hw/misc/tmp105.o CC hw/misc/tmp421.o CC hw/misc/debugexit.o CC hw/misc/sga.o CC hw/misc/pc-testdev.o CC hw/misc/pci-testdev.o CC hw/misc/edu.o CC hw/misc/unimp.o CC hw/misc/vmcoreinfo.o CC hw/misc/arm_l2x0.o CC hw/misc/arm_integrator_debug.o CC hw/misc/a9scu.o CC hw/misc/arm11scu.o CC hw/net/ne2000.o CC hw/net/eepro100.o CC hw/net/pcnet-pci.o CC hw/net/pcnet.o CC hw/net/e1000.o CC hw/net/e1000x_common.o CC hw/net/net_tx_pkt.o CC hw/net/net_rx_pkt.o CC hw/net/e1000e.o CC hw/net/e1000e_core.o CC hw/net/rtl8139.o CC hw/net/vmxnet3.o CC hw/net/smc91c111.o CC hw/net/lan9118.o CC hw/net/ne2000-isa.o CC hw/net/xgmac.o CC hw/net/xilinx_axienet.o CC hw/net/allwinner_emac.o CC hw/net/imx_fec.o CC hw/net/cadence_gem.o CC hw/net/stellaris_enet.o CC hw/net/ftgmac100.o CC hw/net/rocker/rocker.o CC hw/net/rocker/rocker_fp.o CC hw/net/rocker/rocker_desc.o CC hw/net/rocker/rocker_world.o CC hw/net/rocker/rocker_of_dpa.o CC hw/nvram/eeprom93xx.o CC hw/nvram/eeprom_at24c.o CC hw/nvram/fw_cfg.o CC hw/nvram/chrp_nvram.o CC hw/pci-bridge/pci_bridge_dev.o CC hw/pci-bridge/pcie_root_port.o CC hw/pci-bridge/gen_pcie_root_port.o CC hw/pci-bridge/pcie_pci_bridge.o CC hw/pci-bridge/pci_expander_bridge.o CC hw/pci-bridge/xio3130_upstream.o CC hw/pci-bridge/xio3130_downstream.o CC hw/pci-bridge/ioh3420.o CC hw/pci-bridge/i82801b11.o CC hw/pci-host/pam.o CC hw/pci-host/versatile.o CC hw/pci-host/piix.o CC hw/pci-host/q35.o CC hw/pci-host/gpex.o CC hw/pci/pci.o CC hw/pci/pci_bridge.o CC hw/pci/msix.o CC hw/pci/msi.o CC hw/pci/shpc.o CC hw/pci/slotid_cap.o CC hw/pci/pci_host.o CC hw/pci/pcie_host.o CC hw/pci/pcie.o CC hw/pci/pcie_aer.o CC hw/pci/pcie_port.o CC hw/pci/pci-stub.o CC hw/pcmcia/pcmcia.o CC hw/scsi/scsi-disk.o CC hw/scsi/scsi-generic.o CC hw/scsi/scsi-bus.o CC hw/scsi/lsi53c895a.o CC hw/scsi/mptsas.o CC hw/scsi/mptconfig.o CC hw/scsi/mptendian.o CC hw/scsi/megasas.o CC hw/scsi/vmw_pvscsi.o CC hw/scsi/esp.o CC hw/scsi/esp-pci.o CC hw/sd/pl181.o CC hw/sd/ssi-sd.o CC hw/sd/sd.o CC hw/sd/core.o CC hw/sd/sdhci.o CC hw/smbios/smbios.o CC hw/smbios/smbios_type_38.o CC hw/smbios/smbios-stub.o CC hw/smbios/smbios_type_38-stub.o CC hw/ssi/pl022.o CC hw/ssi/ssi.o CC hw/ssi/xilinx_spips.o CC hw/ssi/aspeed_smc.o CC hw/ssi/stm32f2xx_spi.o CC hw/ssi/mss-spi.o CC hw/timer/arm_timer.o CC hw/timer/arm_mptimer.o CC hw/timer/armv7m_systick.o CC hw/timer/a9gtimer.o CC hw/timer/cadence_ttc.o CC hw/timer/ds1338.o CC hw/timer/hpet.o CC hw/timer/i8254_common.o CC hw/timer/i8254.o CC hw/timer/pl031.o CC hw/timer/twl92230.o CC hw/timer/imx_epit.o CC hw/timer/imx_gpt.o CC hw/timer/stm32f2xx_timer.o CC hw/timer/aspeed_timer.o CC hw/timer/cmsdk-apb-timer.o CC hw/timer/mss-timer.o CC hw/tpm/tpm_util.o CC hw/tpm/tpm_tis.o CC hw/tpm/tpm_passthrough.o CC hw/tpm/tpm_emulator.o CC hw/usb/core.o CC hw/usb/combined-packet.o CC hw/usb/bus.o CC hw/usb/libhw.o CC hw/usb/desc.o CC hw/usb/desc-msos.o CC hw/usb/hcd-uhci.o CC hw/usb/hcd-ohci.o CC hw/usb/hcd-ehci.o CC hw/usb/hcd-ehci-pci.o CC hw/usb/hcd-ehci-sysbus.o CC hw/usb/hcd-xhci.o CC hw/usb/hcd-xhci-nec.o CC hw/usb/hcd-musb.o CC hw/usb/dev-hub.o CC hw/usb/dev-hid.o CC hw/usb/dev-wacom.o CC hw/usb/dev-storage.o CC hw/usb/dev-uas.o CC hw/usb/dev-audio.o CC hw/usb/dev-serial.o CC hw/usb/dev-network.o CC hw/usb/dev-bluetooth.o CC hw/usb/dev-smartcard-reader.o CC hw/usb/dev-mtp.o CC hw/usb/host-stub.o CC hw/virtio/virtio-rng.o CC hw/virtio/virtio-pci.o CC hw/virtio/virtio-bus.o CC hw/virtio/virtio-mmio.o CC hw/virtio/vhost-stub.o CC hw/watchdog/watchdog.o CC hw/watchdog/wdt_i6300esb.o CC hw/watchdog/wdt_ib700.o CC hw/watchdog/wdt_aspeed.o CC migration/migration.o CC migration/socket.o CC migration/fd.o CC migration/exec.o CC migration/tls.o CC migration/channel.o CC migration/savevm.o CC migration/colo-comm.o CC migration/colo.o CC migration/colo-failover.o CC migration/vmstate.o CC migration/vmstate-types.o CC migration/page_cache.o CC migration/qemu-file.o CC migration/global_state.o CC migration/qemu-file-channel.o CC migration/xbzrle.o CC migration/postcopy-ram.o CC migration/qjson.o CC migration/block.o CC net/queue.o CC net/net.o CC net/checksum.o CC net/util.o CC net/hub.o CC net/socket.o CC net/dump.o CC net/eth.o CC net/l2tpv3.o CC net/vhost-user.o CC net/slirp.o CC net/filter.o CC net/filter-buffer.o CC net/filter-mirror.o CC net/colo-compare.o CC net/colo.o CC net/filter-rewriter.o CC net/filter-replay.o CC net/tap.o CC net/tap-linux.o CC qom/cpu.o CC replay/replay.o CC replay/replay-internal.o CC replay/replay-events.o CC replay/replay-time.o CC replay/replay-input.o CC replay/replay-char.o /tmp/qemu-test/src/replay/replay-internal.c: In function 'replay_put_array': /tmp/qemu-test/src/replay/replay-internal.c:65: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result CC replay/replay-snapshot.o CC replay/replay-net.o CC replay/replay-audio.o CC slirp/cksum.o CC slirp/if.o CC slirp/ip_icmp.o CC slirp/ip6_icmp.o CC slirp/ip6_input.o CC slirp/ip6_output.o CC slirp/ip_input.o CC slirp/ip_output.o CC slirp/dnssearch.o CC slirp/dhcpv6.o CC slirp/slirp.o CC slirp/mbuf.o CC slirp/misc.o CC slirp/sbuf.o CC slirp/socket.o CC slirp/tcp_input.o CC slirp/tcp_output.o CC slirp/tcp_subr.o CC slirp/tcp_timer.o CC slirp/udp.o CC slirp/udp6.o CC slirp/bootp.o CC slirp/tftp.o CC slirp/arp_table.o CC slirp/ndp_table.o CC slirp/ncsi.o CC ui/keymaps.o CC ui/console.o
/tmp/qemu-test/src/slirp/tcp_input.c: In function 'tcp_input':/tmp/qemu-test/src/slirp/tcp_input.c:219: warning: 'save_ip.ip_p' may be used uninitialized in this function /tmp/qemu-test/src/slirp/tcp_input.c:219: warning: 'save_ip.ip_len' may be used uninitialized in this function /tmp/qemu-test/src/slirp/tcp_input.c:219: warning: 'save_ip.ip_tos' may be used uninitialized in this function /tmp/qemu-test/src/slirp/tcp_input.c:219: warning: 'save_ip.ip_id' may be used uninitialized in this function /tmp/qemu-test/src/slirp/tcp_input.c:219: warning: 'save_ip.ip_off' may be used uninitialized in this function /tmp/qemu-test/src/slirp/tcp_input.c:219: warning: 'save_ip.ip_ttl' may be used uninitialized in this function /tmp/qemu-test/src/slirp/tcp_input.c:219: warning: 'save_ip.ip_sum' may be used uninitialized in this function /tmp/qemu-test/src/slirp/tcp_input.c:219: warning: 'save_ip.ip_src.s_addr' may be used uninitialized in this function /tmp/qemu-test/src/slirp/tcp_input.c:219: warning: 'save_ip.ip_dst.s_addr' may be used uninitialized in this function /tmp/qemu-test/src/slirp/tcp_input.c:220: warning: 'save_ip6.ip_nh' may be used uninitialized in this function
CC ui/cursor.o CC ui/qemu-pixman.o CC ui/input.o CC ui/input-keymap.o CC ui/input-legacy.o CC ui/input-linux.o CC ui/sdl.o CC ui/sdl_zoom.o CC ui/x_keymap.o CC ui/vnc.o CC ui/vnc-enc-zlib.o CC ui/vnc-enc-hextile.o CC ui/vnc-enc-tight.o CC ui/vnc-palette.o CC ui/vnc-enc-zrle.o CC ui/vnc-auth-vencrypt.o CC ui/vnc-ws.o CC ui/vnc-jobs.o CC chardev/char.o CC chardev/char-fd.o CC chardev/char-fe.o CC chardev/char-file.o CC chardev/char-io.o CC chardev/char-mux.o CC chardev/char-null.o CC chardev/char-parallel.o CC chardev/char-pipe.o CC chardev/char-pty.o CC chardev/char-ringbuf.o CC chardev/char-serial.o CC chardev/char-socket.o CC chardev/char-stdio.o CC chardev/char-udp.o LINK tests/qemu-iotests/socket_scm_helper CC qga/commands.o AS optionrom/multiboot.o AS optionrom/linuxboot.o CC optionrom/linuxboot_dma.o
AS optionrom/kvmvapic.o CC qga/guest-agent-command-state.o BUILD optionrom/multiboot.img BUILD optionrom/linuxboot.img BUILD optionrom/linuxboot_dma.img BUILD optionrom/kvmvapic.img BUILD optionrom/multiboot.raw BUILD optionrom/linuxboot.raw BUILD optionrom/linuxboot_dma.raw BUILD optionrom/kvmvapic.raw SIGN optionrom/multiboot.bin CC qga/main.o SIGN optionrom/linuxboot.bin SIGN optionrom/linuxboot_dma.bin CC qga/commands-posix.o SIGN optionrom/kvmvapic.bin CC qga/channel-posix.o CC qga/qapi-generated/qga-qapi-types.o CC qga/qapi-generated/qga-qapi-visit.o CC qga/qapi-generated/qga-qmp-marshal.o AR libqemuutil.a CC qemu-img.o LINK qemu-io LINK scsi/qemu-pr-helper LINK qemu-bridge-helper LINK ivshmem-client LINK ivshmem-server LINK qemu-nbd LINK qemu-ga GEN x86_64-softmmu/hmp-commands.h GEN x86_64-softmmu/hmp-commands-info.h GEN x86_64-softmmu/config-target.h GEN aarch64-softmmu/hmp-commands.h GEN aarch64-softmmu/hmp-commands-info.h GEN aarch64-softmmu/config-target.h CC x86_64-softmmu/tcg/tcg.o CC x86_64-softmmu/exec.o CC x86_64-softmmu/tcg/tcg-op.o CC x86_64-softmmu/tcg/tcg-common.o CC x86_64-softmmu/fpu/softfloat.o CC x86_64-softmmu/tcg/optimize.o CC aarch64-softmmu/exec.o CC x86_64-softmmu/disas.o GEN x86_64-softmmu/gdbstub-xml.c LINK qemu-img CC x86_64-softmmu/arch_init.o CC x86_64-softmmu/cpus.o CC x86_64-softmmu/monitor.o CC x86_64-softmmu/gdbstub.o CC x86_64-softmmu/balloon.o CC aarch64-softmmu/tcg/tcg.o CC x86_64-softmmu/ioport.o CC x86_64-softmmu/numa.o CC x86_64-softmmu/qtest.o CC x86_64-softmmu/memory.o CC x86_64-softmmu/memory_mapping.o CC x86_64-softmmu/dump.o CC x86_64-softmmu/migration/ram.o CC x86_64-softmmu/accel/accel.o CC x86_64-softmmu/accel/kvm/kvm-all.o CC x86_64-softmmu/accel/stubs/hax-stub.o CC x86_64-softmmu/accel/tcg/tcg-all.o CC x86_64-softmmu/accel/tcg/cputlb.o CC aarch64-softmmu/tcg/tcg-op.o CC x86_64-softmmu/accel/tcg/tcg-runtime.o CC aarch64-softmmu/tcg/optimize.o CC x86_64-softmmu/accel/tcg/cpu-exec.o CC x86_64-softmmu/accel/tcg/cpu-exec-common.o CC x86_64-softmmu/accel/tcg/translate-all.o CC x86_64-softmmu/accel/tcg/translator.o CC aarch64-softmmu/tcg/tcg-common.o CC x86_64-softmmu/hw/block/virtio-blk.o CC aarch64-softmmu/fpu/softfloat.o CC x86_64-softmmu/hw/block/dataplane/virtio-blk.o CC x86_64-softmmu/hw/char/virtio-serial-bus.o CC x86_64-softmmu/hw/core/generic-loader.o CC aarch64-softmmu/disas.o CC x86_64-softmmu/hw/core/null-machine.o CC x86_64-softmmu/hw/display/vga.o CC x86_64-softmmu/hw/display/virtio-gpu.o GEN aarch64-softmmu/gdbstub-xml.c CC x86_64-softmmu/hw/display/virtio-gpu-3d.o CC x86_64-softmmu/hw/display/virtio-gpu-pci.o CC aarch64-softmmu/arch_init.o CC aarch64-softmmu/cpus.o CC aarch64-softmmu/monitor.o CC x86_64-softmmu/hw/display/virtio-vga.o CC aarch64-softmmu/gdbstub.o CC aarch64-softmmu/balloon.o CC aarch64-softmmu/ioport.o CC x86_64-softmmu/hw/intc/apic.o CC aarch64-softmmu/numa.o CC aarch64-softmmu/qtest.o CC aarch64-softmmu/memory.o CC aarch64-softmmu/memory_mapping.o CC aarch64-softmmu/dump.o CC x86_64-softmmu/hw/intc/apic_common.o CC x86_64-softmmu/hw/intc/ioapic.o CC x86_64-softmmu/hw/isa/lpc_ich9.o CC aarch64-softmmu/migration/ram.o CC x86_64-softmmu/hw/misc/ivshmem.o CC x86_64-softmmu/hw/misc/pvpanic.o CC x86_64-softmmu/hw/misc/hyperv_testdev.o CC x86_64-softmmu/hw/misc/mmio_interface.o CC x86_64-softmmu/hw/net/virtio-net.o CC x86_64-softmmu/hw/net/vhost_net.o CC x86_64-softmmu/hw/scsi/virtio-scsi.o CC x86_64-softmmu/hw/scsi/virtio-scsi-dataplane.o CC aarch64-softmmu/accel/accel.o CC x86_64-softmmu/hw/scsi/vhost-scsi-common.o CC aarch64-softmmu/accel/stubs/hax-stub.o CC x86_64-softmmu/hw/scsi/vhost-scsi.o CC x86_64-softmmu/hw/scsi/vhost-user-scsi.o CC aarch64-softmmu/accel/stubs/kvm-stub.o CC x86_64-softmmu/hw/timer/mc146818rtc.o CC aarch64-softmmu/accel/tcg/tcg-all.o CC x86_64-softmmu/hw/vfio/common.o CC aarch64-softmmu/accel/tcg/cputlb.o CC x86_64-softmmu/hw/vfio/pci.o CC aarch64-softmmu/accel/tcg/tcg-runtime.o CC aarch64-softmmu/accel/tcg/cpu-exec.o CC aarch64-softmmu/accel/tcg/cpu-exec-common.o CC x86_64-softmmu/hw/vfio/pci-quirks.o CC x86_64-softmmu/hw/vfio/platform.o CC x86_64-softmmu/hw/vfio/spapr.o CC aarch64-softmmu/accel/tcg/translate-all.o CC x86_64-softmmu/hw/virtio/virtio.o CC aarch64-softmmu/accel/tcg/translator.o CC x86_64-softmmu/hw/virtio/virtio-balloon.o CC aarch64-softmmu/hw/adc/stm32f2xx_adc.o CC aarch64-softmmu/hw/block/virtio-blk.o CC aarch64-softmmu/hw/block/dataplane/virtio-blk.o CC aarch64-softmmu/hw/char/exynos4210_uart.o CC x86_64-softmmu/hw/virtio/vhost.o CC x86_64-softmmu/hw/virtio/vhost-backend.o CC x86_64-softmmu/hw/virtio/vhost-user.o CC x86_64-softmmu/hw/virtio/vhost-vsock.o CC x86_64-softmmu/hw/virtio/virtio-crypto.o CC aarch64-softmmu/hw/char/omap_uart.o CC x86_64-softmmu/hw/virtio/virtio-crypto-pci.o CC x86_64-softmmu/hw/i386/multiboot.o CC x86_64-softmmu/hw/i386/pc.o CC x86_64-softmmu/hw/i386/pc_piix.o CC aarch64-softmmu/hw/char/digic-uart.o CC x86_64-softmmu/hw/i386/pc_q35.o CC x86_64-softmmu/hw/i386/pc_sysfw.o CC x86_64-softmmu/hw/i386/x86-iommu.o CC x86_64-softmmu/hw/i386/intel_iommu.o CC aarch64-softmmu/hw/char/stm32f2xx_usart.o CC x86_64-softmmu/hw/i386/amd_iommu.o CC x86_64-softmmu/hw/i386/vmport.o CC x86_64-softmmu/hw/i386/vmmouse.o CC aarch64-softmmu/hw/char/bcm2835_aux.o CC x86_64-softmmu/hw/i386/kvmvapic.o CC x86_64-softmmu/hw/i386/acpi-build.o /tmp/qemu-test/src/hw/i386/pc_piix.c: In function 'igd_passthrough_isa_bridge_create': /tmp/qemu-test/src/hw/i386/pc_piix.c:1073: warning: 'pch_rev_id' may be used uninitialized in this function CC x86_64-softmmu/hw/i386/kvm/clock.o CC x86_64-softmmu/hw/i386/kvm/apic.o CC x86_64-softmmu/hw/i386/kvm/i8259.o CC aarch64-softmmu/hw/char/virtio-serial-bus.o CC x86_64-softmmu/hw/i386/kvm/ioapic.o CC x86_64-softmmu/hw/i386/kvm/i8254.o CC x86_64-softmmu/target/i386/helper.o CC x86_64-softmmu/target/i386/cpu.o CC x86_64-softmmu/target/i386/gdbstub.o CC x86_64-softmmu/target/i386/xsave_helper.o CC x86_64-softmmu/target/i386/translate.o CC x86_64-softmmu/target/i386/bpt_helper.o CC x86_64-softmmu/target/i386/cc_helper.o CC aarch64-softmmu/hw/core/generic-loader.o CC x86_64-softmmu/target/i386/excp_helper.o /tmp/qemu-test/src/hw/i386/acpi-build.c: In function 'build_append_pci_bus_devices': /tmp/qemu-test/src/hw/i386/acpi-build.c:509: warning: 'notify_method' may be used uninitialized in this function CC x86_64-softmmu/target/i386/fpu_helper.o CC x86_64-softmmu/target/i386/int_helper.o CC x86_64-softmmu/target/i386/mem_helper.o CC aarch64-softmmu/hw/core/null-machine.o CC x86_64-softmmu/target/i386/misc_helper.o CC x86_64-softmmu/target/i386/mpx_helper.o CC x86_64-softmmu/target/i386/seg_helper.o CC x86_64-softmmu/target/i386/smm_helper.o CC aarch64-softmmu/hw/cpu/arm11mpcore.o CC x86_64-softmmu/target/i386/svm_helper.o CC aarch64-softmmu/hw/cpu/realview_mpcore.o CC x86_64-softmmu/target/i386/machine.o CC x86_64-softmmu/target/i386/arch_memory_mapping.o CC x86_64-softmmu/target/i386/arch_dump.o CC aarch64-softmmu/hw/cpu/a9mpcore.o CC x86_64-softmmu/target/i386/monitor.o CC x86_64-softmmu/target/i386/kvm.o CC aarch64-softmmu/hw/cpu/a15mpcore.o CC x86_64-softmmu/target/i386/hyperv.o CC aarch64-softmmu/hw/display/omap_dss.o CC aarch64-softmmu/hw/display/omap_lcdc.o CC aarch64-softmmu/hw/display/pxa2xx_lcd.o CC aarch64-softmmu/hw/display/bcm2835_fb.o GEN trace/generated-helpers.c CC aarch64-softmmu/hw/display/vga.o CC x86_64-softmmu/trace/control-target.o CC aarch64-softmmu/hw/display/virtio-gpu.o CC aarch64-softmmu/hw/display/virtio-gpu-3d.o CC aarch64-softmmu/hw/display/virtio-gpu-pci.o CC aarch64-softmmu/hw/display/dpcd.o CC aarch64-softmmu/hw/display/xlnx_dp.o CC aarch64-softmmu/hw/dma/xlnx_dpdma.o CC aarch64-softmmu/hw/dma/omap_dma.o CC aarch64-softmmu/hw/dma/soc_dma.o CC aarch64-softmmu/hw/dma/pxa2xx_dma.o CC aarch64-softmmu/hw/dma/bcm2835_dma.o CC x86_64-softmmu/gdbstub-xml.o CC aarch64-softmmu/hw/gpio/omap_gpio.o CC aarch64-softmmu/hw/gpio/imx_gpio.o CC x86_64-softmmu/trace/generated-helpers.o CC aarch64-softmmu/hw/gpio/bcm2835_gpio.o CC aarch64-softmmu/hw/i2c/omap_i2c.o CC aarch64-softmmu/hw/input/pxa2xx_keypad.o CC aarch64-softmmu/hw/input/tsc210x.o CC aarch64-softmmu/hw/intc/armv7m_nvic.o CC aarch64-softmmu/hw/intc/exynos4210_gic.o CC aarch64-softmmu/hw/intc/exynos4210_combiner.o CC aarch64-softmmu/hw/intc/omap_intc.o CC aarch64-softmmu/hw/intc/bcm2835_ic.o CC aarch64-softmmu/hw/intc/bcm2836_control.o CC aarch64-softmmu/hw/intc/allwinner-a10-pic.o CC aarch64-softmmu/hw/intc/aspeed_vic.o CC aarch64-softmmu/hw/intc/arm_gicv3_cpuif.o CC aarch64-softmmu/hw/misc/ivshmem.o CC aarch64-softmmu/hw/misc/arm_sysctl.o CC aarch64-softmmu/hw/misc/cbus.o CC aarch64-softmmu/hw/misc/exynos4210_pmu.o CC aarch64-softmmu/hw/misc/exynos4210_clk.o CC aarch64-softmmu/hw/misc/exynos4210_rng.o CC aarch64-softmmu/hw/misc/imx_ccm.o CC aarch64-softmmu/hw/misc/imx31_ccm.o CC aarch64-softmmu/hw/misc/imx25_ccm.o CC aarch64-softmmu/hw/misc/imx6_ccm.o CC aarch64-softmmu/hw/misc/imx6_src.o CC aarch64-softmmu/hw/misc/mst_fpga.o CC aarch64-softmmu/hw/misc/omap_clk.o CC aarch64-softmmu/hw/misc/omap_gpmc.o CC aarch64-softmmu/hw/misc/omap_l4.o CC aarch64-softmmu/hw/misc/omap_sdrc.o CC aarch64-softmmu/hw/misc/omap_tap.o CC aarch64-softmmu/hw/misc/bcm2835_mbox.o CC aarch64-softmmu/hw/misc/bcm2835_property.o CC aarch64-softmmu/hw/misc/bcm2835_rng.o CC aarch64-softmmu/hw/misc/zynq_slcr.o CC aarch64-softmmu/hw/misc/zynq-xadc.o CC aarch64-softmmu/hw/misc/stm32f2xx_syscfg.o LINK x86_64-softmmu/qemu-system-x86_64 CC aarch64-softmmu/hw/misc/mps2-scc.o CC aarch64-softmmu/hw/misc/auxbus.o CC aarch64-softmmu/hw/misc/aspeed_scu.o CC aarch64-softmmu/hw/misc/aspeed_sdmc.o CC aarch64-softmmu/hw/misc/mmio_interface.o CC aarch64-softmmu/hw/misc/msf2-sysreg.o CC aarch64-softmmu/hw/net/virtio-net.o CC aarch64-softmmu/hw/net/vhost_net.o CC aarch64-softmmu/hw/pcmcia/pxa2xx.o CC aarch64-softmmu/hw/scsi/virtio-scsi.o CC aarch64-softmmu/hw/scsi/virtio-scsi-dataplane.o CC aarch64-softmmu/hw/scsi/vhost-scsi-common.o CC aarch64-softmmu/hw/scsi/vhost-scsi.o CC aarch64-softmmu/hw/scsi/vhost-user-scsi.o CC aarch64-softmmu/hw/sd/omap_mmc.o CC aarch64-softmmu/hw/sd/pxa2xx_mmci.o CC aarch64-softmmu/hw/sd/bcm2835_sdhost.o CC aarch64-softmmu/hw/ssi/omap_spi.o CC aarch64-softmmu/hw/ssi/imx_spi.o CC aarch64-softmmu/hw/timer/exynos4210_mct.o CC aarch64-softmmu/hw/timer/exynos4210_pwm.o CC aarch64-softmmu/hw/timer/exynos4210_rtc.o CC aarch64-softmmu/hw/timer/omap_gptimer.o CC aarch64-softmmu/hw/timer/omap_synctimer.o CC aarch64-softmmu/hw/timer/pxa2xx_timer.o CC aarch64-softmmu/hw/timer/digic-timer.o CC aarch64-softmmu/hw/timer/allwinner-a10-pit.o CC aarch64-softmmu/hw/usb/tusb6010.o CC aarch64-softmmu/hw/vfio/common.o CC aarch64-softmmu/hw/vfio/pci.o CC aarch64-softmmu/hw/vfio/pci-quirks.o CC aarch64-softmmu/hw/vfio/platform.o CC aarch64-softmmu/hw/vfio/calxeda-xgmac.o CC aarch64-softmmu/hw/vfio/amd-xgbe.o CC aarch64-softmmu/hw/vfio/spapr.o CC aarch64-softmmu/hw/virtio/virtio.o CC aarch64-softmmu/hw/virtio/virtio-balloon.o CC aarch64-softmmu/hw/virtio/vhost.o CC aarch64-softmmu/hw/virtio/vhost-backend.o CC aarch64-softmmu/hw/virtio/vhost-user.o CC aarch64-softmmu/hw/virtio/vhost-vsock.o CC aarch64-softmmu/hw/virtio/virtio-crypto.o CC aarch64-softmmu/hw/virtio/virtio-crypto-pci.o CC aarch64-softmmu/hw/arm/boot.o CC aarch64-softmmu/hw/arm/collie.o CC aarch64-softmmu/hw/arm/exynos4_boards.o CC aarch64-softmmu/hw/arm/gumstix.o CC aarch64-softmmu/hw/arm/highbank.o CC aarch64-softmmu/hw/arm/digic_boards.o CC aarch64-softmmu/hw/arm/integratorcp.o CC aarch64-softmmu/hw/arm/mainstone.o CC aarch64-softmmu/hw/arm/musicpal.o CC aarch64-softmmu/hw/arm/nseries.o CC aarch64-softmmu/hw/arm/omap_sx1.o CC aarch64-softmmu/hw/arm/palm.o CC aarch64-softmmu/hw/arm/realview.o CC aarch64-softmmu/hw/arm/spitz.o CC aarch64-softmmu/hw/arm/stellaris.o CC aarch64-softmmu/hw/arm/tosa.o CC aarch64-softmmu/hw/arm/versatilepb.o CC aarch64-softmmu/hw/arm/vexpress.o CC aarch64-softmmu/hw/arm/virt.o CC aarch64-softmmu/hw/arm/xilinx_zynq.o CC aarch64-softmmu/hw/arm/z2.o CC aarch64-softmmu/hw/arm/virt-acpi-build.o CC aarch64-softmmu/hw/arm/netduino2.o CC aarch64-softmmu/hw/arm/sysbus-fdt.o CC aarch64-softmmu/hw/arm/armv7m.o CC aarch64-softmmu/hw/arm/exynos4210.o CC aarch64-softmmu/hw/arm/pxa2xx.o CC aarch64-softmmu/hw/arm/pxa2xx_gpio.o CC aarch64-softmmu/hw/arm/pxa2xx_pic.o CC aarch64-softmmu/hw/arm/digic.o CC aarch64-softmmu/hw/arm/omap1.o CC aarch64-softmmu/hw/arm/omap2.o CC aarch64-softmmu/hw/arm/strongarm.o CC aarch64-softmmu/hw/arm/allwinner-a10.o CC aarch64-softmmu/hw/arm/cubieboard.o CC aarch64-softmmu/hw/arm/bcm2835_peripherals.o CC aarch64-softmmu/hw/arm/bcm2836.o CC aarch64-softmmu/hw/arm/raspi.o CC aarch64-softmmu/hw/arm/stm32f205_soc.o CC aarch64-softmmu/hw/arm/xlnx-zynqmp.o CC aarch64-softmmu/hw/arm/xlnx-zcu102.o CC aarch64-softmmu/hw/arm/fsl-imx25.o CC aarch64-softmmu/hw/arm/imx25_pdk.o CC aarch64-softmmu/hw/arm/fsl-imx31.o CC aarch64-softmmu/hw/arm/kzm.o CC aarch64-softmmu/hw/arm/fsl-imx6.o CC aarch64-softmmu/hw/arm/sabrelite.o CC aarch64-softmmu/hw/arm/aspeed_soc.o CC aarch64-softmmu/hw/arm/aspeed.o CC aarch64-softmmu/hw/arm/msf2-soc.o CC aarch64-softmmu/hw/arm/mps2.o CC aarch64-softmmu/hw/arm/msf2-som.o CC aarch64-softmmu/target/arm/arm-semi.o CC aarch64-softmmu/target/arm/machine.o CC aarch64-softmmu/target/arm/psci.o CC aarch64-softmmu/target/arm/arch_dump.o CC aarch64-softmmu/target/arm/monitor.o CC aarch64-softmmu/target/arm/kvm-stub.o CC aarch64-softmmu/target/arm/translate.o CC aarch64-softmmu/target/arm/op_helper.o CC aarch64-softmmu/target/arm/helper.o CC aarch64-softmmu/target/arm/cpu.o CC aarch64-softmmu/target/arm/neon_helper.o CC aarch64-softmmu/target/arm/iwmmxt_helper.o CC aarch64-softmmu/target/arm/gdbstub.o CC aarch64-softmmu/target/arm/cpu64.o CC aarch64-softmmu/target/arm/translate-a64.o CC aarch64-softmmu/target/arm/helper-a64.o CC aarch64-softmmu/target/arm/gdbstub64.o CC aarch64-softmmu/target/arm/crypto_helper.o CC aarch64-softmmu/target/arm/arm-powerctl.o GEN trace/generated-helpers.c CC aarch64-softmmu/trace/control-target.o CC aarch64-softmmu/gdbstub-xml.o CC aarch64-softmmu/trace/generated-helpers.o
/tmp/qemu-test/src/target/arm/translate-a64.c: In function 'handle_shri_with_rndacc':/tmp/qemu-test/src/target/arm/translate-a64.c:6392: warning: 'tcg_src_hi' may be used uninitialized in this function/tmp/qemu-test/src/target/arm/translate-a64.c: In function 'disas_simd_scalar_two_reg_misc':/tmp/qemu-test/src/target/arm/translate-a64.c:8119: warning: 'rmode' may be used uninitialized in this function
LINK aarch64-softmmu/qemu-system-aarch64
mkdir -p dtc/libfdt
mkdir -p dtc/tests
LEX convert-dtsv0-lexer.lex.c
make[1]: flex: Command not found
make[1]: bison: Command not found
BISON dtc-parser.tab.c
LEX dtc-lexer.lex.c
make[1]: flex: Command not found
install -d -m 0755 "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/share/qemu"
install -d -m 0755 "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/var"/run
install -d -m 0755 "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/bin"
install -c -m 0755 qemu-ga ivshmem-client ivshmem-server qemu-nbd qemu-img qemu-io scsi/qemu-pr-helper "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/bin"
strip "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/bin/qemu-ga" "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/bin/ivshmem-client" "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/bin/ivshmem-server" "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/bin/qemu-nbd" "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/bin/qemu-img" "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/bin/qemu-io" "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/bin/qemu-pr-helper" install -d -m 0755 "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/libexec"
install -c -m 0755 qemu-bridge-helper "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/libexec"
strip "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/libexec/qemu-bridge-helper"
set -e; for x in bios.bin bios-256k.bin sgabios.bin vgabios.bin vgabios-cirrus.bin vgabios-stdvga.bin vgabios-vmware.bin vgabios-qxl.bin vgabios-virtio.bin acpi-dsdt.aml ppc_rom.bin openbios-sparc32 openbios-sparc64 openbios-ppc QEMU,tcx.bin QEMU,cgthree.bin pxe-e1000.rom pxe-eepro100.rom pxe-ne2k_pci.rom pxe-pcnet.rom pxe-rtl8139.rom pxe-virtio.rom efi-e1000.rom efi-eepro100.rom efi-ne2k_pci.rom efi-pcnet.rom efi-rtl8139.rom efi-virtio.rom efi-e1000e.rom efi-vmxnet3.rom qemu-icon.bmp qemu_logo_no_text.svg bamboo.dtb petalogix-s3adsp1800.dtb petalogix-ml605.dtb multiboot.bin linuxboot.bin linuxboot_dma.bin kvmvapic.bin s390-ccw.img s390-netboot.img spapr-rtas.bin slof.bin skiboot.lid palcode-clipper u-boot.e500 qemu_vga.ndrv; do \
install -c -m 0644 /tmp/qemu-test/src/pc-bios/$x "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/share/qemu"; \
done
install -d -m 0755 "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/share/qemu/keymaps"
set -e; for x in da en-gb et fr fr-ch is lt modifiers no pt-br sv ar de en-us fi fr-be hr it lv nl pl ru th common de-ch es fo fr-ca hu ja mk nl-be pt sl tr bepo cz; do \
install -c -m 0644 /tmp/qemu-test/src/pc-bios/keymaps/$x "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/share/qemu/keymaps"; \
done
install -c -m 0644 /tmp/qemu-test/build/trace-events-all "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/share/qemu/trace-events-all"
for d in x86_64-softmmu aarch64-softmmu; do \
make --no-print-directory BUILD_DIR=/tmp/qemu-test/build TARGET_DIR=$d/ -C $d install || exit 1 ; \
doneinstall -d -m 0755 "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/bin" install -c -m 0755 qemu-system-x86_64 "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/bin" strip "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/bin/qemu-system-x86_64" install -d -m 0755 "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/bin" install -c -m 0755 qemu-system-aarch64 "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/bin" strip "/tmp/qemu-test/build/=destdir/tmp/qemu-test/install/bin/qemu-system-aarch64"
CLEANUP /var/tmp/patchew-tester-tmp-h0o1gg04/src/docker-src.2017-12-20-14.07.35.14846
make[1]: Leaving directory '/var/tmp/patchew-tester-tmp-h0o1gg04/src'
real 3m4.289s
user 0m4.879s
sys 0m3.969s
BUILD fedora
make[1]: Entering directory '/var/tmp/patchew-tester-tmp-h0o1gg04/src'
GEN /var/tmp/patchew-tester-tmp-h0o1gg04/src/docker-src.2017-12-20-14.10.40.26860/qemu.tar
Cloning into '/var/tmp/patchew-tester-tmp-h0o1gg04/src/docker-src.2017-12-20-14.10.40.26860/qemu.tar.vroot'... done.
Your branch is up-to-date with 'origin/test'.
Submodule 'dtc' (git://git.qemu-project.org/dtc.git) registered for path 'dtc'
Cloning into '/var/tmp/patchew-tester-tmp-h0o1gg04/src/docker-src.2017-12-20-14.10.40.26860/qemu.tar.vroot/dtc'... Submodule path 'dtc': checked out '558cd81bdd432769b59bff01240c44f82cfb1a9d'
Submodule 'ui/keycodemapdb' (git://git.qemu.org/keycodemapdb.git) registered for path 'ui/keycodemapdb' Cloning into '/var/tmp/patchew-tester-tmp-h0o1gg04/src/docker-src.2017-12-20-14.10.40.26860/qemu.tar.vroot/ui/keycodemapdb'... Submodule path 'ui/keycodemapdb': checked out '10739aa26051a5d49d88132604539d3ed085e72e'
COPY RUNNER
RUN test-mingw in qemu:fedora
Packages installed:
PyYAML-3.11-13.fc25.x86_64
SDL-devel-1.2.15-21.fc24.x86_64
bc-1.06.95-16.fc24.x86_64
bison-3.0.4-4.fc24.x86_64
bzip2-1.0.6-21.fc25.x86_64
ccache-3.3.4-1.fc25.x86_64
clang-3.9.1-2.fc25.x86_64
findutils-4.6.0-8.fc25.x86_64
flex-2.6.0-3.fc25.x86_64
gcc-6.4.1-1.fc25.x86_64
gcc-c++-6.4.1-1.fc25.x86_64
gettext-0.19.8.1-3.fc25.x86_64
git-2.9.5-1.fc25.x86_64
glib2-devel-2.50.3-1.fc25.x86_64
hostname-3.15-8.fc25.x86_64
libaio-devel-0.3.110-6.fc24.x86_64
libfdt-devel-1.4.2-1.fc25.x86_64
make-4.1-6.fc25.x86_64
mingw32-SDL-1.2.15-7.fc24.noarch
mingw32-bzip2-1.0.6-7.fc24.noarch
mingw32-curl-7.47.0-1.fc24.noarch
mingw32-glib2-2.50.3-1.fc25.noarch
mingw32-gmp-6.1.1-1.fc25.noarch
mingw32-gnutls-3.5.5-2.fc25.noarch
mingw32-gtk2-2.24.31-2.fc25.noarch
mingw32-gtk3-3.22.17-1.fc25.noarch
mingw32-libjpeg-turbo-1.5.1-1.fc25.noarch
mingw32-libpng-1.6.27-1.fc25.noarch
mingw32-libssh2-1.4.3-5.fc24.noarch
mingw32-libtasn1-4.9-1.fc25.noarch
mingw32-nettle-3.3-1.fc25.noarch
mingw32-pixman-0.34.0-1.fc25.noarch
mingw32-pkg-config-0.28-6.fc24.x86_64
mingw64-SDL-1.2.15-7.fc24.noarch
mingw64-bzip2-1.0.6-7.fc24.noarch
mingw64-curl-7.47.0-1.fc24.noarch
mingw64-glib2-2.50.3-1.fc25.noarch
mingw64-gmp-6.1.1-1.fc25.noarch
mingw64-gnutls-3.5.5-2.fc25.noarch
mingw64-gtk2-2.24.31-2.fc25.noarch
mingw64-gtk3-3.22.17-1.fc25.noarch
mingw64-libjpeg-turbo-1.5.1-1.fc25.noarch
mingw64-libpng-1.6.27-1.fc25.noarch
mingw64-libssh2-1.4.3-5.fc24.noarch
mingw64-libtasn1-4.9-1.fc25.noarch
mingw64-nettle-3.3-1.fc25.noarch
mingw64-pixman-0.34.0-1.fc25.noarch
mingw64-pkg-config-0.28-6.fc24.x86_64
nettle-devel-3.3-1.fc25.x86_64
package python2 is not installed
perl-5.24.2-387.fc25.x86_64
pixman-devel-0.34.0-2.fc24.x86_64
sparse-0.5.0-10.fc25.x86_64
tar-1.29-3.fc25.x86_64
which-2.21-1.fc25.x86_64
zlib-devel-1.2.8-10.fc24.x86_64
Environment variables:
PACKAGES=ccache gettext git tar PyYAML sparse flex bison python2 bzip2 hostname glib2-devel pixman-devel zlib-devel SDL-devel libfdt-devel gcc gcc-c++ clang make perl which bc findutils libaio-devel nettle-devel mingw32-pixman mingw32-glib2 mingw32-gmp mingw32-SDL mingw32-pkg-config mingw32-gtk2 mingw32-gtk3 mingw32-gnutls mingw32-nettle mingw32-libtasn1 mingw32-libjpeg-turbo mingw32-libpng mingw32-curl mingw32-libssh2 mingw32-bzip2 mingw64-pixman mingw64-glib2 mingw64-gmp mingw64-SDL mingw64-pkg-config mingw64-gtk2 mingw64-gtk3 mingw64-gnutls mingw64-nettle mingw64-libtasn1 mingw64-libjpeg-turbo mingw64-libpng mingw64-curl mingw64-libssh2 mingw64-bzip2
HOSTNAME=c942aa822fb7
MAKEFLAGS= -j8
J=8
CCACHE_DIR=/var/tmp/ccache
EXTRA_CONFIGURE_OPTS=
V=
SHOW_ENV=1 PATH=/usr/lib/ccache:/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PWD=/
TARGET_LIST=
FGC=f25
SHLVL=1
HOME=/root
TEST_DIR=/tmp/qemu-test
DISTTAG=f25container
FEATURES=mingw clang pyyaml dtc
DEBUG=
_=/usr/bin/env
Configure options:
--enable-werror --target-list=x86_64-softmmu,aarch64-softmmu --prefix=/tmp/qemu-test/install --cross-prefix=x86_64-w64-mingw32- --enable-trace-backends=simple --enable-debug --enable-gnutls --enable-nettle --enable-curl --enable-vnc --enable-bzip2 --enable-guest-agent --with-sdlabi=1.2 --with-gtkabi=2.0
Install prefix /tmp/qemu-test/install BIOS directory /tmp/qemu-test/install firmware path /tmp/qemu-test/install/share/qemu-firmware binary directory /tmp/qemu-test/install
library directory /tmp/qemu-test/install/lib
module directory /tmp/qemu-test/install/lib
libexec directory /tmp/qemu-test/install/libexec
include directory /tmp/qemu-test/install/include
config directory /tmp/qemu-test/install
local state directory queried at runtime
Windows SDK no Source path /tmp/qemu-test/src GIT binary git GIT submodules C compiler x86_64-w64-mingw32-gcc Host C compiler cc C++ compiler x86_64-w64-mingw32-g++ Objective-C compiler clang ARFLAGS rv CFLAGS -g QEMU_CFLAGS -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/pixman-1 -I$(SRC_PATH)/dtc/libfdt -Werror -mms-bitfields -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/glib-2.0 -I/usr/x86_64-w64-mingw32/sys-root/mingw/lib/glib-2.0/include -I/usr/x86_64-w64-mingw32/sys-root/mingw/include -m64 -mcx16 -mthreads -D__USE_MINGW_ANSI_STDIO=1 -DWIN32_LEAN_AND_MEAN -DWINVER=0x501 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -Wendif-labels -Wno-shift-negative-value -Wno-missing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -I/usr/x86_64-w64-mingw32/sys-root/mingw/include -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/p11-kit-1 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include -I/usr/x86_64-w64-mingw32/sys-root/mingw/include -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/libpng16 LDFLAGS -Wl,--nxcompat -Wl,--no-seh -Wl,--dynamicbase -Wl,--warn-common -m64 -g make make install install python python -B smbd /usr/sbin/smbd module support no host CPU x86_64 host big endian no target list x86_64-softmmu aarch64-softmmu gprof enabled no sparse enabled no strip binaries no profiler no static build no SDL support yes (1.2.15) GTK support yes (2.24.31) GTK GL support no VTE support no TLS priority NORMAL GNUTLS support yes GNUTLS rnd yes libgcrypt no libgcrypt kdf no nettle yes (3.3) nettle kdf yes libtasn1 yes curses support no virgl support no curl support yes mingw32 support yes Audio drivers dsound
Block whitelist (rw)
Block whitelist (ro)
VirtFS support no
Multipath support no
VNC support yes VNC SASL support no VNC JPEG support yes VNC PNG support yes xen support no brlapi support no bluez support no Documentation no PIE no vde support no netmap support no Linux AIO support no ATTR/XATTR support no Install blobs yes KVM support no HAX support yes TCG support yes TCG debug enabled yes TCG interpreter no HVF support no RDMA support no fdt support yes preadv support no fdatasync no madvise no posix_madvise no
libcap-ng support no
vhost-net support no
vhost-scsi support no
vhost-vsock support no
vhost-user support no
Trace backends simple
Trace output file trace-<pid>
spice support no rbd support no xfsctl support no smartcard support no libusb no usb net redir no OpenGL support no OpenGL dmabufs no libiscsi support no libnfs support no
build guest agent yes
QGA VSS support no
QGA w32 disk info yes
QGA MSI support no
seccomp support no
coroutine backend win32
coroutine pool yes
debug stack usage no
crypto afalg no
GlusterFS support no
gcov gcov gcov enabled no TPM support yes libssh2 support yes TPM passthrough no TPM emulator no QOM debugging yes Live block migration yes lzo support no snappy support no bzip2 support yes
NUMA host support no
tcmalloc support no
jemalloc support no
avx2 optimization yes
replication support yes
VxHS block device no
capstone no
mkdir -p dtc/libfdt
mkdir -p dtc/tests
GEN x86_64-softmmu/config-devices.mak.tmp GEN config-host.h GEN qemu-options.def GEN qapi-types.h GEN qmp-commands.h GEN qapi-visit.h GEN aarch64-softmmu/config-devices.mak.tmp GEN qapi-event.h GEN x86_64-softmmu/config-devices.mak GEN qmp-marshal.c GEN aarch64-softmmu/config-devices.mak GEN qapi-types.c GEN qapi-visit.c GEN qapi-event.c GEN qmp-introspect.h GEN qmp-introspect.c GEN trace/generated-tcg-tracers.h GEN trace/generated-helpers-wrappers.h GEN trace/generated-helpers.h GEN trace/generated-helpers.c GEN module_block.h GEN ui/input-keymap-linux-to-qcode.c GEN ui/input-keymap-qcode-to-qnum.c GEN ui/input-keymap-qnum-to-qcode.c GEN ui/input-keymap-qcode-to-linux.c GEN tests/test-qapi-types.h GEN tests/test-qapi-visit.h GEN tests/test-qmp-commands.h GEN tests/test-qapi-event.h GEN tests/test-qmp-introspect.h GEN trace-root.h GEN util/trace.h GEN crypto/trace.h GEN io/trace.h GEN migration/trace.h GEN block/trace.h GEN chardev/trace.h GEN hw/block/trace.h GEN hw/block/dataplane/trace.h GEN hw/char/trace.h GEN hw/intc/trace.h GEN hw/net/trace.h GEN hw/virtio/trace.h GEN hw/misc/trace.h GEN hw/audio/trace.h GEN hw/usb/trace.h GEN hw/scsi/trace.h GEN hw/nvram/trace.h GEN hw/display/trace.h GEN hw/input/trace.h GEN hw/timer/trace.h GEN hw/dma/trace.h GEN hw/sparc/trace.h GEN hw/sd/trace.h GEN hw/isa/trace.h GEN hw/mem/trace.h GEN hw/i386/trace.h GEN hw/i386/xen/trace.h GEN hw/9pfs/trace.h GEN hw/ppc/trace.h GEN hw/pci/trace.h GEN hw/s390x/trace.h GEN hw/vfio/trace.h GEN hw/acpi/trace.h GEN hw/arm/trace.h GEN hw/alpha/trace.h GEN hw/xen/trace.h GEN hw/ide/trace.h GEN ui/trace.h GEN audio/trace.h GEN net/trace.h GEN target/arm/trace.h GEN target/i386/trace.h GEN target/mips/trace.h GEN target/sparc/trace.h GEN target/s390x/trace.h GEN target/ppc/trace.h GEN qom/trace.h GEN linux-user/trace.h GEN qapi/trace.h GEN accel/tcg/trace.h GEN accel/kvm/trace.h GEN nbd/trace.h GEN scsi/trace.h GEN trace-root.c GEN util/trace.c GEN crypto/trace.c GEN io/trace.c GEN migration/trace.c GEN block/trace.c GEN chardev/trace.c GEN hw/block/trace.c GEN hw/block/dataplane/trace.c GEN hw/char/trace.c GEN hw/intc/trace.c GEN hw/net/trace.c GEN hw/virtio/trace.c GEN hw/audio/trace.c GEN hw/misc/trace.c GEN hw/usb/trace.c GEN hw/scsi/trace.c GEN hw/nvram/trace.c GEN hw/display/trace.c GEN hw/input/trace.c GEN hw/timer/trace.c GEN hw/dma/trace.c GEN hw/sparc/trace.c GEN hw/sd/trace.c GEN hw/isa/trace.c GEN hw/mem/trace.c GEN hw/i386/trace.c GEN hw/i386/xen/trace.c GEN hw/9pfs/trace.c GEN hw/ppc/trace.c GEN hw/pci/trace.c GEN hw/s390x/trace.c GEN hw/vfio/trace.c GEN hw/acpi/trace.c GEN hw/arm/trace.c GEN hw/alpha/trace.c GEN hw/xen/trace.c GEN hw/ide/trace.c GEN ui/trace.c GEN audio/trace.c GEN net/trace.c GEN target/arm/trace.c GEN target/i386/trace.c GEN target/mips/trace.c GEN target/sparc/trace.c GEN target/s390x/trace.c GEN target/ppc/trace.c GEN qom/trace.c GEN linux-user/trace.c GEN qapi/trace.c GEN accel/tcg/trace.c GEN accel/kvm/trace.c GEN nbd/trace.c GEN scsi/trace.c GEN config-all-devices.mak
DEP /tmp/qemu-test/src/dtc/tests/dumptrees.c
DEP /tmp/qemu-test/src/dtc/tests/trees.S
DEP /tmp/qemu-test/src/dtc/tests/testutils.c
DEP /tmp/qemu-test/src/dtc/tests/value-labels.c DEP /tmp/qemu-test/src/dtc/tests/asm_tree_dump.c DEP /tmp/qemu-test/src/dtc/tests/truncated_property.c DEP /tmp/qemu-test/src/dtc/tests/check_path.c
DEP /tmp/qemu-test/src/dtc/tests/overlay_bad_fixup.c DEP /tmp/qemu-test/src/dtc/tests/overlay.c
DEP /tmp/qemu-test/src/dtc/tests/subnode_iterate.c DEP /tmp/qemu-test/src/dtc/tests/property_iterate.c DEP /tmp/qemu-test/src/dtc/tests/integer-expressions.c DEP /tmp/qemu-test/src/dtc/tests/utilfdt_test.c DEP /tmp/qemu-test/src/dtc/tests/path_offset_aliases.c DEP /tmp/qemu-test/src/dtc/tests/add_subnode_with_nops.c DEP /tmp/qemu-test/src/dtc/tests/dtbs_equal_unordered.c DEP /tmp/qemu-test/src/dtc/tests/dtb_reverse.c DEP /tmp/qemu-test/src/dtc/tests/dtbs_equal_ordered.c DEP /tmp/qemu-test/src/dtc/tests/extra-terminating-null.c DEP /tmp/qemu-test/src/dtc/tests/incbin.c
DEP /tmp/qemu-test/src/dtc/tests/boot-cpuid.c
DEP /tmp/qemu-test/src/dtc/tests/phandle_format.c DEP /tmp/qemu-test/src/dtc/tests/path-references.c DEP /tmp/qemu-test/src/dtc/tests/references.c
DEP /tmp/qemu-test/src/dtc/tests/string_escapes.c DEP /tmp/qemu-test/src/dtc/tests/propname_escapes.c DEP /tmp/qemu-test/src/dtc/tests/appendprop2.c DEP /tmp/qemu-test/src/dtc/tests/appendprop1.c DEP /tmp/qemu-test/src/dtc/tests/del_node.c
DEP /tmp/qemu-test/src/dtc/tests/del_property.c DEP /tmp/qemu-test/src/dtc/tests/setprop.c
DEP /tmp/qemu-test/src/dtc/tests/set_name.c
DEP /tmp/qemu-test/src/dtc/tests/rw_tree1.c
DEP /tmp/qemu-test/src/dtc/tests/open_pack.c
DEP /tmp/qemu-test/src/dtc/tests/nopulate.c
DEP /tmp/qemu-test/src/dtc/tests/mangle-layout.c DEP /tmp/qemu-test/src/dtc/tests/move_and_save.c DEP /tmp/qemu-test/src/dtc/tests/sw_tree1.c
DEP /tmp/qemu-test/src/dtc/tests/nop_node.c
DEP /tmp/qemu-test/src/dtc/tests/nop_property.c DEP /tmp/qemu-test/src/dtc/tests/setprop_inplace.c DEP /tmp/qemu-test/src/dtc/tests/stringlist.c
DEP /tmp/qemu-test/src/dtc/tests/addr_size_cells.c DEP /tmp/qemu-test/src/dtc/tests/notfound.c
DEP /tmp/qemu-test/src/dtc/tests/sized_cells.c DEP /tmp/qemu-test/src/dtc/tests/char_literal.c DEP /tmp/qemu-test/src/dtc/tests/get_alias.c
DEP /tmp/qemu-test/src/dtc/tests/node_offset_by_compatible.c DEP /tmp/qemu-test/src/dtc/tests/node_check_compatible.c DEP /tmp/qemu-test/src/dtc/tests/node_offset_by_phandle.c DEP /tmp/qemu-test/src/dtc/tests/node_offset_by_prop_value.c DEP /tmp/qemu-test/src/dtc/tests/parent_offset.c DEP /tmp/qemu-test/src/dtc/tests/supernode_atdepth_offset.c DEP /tmp/qemu-test/src/dtc/tests/get_path.c
DEP /tmp/qemu-test/src/dtc/tests/get_phandle.c DEP /tmp/qemu-test/src/dtc/tests/getprop.c
DEP /tmp/qemu-test/src/dtc/tests/get_name.c
DEP /tmp/qemu-test/src/dtc/tests/path_offset.c DEP /tmp/qemu-test/src/dtc/tests/subnode_offset.c DEP /tmp/qemu-test/src/dtc/tests/find_property.c DEP /tmp/qemu-test/src/dtc/tests/root_node.c
DEP /tmp/qemu-test/src/dtc/tests/get_mem_rsv.c DEP /tmp/qemu-test/src/dtc/libfdt/fdt_overlay.c DEP /tmp/qemu-test/src/dtc/libfdt/fdt_addresses.c DEP /tmp/qemu-test/src/dtc/libfdt/fdt_empty_tree.c DEP /tmp/qemu-test/src/dtc/libfdt/fdt_strerror.c DEP /tmp/qemu-test/src/dtc/libfdt/fdt_rw.c
DEP /tmp/qemu-test/src/dtc/libfdt/fdt_sw.c
DEP /tmp/qemu-test/src/dtc/libfdt/fdt_wip.c
DEP /tmp/qemu-test/src/dtc/libfdt/fdt_ro.c
DEP /tmp/qemu-test/src/dtc/libfdt/fdt.c
DEP /tmp/qemu-test/src/dtc/util.c
DEP /tmp/qemu-test/src/dtc/fdtget.c
DEP /tmp/qemu-test/src/dtc/fdtput.c
DEP /tmp/qemu-test/src/dtc/fdtdump.c
LEX convert-dtsv0-lexer.lex.c
DEP /tmp/qemu-test/src/dtc/srcpos.c
BISON dtc-parser.tab.c
LEX dtc-lexer.lex.c
DEP /tmp/qemu-test/src/dtc/treesource.c
DEP /tmp/qemu-test/src/dtc/livetree.c
DEP /tmp/qemu-test/src/dtc/fstree.c
DEP /tmp/qemu-test/src/dtc/flattree.c
DEP /tmp/qemu-test/src/dtc/dtc.c
DEP /tmp/qemu-test/src/dtc/checks.c
DEP /tmp/qemu-test/src/dtc/data.c
DEP convert-dtsv0-lexer.lex.c
DEP dtc-parser.tab.c
DEP dtc-lexer.lex.c
CHK version_gen.h
UPD version_gen.h
DEP /tmp/qemu-test/src/dtc/util.c
CC libfdt/fdt.o
CC libfdt/fdt_ro.o
CC libfdt/fdt_wip.o
CC libfdt/fdt_rw.o
CC libfdt/fdt_strerror.o
CC libfdt/fdt_empty_tree.o
CC libfdt/fdt_sw.o
CC libfdt/fdt_addresses.o
CC libfdt/fdt_overlay.o
AR libfdt/libfdt.a
x86_64-w64-mingw32-ar: creating libfdt/libfdt.a
a - libfdt/fdt.o
a - libfdt/fdt_ro.o
a - libfdt/fdt_wip.o
a - libfdt/fdt_sw.o
a - libfdt/fdt_rw.o
a - libfdt/fdt_strerror.o
a - libfdt/fdt_empty_tree.o
a - libfdt/fdt_addresses.o
a - libfdt/fdt_overlay.o
RC version.o
mkdir -p dtc/libfdt
mkdir -p dtc/tests
GEN qga/qapi-generated/qga-qapi-types.h GEN qga/qapi-generated/qga-qapi-visit.h GEN qga/qapi-generated/qga-qapi-types.c GEN qga/qapi-generated/qga-qapi-visit.c GEN qga/qapi-generated/qga-qmp-marshal.c CC qmp-introspect.o GEN qga/qapi-generated/qga-qmp-commands.h CC qapi-types.o CC qapi-visit.o CC qapi/qapi-visit-core.o CC qapi-event.o CC qapi/qobject-input-visitor.o CC qapi/qapi-dealloc-visitor.o CC qapi/qobject-output-visitor.o CC qapi/qmp-registry.o CC qapi/qmp-dispatch.o CC qapi/string-input-visitor.o CC qapi/string-output-visitor.o CC qapi/opts-visitor.o CC qapi/qapi-clone-visitor.o CC qapi/qmp-event.o CC qapi/qapi-util.o CC qobject/qnull.o CC qobject/qnum.o CC qobject/qstring.o CC qobject/qdict.o CC qobject/qlist.o CC qobject/qbool.o CC qobject/qlit.o CC qobject/qjson.o CC qobject/qobject.o CC qobject/json-lexer.o CC qobject/json-streamer.o CC trace/simple.o CC qobject/json-parser.o CC trace/control.o CC trace/qmp.o CC util/osdep.o CC util/cutils.o CC util/unicode.o CC util/qemu-timer-common.o CC util/bufferiszero.o CC util/lockcnt.o CC util/aiocb.o CC util/async.o CC util/thread-pool.o CC util/qemu-timer.o CC util/main-loop.o CC util/iohandler.o CC util/aio-win32.o CC util/event_notifier-win32.o CC util/oslib-win32.o CC util/qemu-thread-win32.o CC util/envlist.o CC util/path.o CC util/module.o CC util/host-utils.o CC util/bitmap.o CC util/bitops.o CC util/hbitmap.o CC util/fifo8.o CC util/acl.o CC util/cacheinfo.o CC util/error.o CC util/qemu-error.o CC util/id.o CC util/iov.o CC util/qemu-config.o CC util/qemu-sockets.o CC util/uri.o CC util/notify.o CC util/qemu-option.o CC util/qemu-progress.o CC util/keyval.o CC util/hexdump.o CC util/crc32c.o CC util/uuid.o CC util/throttle.o CC util/getauxval.o CC util/readline.o CC util/rcu.o CC util/qemu-coroutine.o CC util/qemu-coroutine-lock.o CC util/qemu-coroutine-io.o CC util/qemu-coroutine-sleep.o CC util/coroutine-win32.o CC util/buffer.o CC util/timed-average.o CC util/base64.o CC util/log.o CC util/pagesize.o CC util/qdist.o CC util/qht.o CC util/range.o CC util/stats64.o CC util/systemd.o CC trace-root.o CC util/trace.o CC crypto/trace.o CC io/trace.o CC migration/trace.o CC block/trace.o CC chardev/trace.o CC hw/block/trace.o CC hw/block/dataplane/trace.o CC hw/char/trace.o CC hw/intc/trace.o CC hw/net/trace.o CC hw/virtio/trace.o CC hw/audio/trace.o CC hw/misc/trace.o CC hw/usb/trace.o CC hw/scsi/trace.o CC hw/nvram/trace.o CC hw/display/trace.o CC hw/input/trace.o CC hw/timer/trace.o CC hw/dma/trace.o CC hw/sparc/trace.o CC hw/sd/trace.o CC hw/isa/trace.o CC hw/mem/trace.o CC hw/i386/trace.o CC hw/i386/xen/trace.o CC hw/9pfs/trace.o CC hw/ppc/trace.o CC hw/pci/trace.o CC hw/s390x/trace.o CC hw/vfio/trace.o CC hw/acpi/trace.o CC hw/arm/trace.o CC hw/alpha/trace.o CC hw/xen/trace.o CC hw/ide/trace.o CC ui/trace.o CC audio/trace.o CC net/trace.o CC target/arm/trace.o CC target/i386/trace.o CC target/mips/trace.o CC target/sparc/trace.o CC target/s390x/trace.o CC target/ppc/trace.o CC qom/trace.o CC linux-user/trace.o CC qapi/trace.o CC accel/tcg/trace.o CC accel/kvm/trace.o CC nbd/trace.o CC scsi/trace.o CC crypto/pbkdf-stub.o CC stubs/arch-query-cpu-def.o CC stubs/arch-query-cpu-model-expansion.o CC stubs/arch-query-cpu-model-comparison.o CC stubs/arch-query-cpu-model-baseline.o CC stubs/bdrv-next-monitor-owned.o CC stubs/blk-commit-all.o CC stubs/blockdev-close-all-bdrv-states.o CC stubs/clock-warp.o CC stubs/cpu-get-clock.o CC stubs/cpu-get-icount.o CC stubs/dump.o CC stubs/error-printf.o CC stubs/fdset.o CC stubs/gdbstub.o CC stubs/get-vm-name.o CC stubs/iothread.o CC stubs/iothread-lock.o CC stubs/is-daemonized.o CC stubs/machine-init-done.o CC stubs/migr-blocker.o CC stubs/change-state-handler.o CC stubs/monitor.o CC stubs/notify-event.o CC stubs/qtest.o CC stubs/replay.o CC stubs/runstate-check.o CC stubs/set-fd-handler.o CC stubs/slirp.o CC stubs/sysbus.o CC stubs/tpm.o CC stubs/trace-control.o CC stubs/uuid.o CC stubs/vm-stop.o CC stubs/vmstate.o CC stubs/fd-register.o CC stubs/qmp_pc_dimm.o CC stubs/target-monitor-defs.o CC stubs/target-get-monitor-def.o CC stubs/pc_madt_cpu_entry.o CC stubs/vmgenid.o CC stubs/xen-common.o CC stubs/xen-hvm.o CC stubs/pci-host-piix.o GEN qemu-img-cmds.h CC block.o CC blockjob.o CC qemu-io-cmds.o CC replication.o CC block/raw-format.o CC block/qcow.o CC block/vdi.o CC block/vmdk.o CC block/cloop.o CC block/bochs.o CC block/vpc.o CC block/vvfat.o CC block/dmg.o CC block/qcow2.o CC block/qcow2-refcount.o CC block/qcow2-cluster.o CC block/qcow2-snapshot.o CC block/qcow2-cache.o CC block/qcow2-bitmap.o CC block/qed.o CC block/qed-l2-cache.o CC block/qed-table.o CC block/qed-cluster.o CC block/qed-check.o CC block/vhdx.o CC block/vhdx-endian.o CC block/vhdx-log.o CC block/quorum.o CC block/parallels.o CC block/blkdebug.o CC block/blkverify.o CC block/blkreplay.o CC block/block-backend.o CC block/snapshot.o CC block/qapi.o CC block/file-win32.o CC block/win32-aio.o CC block/null.o CC block/mirror.o CC block/commit.o CC block/io.o CC block/throttle-groups.o CC block/nbd.o CC block/nbd-client.o CC block/sheepdog.o CC block/accounting.o CC block/dirty-bitmap.o CC block/write-threshold.o CC block/backup.o CC block/replication.o CC block/throttle.o CC block/crypto.o CC nbd/server.o CC nbd/client.o CC nbd/common.o CC scsi/utils.o CC block/curl.o CC block/ssh.o CC block/dmg-bz2.o CC crypto/init.o CC crypto/hash.o CC crypto/hash-nettle.o CC crypto/hmac.o CC crypto/hmac-nettle.o CC crypto/aes.o CC crypto/desrfb.o CC crypto/cipher.o CC crypto/tlscreds.o CC crypto/tlscredsanon.o CC crypto/tlscredsx509.o CC crypto/tlssession.o CC crypto/secret.o CC crypto/random-gnutls.o CC crypto/pbkdf.o CC crypto/pbkdf-nettle.o CC crypto/ivgen.o CC crypto/ivgen-essiv.o CC crypto/ivgen-plain.o CC crypto/ivgen-plain64.o CC crypto/afsplit.o CC crypto/xts.o CC crypto/block.o CC crypto/block-qcow.o CC crypto/block-luks.o CC io/channel.o CC io/channel-buffer.o CC io/channel-command.o CC io/channel-file.o CC io/channel-socket.o CC io/channel-tls.o CC io/channel-watch.o CC io/channel-websock.o CC io/channel-util.o CC io/dns-resolver.o CC io/net-listener.o CC io/task.o CC qom/object.o CC qom/container.o CC qom/qom-qobject.o CC qom/object_interfaces.o CC qemu-io.o CC blockdev.o CC blockdev-nbd.o CC bootdevice.o CC iothread.o CC qdev-monitor.o CC device-hotplug.o CC os-win32.o CC bt-host.o CC bt-vhci.o CC dma-helpers.o CC vl.o CC tpm.o CC device_tree.o CC qmp-marshal.o CC qmp.o CC hmp.o CC cpus-common.o CC audio/audio.o CC audio/noaudio.o CC audio/wavaudio.o CC audio/mixeng.o CC audio/sdlaudio.o CC audio/dsoundaudio.o CC audio/audio_win_int.o CC audio/wavcapture.o CC backends/rng.o CC backends/rng-egd.o CC backends/tpm.o CC backends/hostmem.o CC backends/hostmem-ram.o CC backends/cryptodev.o CC backends/cryptodev-builtin.o CC block/stream.o CC chardev/msmouse.o CC chardev/wctablet.o CC chardev/testdev.o CC disas/arm.o CXX disas/arm-a64.o CC disas/i386.o CXX disas/libvixl/vixl/utils.o CXX disas/libvixl/vixl/compiler-intrinsics.o CXX disas/libvixl/vixl/a64/instructions-a64.o CXX disas/libvixl/vixl/a64/decoder-a64.o CXX disas/libvixl/vixl/a64/disasm-a64.o CC hw/acpi/core.o CC hw/acpi/piix4.o CC hw/acpi/pcihp.o CC hw/acpi/ich9.o CC hw/acpi/tco.o CC hw/acpi/cpu_hotplug.o CC hw/acpi/memory_hotplug.o CC hw/acpi/nvdimm.o CC hw/acpi/cpu.o CC hw/acpi/vmgenid.o CC hw/acpi/acpi_interface.o CC hw/acpi/bios-linker-loader.o CC hw/acpi/aml-build.o CC hw/acpi/ipmi.o CC hw/acpi/acpi-stub.o CC hw/acpi/ipmi-stub.o CC hw/audio/sb16.o CC hw/audio/es1370.o CC hw/audio/ac97.o CC hw/audio/fmopl.o CC hw/audio/adlib.o CC hw/audio/gus.o CC hw/audio/gusemu_hal.o CC hw/audio/gusemu_mixer.o CC hw/audio/cs4231a.o CC hw/audio/intel-hda.o CC hw/audio/hda-codec.o CC hw/audio/pcspk.o CC hw/audio/wm8750.o CC hw/audio/pl041.o CC hw/audio/lm4549.o CC hw/audio/marvell_88w8618.o CC hw/audio/soundhw.o CC hw/block/block.o CC hw/block/cdrom.o CC hw/block/hd-geometry.o CC hw/block/fdc.o CC hw/block/m25p80.o CC hw/block/nand.o CC hw/block/pflash_cfi01.o CC hw/block/pflash_cfi02.o CC hw/block/ecc.o CC hw/block/onenand.o CC hw/block/nvme.o CC hw/bt/core.o CC hw/bt/l2cap.o CC hw/bt/sdp.o CC hw/bt/hci.o CC hw/bt/hid.o CC hw/bt/hci-csr.o CC hw/char/ipoctal232.o CC hw/char/parallel.o CC hw/char/pl011.o CC hw/char/serial.o CC hw/char/serial-isa.o CC hw/char/serial-pci.o CC hw/char/virtio-console.o CC hw/char/cadence_uart.o CC hw/char/cmsdk-apb-uart.o CC hw/char/debugcon.o CC hw/char/imx_serial.o CC hw/core/qdev.o CC hw/core/qdev-properties.o CC hw/core/bus.o CC hw/core/reset.o CC hw/core/fw-path-provider.o CC hw/core/irq.o CC hw/core/hotplug.o CC hw/core/nmi.o CC hw/core/stream.o CC hw/core/ptimer.o CC hw/core/sysbus.o CC hw/core/machine.o CC hw/core/loader.o CC hw/core/qdev-properties-system.o CC hw/core/register.o CC hw/core/or-irq.o CC hw/core/platform-bus.o CC hw/cpu/core.o CC hw/display/ads7846.o CC hw/display/cirrus_vga.o CC hw/display/pl110.o CC hw/display/ssd0303.o CC hw/display/ssd0323.o CC hw/display/vga-pci.o CC hw/display/vga-isa.o CC hw/display/vmware_vga.o CC hw/display/blizzard.o CC hw/display/exynos4210_fimd.o CC hw/display/framebuffer.o CC hw/display/tc6393xb.o CC hw/dma/pl080.o CC hw/dma/pl330.o CC hw/dma/i8257.o CC hw/dma/xilinx_axidma.o CC hw/dma/xlnx-zynq-devcfg.o CC hw/gpio/max7310.o CC hw/gpio/pl061.o CC hw/gpio/zaurus.o CC hw/gpio/gpio_key.o CC hw/i2c/core.o CC hw/i2c/smbus.o CC hw/i2c/smbus_eeprom.o CC hw/i2c/i2c-ddc.o CC hw/i2c/versatile_i2c.o CC hw/i2c/smbus_ich9.o CC hw/i2c/pm_smbus.o CC hw/i2c/bitbang_i2c.o CC hw/i2c/exynos4210_i2c.o CC hw/i2c/imx_i2c.o CC hw/i2c/aspeed_i2c.o CC hw/ide/core.o CC hw/ide/atapi.o CC hw/ide/qdev.o CC hw/ide/pci.o CC hw/ide/isa.o CC hw/ide/piix.o CC hw/ide/microdrive.o CC hw/ide/ahci.o CC hw/ide/ich.o CC hw/ide/ahci-allwinner.o CC hw/input/hid.o CC hw/input/lm832x.o CC hw/input/pckbd.o CC hw/input/pl050.o CC hw/input/ps2.o CC hw/input/stellaris_input.o CC hw/input/tsc2005.o CC hw/input/virtio-input.o CC hw/input/virtio-input-hid.o CC hw/intc/i8259_common.o CC hw/intc/i8259.o CC hw/intc/pl190.o CC hw/intc/imx_avic.o CC hw/intc/realview_gic.o CC hw/intc/ioapic_common.o CC hw/intc/arm_gic_common.o CC hw/intc/arm_gic.o CC hw/intc/arm_gicv2m.o CC hw/intc/arm_gicv3_common.o CC hw/intc/arm_gicv3.o CC hw/intc/arm_gicv3_dist.o CC hw/intc/arm_gicv3_redist.o CC hw/intc/arm_gicv3_its_common.o CC hw/intc/intc.o CC hw/ipack/ipack.o CC hw/ipack/tpci200.o CC hw/ipmi/ipmi.o CC hw/ipmi/ipmi_bmc_sim.o CC hw/ipmi/ipmi_bmc_extern.o CC hw/ipmi/isa_ipmi_kcs.o CC hw/ipmi/isa_ipmi_bt.o CC hw/isa/isa-bus.o CC hw/isa/apm.o CC hw/mem/pc-dimm.o CC hw/mem/nvdimm.o CC hw/misc/applesmc.o CC hw/misc/max111x.o CC hw/misc/tmp105.o CC hw/misc/tmp421.o CC hw/misc/debugexit.o CC hw/misc/sga.o CC hw/misc/pc-testdev.o CC hw/misc/pci-testdev.o CC hw/misc/edu.o CC hw/misc/unimp.o CC hw/misc/vmcoreinfo.o CC hw/misc/arm_l2x0.o CC hw/misc/arm_integrator_debug.o CC hw/misc/a9scu.o CC hw/misc/arm11scu.o CC hw/net/ne2000.o CC hw/net/eepro100.o CC hw/net/pcnet-pci.o CC hw/net/pcnet.o CC hw/net/e1000.o CC hw/net/e1000x_common.o CC hw/net/net_tx_pkt.o CC hw/net/net_rx_pkt.o CC hw/net/e1000e.o CC hw/net/e1000e_core.o CC hw/net/rtl8139.o CC hw/net/vmxnet3.o CC hw/net/smc91c111.o CC hw/net/lan9118.o CC hw/net/ne2000-isa.o CC hw/net/xgmac.o CC hw/net/xilinx_axienet.o CC hw/net/allwinner_emac.o CC hw/net/imx_fec.o CC hw/net/cadence_gem.o CC hw/net/stellaris_enet.o CC hw/net/ftgmac100.o CC hw/net/rocker/rocker.o CC hw/net/rocker/rocker_fp.o CC hw/net/rocker/rocker_desc.o CC hw/net/rocker/rocker_world.o CC hw/net/rocker/rocker_of_dpa.o CC hw/nvram/eeprom93xx.o CC hw/nvram/eeprom_at24c.o CC hw/nvram/fw_cfg.o CC hw/nvram/chrp_nvram.o CC hw/pci-bridge/pci_bridge_dev.o CC hw/pci-bridge/pcie_root_port.o CC hw/pci-bridge/gen_pcie_root_port.o CC hw/pci-bridge/pcie_pci_bridge.o CC hw/pci-bridge/pci_expander_bridge.o CC hw/pci-bridge/xio3130_upstream.o CC hw/pci-bridge/xio3130_downstream.o CC hw/pci-bridge/ioh3420.o CC hw/pci-bridge/i82801b11.o CC hw/pci-host/pam.o CC hw/pci-host/versatile.o CC hw/pci-host/piix.o CC hw/pci-host/q35.o CC hw/pci-host/gpex.o CC hw/pci/pci.o CC hw/pci/pci_bridge.o CC hw/pci/msix.o CC hw/pci/msi.o CC hw/pci/shpc.o CC hw/pci/slotid_cap.o CC hw/pci/pci_host.o CC hw/pci/pcie_host.o CC hw/pci/pcie.o CC hw/pci/pcie_aer.o CC hw/pci/pcie_port.o CC hw/pci/pci-stub.o CC hw/pcmcia/pcmcia.o CC hw/scsi/scsi-disk.o CC hw/scsi/scsi-generic.o CC hw/scsi/scsi-bus.o CC hw/scsi/lsi53c895a.o CC hw/scsi/mptsas.o CC hw/scsi/mptconfig.o CC hw/scsi/mptendian.o CC hw/scsi/megasas.o CC hw/scsi/vmw_pvscsi.o CC hw/scsi/esp.o CC hw/scsi/esp-pci.o CC hw/sd/pl181.o CC hw/sd/ssi-sd.o CC hw/sd/sd.o CC hw/sd/core.o CC hw/sd/sdhci.o CC hw/smbios/smbios.o CC hw/smbios/smbios_type_38.o CC hw/smbios/smbios-stub.o CC hw/smbios/smbios_type_38-stub.o CC hw/ssi/pl022.o CC hw/ssi/ssi.o CC hw/ssi/xilinx_spips.o CC hw/ssi/aspeed_smc.o CC hw/ssi/stm32f2xx_spi.o CC hw/ssi/mss-spi.o CC hw/timer/arm_timer.o CC hw/timer/arm_mptimer.o CC hw/timer/armv7m_systick.o CC hw/timer/a9gtimer.o CC hw/timer/cadence_ttc.o CC hw/timer/ds1338.o CC hw/timer/hpet.o CC hw/timer/i8254_common.o CC hw/timer/i8254.o CC hw/timer/pl031.o CC hw/timer/twl92230.o CC hw/timer/imx_epit.o CC hw/timer/imx_gpt.o CC hw/timer/stm32f2xx_timer.o CC hw/timer/aspeed_timer.o CC hw/timer/cmsdk-apb-timer.o CC hw/timer/mss-timer.o CC hw/tpm/tpm_util.o CC hw/tpm/tpm_tis.o CC hw/usb/core.o CC hw/usb/combined-packet.o CC hw/usb/bus.o CC hw/usb/libhw.o CC hw/usb/desc.o CC hw/usb/desc-msos.o CC hw/usb/hcd-uhci.o CC hw/usb/hcd-ohci.o CC hw/usb/hcd-ehci.o CC hw/usb/hcd-ehci-pci.o CC hw/usb/hcd-ehci-sysbus.o CC hw/usb/hcd-xhci.o CC hw/usb/hcd-xhci-nec.o CC hw/usb/hcd-musb.o CC hw/usb/dev-hub.o CC hw/usb/dev-hid.o CC hw/usb/dev-wacom.o CC hw/usb/dev-storage.o CC hw/usb/dev-uas.o CC hw/usb/dev-audio.o CC hw/usb/dev-serial.o CC hw/usb/dev-network.o CC hw/usb/dev-bluetooth.o CC hw/usb/dev-smartcard-reader.o CC hw/usb/host-stub.o CC hw/virtio/virtio-rng.o CC hw/virtio/virtio-pci.o CC hw/virtio/virtio-bus.o CC hw/virtio/virtio-mmio.o CC hw/virtio/vhost-stub.o CC hw/watchdog/watchdog.o CC hw/watchdog/wdt_i6300esb.o CC hw/watchdog/wdt_ib700.o CC hw/watchdog/wdt_aspeed.o CC migration/migration.o CC migration/socket.o CC migration/fd.o CC migration/exec.o CC migration/tls.o CC migration/channel.o CC migration/savevm.o CC migration/colo-comm.o CC migration/colo.o CC migration/colo-failover.o CC migration/vmstate.o CC migration/vmstate-types.o CC migration/page_cache.o CC migration/qemu-file.o CC migration/global_state.o CC migration/qemu-file-channel.o CC migration/xbzrle.o CC migration/postcopy-ram.o CC migration/qjson.o CC migration/block.o CC net/net.o CC net/queue.o CC net/checksum.o CC net/util.o CC net/hub.o CC net/socket.o CC net/dump.o CC net/eth.o CC net/slirp.o CC net/filter.o CC net/filter-buffer.o CC net/filter-mirror.o CC net/colo-compare.o CC net/colo.o CC net/filter-rewriter.o CC net/filter-replay.o CC net/tap-win32.o CC qom/cpu.o CC replay/replay.o CC replay/replay-internal.o CC replay/replay-events.o CC replay/replay-input.o CC replay/replay-time.o CC replay/replay-char.o CC replay/replay-snapshot.o CC replay/replay-net.o CC replay/replay-audio.o CC slirp/cksum.o CC slirp/if.o CC slirp/ip_icmp.o CC slirp/ip6_icmp.o CC slirp/ip6_input.o CC slirp/ip6_output.o CC slirp/ip_input.o CC slirp/ip_output.o CC slirp/dnssearch.o CC slirp/dhcpv6.o CC slirp/slirp.o CC slirp/mbuf.o CC slirp/misc.o CC slirp/sbuf.o CC slirp/socket.o CC slirp/tcp_input.o CC slirp/tcp_output.o CC slirp/tcp_subr.o CC slirp/tcp_timer.o CC slirp/udp.o CC slirp/udp6.o CC slirp/bootp.o CC slirp/tftp.o CC slirp/arp_table.o CC slirp/ndp_table.o CC slirp/ncsi.o CC ui/console.o CC ui/keymaps.o CC ui/cursor.o CC ui/qemu-pixman.o CC ui/input.o CC ui/input-keymap.o CC ui/input-legacy.o CC ui/sdl.o CC ui/sdl_zoom.o CC ui/x_keymap.o CC ui/vnc.o CC ui/vnc-enc-zlib.o CC ui/vnc-enc-hextile.o CC ui/vnc-enc-tight.o CC ui/vnc-palette.o CC ui/vnc-enc-zrle.o CC ui/vnc-auth-vencrypt.o CC ui/vnc-ws.o CC ui/vnc-jobs.o CC ui/gtk.o CC chardev/char.o CC chardev/char-console.o CC chardev/char-fe.o CC chardev/char-file.o CC chardev/char-io.o CC chardev/char-mux.o CC chardev/char-null.o CC chardev/char-pipe.o CC chardev/char-ringbuf.o CC chardev/char-serial.o CC chardev/char-socket.o CC chardev/char-stdio.o CC chardev/char-udp.o CC chardev/char-win.o CC chardev/char-win-stdio.o AS optionrom/multiboot.o AS optionrom/linuxboot.o CC optionrom/linuxboot_dma.o AS optionrom/kvmvapic.o BUILD optionrom/multiboot.img BUILD optionrom/linuxboot.img BUILD optionrom/linuxboot_dma.img BUILD optionrom/kvmvapic.img BUILD optionrom/multiboot.raw BUILD optionrom/linuxboot.raw BUILD optionrom/linuxboot_dma.raw BUILD optionrom/kvmvapic.raw SIGN optionrom/multiboot.bin CC qga/commands.o SIGN optionrom/linuxboot.bin SIGN optionrom/linuxboot_dma.bin CC qga/guest-agent-command-state.o SIGN optionrom/kvmvapic.bin CC qga/main.o CC qga/commands-win32.o CC qga/channel-win32.o CC qga/service-win32.o CC qga/vss-win32.o CC qga/qapi-generated/qga-qapi-types.o CC qga/qapi-generated/qga-qapi-visit.o CC qga/qapi-generated/qga-qmp-marshal.o AR libqemuutil.a CC qemu-img.o LINK qemu-io.exe GEN x86_64-softmmu/hmp-commands.h GEN x86_64-softmmu/hmp-commands-info.h GEN x86_64-softmmu/config-target.h GEN aarch64-softmmu/hmp-commands.h GEN aarch64-softmmu/hmp-commands-info.h GEN aarch64-softmmu/config-target.h CC aarch64-softmmu/exec.o CC aarch64-softmmu/tcg/tcg-op.o CC aarch64-softmmu/tcg/tcg.o CC x86_64-softmmu/exec.o CC x86_64-softmmu/tcg/tcg.o CC aarch64-softmmu/tcg/optimize.o CC aarch64-softmmu/tcg/tcg-common.o CC aarch64-softmmu/fpu/softfloat.o CC aarch64-softmmu/disas.o LINK qemu-img.exe CC x86_64-softmmu/tcg/tcg-op.o CC x86_64-softmmu/tcg/optimize.o CC x86_64-softmmu/tcg/tcg-common.o GEN aarch64-softmmu/gdbstub-xml.c CC aarch64-softmmu/arch_init.o LINK qemu-ga.exe CC aarch64-softmmu/cpus.o CC aarch64-softmmu/monitor.o CC x86_64-softmmu/fpu/softfloat.o CC x86_64-softmmu/disas.o GEN x86_64-softmmu/gdbstub-xml.c CC aarch64-softmmu/gdbstub.o CC x86_64-softmmu/arch_init.o CC x86_64-softmmu/cpus.o CC x86_64-softmmu/monitor.o CC aarch64-softmmu/balloon.o CC aarch64-softmmu/ioport.o CC aarch64-softmmu/numa.o CC aarch64-softmmu/qtest.o CC x86_64-softmmu/gdbstub.o CC x86_64-softmmu/balloon.o CC aarch64-softmmu/memory.o CC x86_64-softmmu/ioport.o CC aarch64-softmmu/memory_mapping.o CC x86_64-softmmu/numa.o CC aarch64-softmmu/dump.o CC x86_64-softmmu/qtest.o CC aarch64-softmmu/migration/ram.o CC aarch64-softmmu/accel/accel.o CC x86_64-softmmu/memory.o CC x86_64-softmmu/memory_mapping.o CC x86_64-softmmu/dump.o CC x86_64-softmmu/migration/ram.o CC x86_64-softmmu/accel/accel.o CC aarch64-softmmu/accel/stubs/hax-stub.o CC aarch64-softmmu/accel/stubs/kvm-stub.o CC aarch64-softmmu/accel/tcg/tcg-all.o CC x86_64-softmmu/accel/stubs/kvm-stub.o CC x86_64-softmmu/accel/tcg/tcg-all.o CC x86_64-softmmu/accel/tcg/cputlb.o CC x86_64-softmmu/accel/tcg/tcg-runtime.o CC aarch64-softmmu/accel/tcg/cputlb.o CC x86_64-softmmu/accel/tcg/cpu-exec.o CC aarch64-softmmu/accel/tcg/tcg-runtime.o CC x86_64-softmmu/accel/tcg/cpu-exec-common.o CC aarch64-softmmu/accel/tcg/cpu-exec.o CC aarch64-softmmu/accel/tcg/cpu-exec-common.o CC x86_64-softmmu/accel/tcg/translate-all.o CC aarch64-softmmu/accel/tcg/translate-all.o CC x86_64-softmmu/accel/tcg/translator.o CC x86_64-softmmu/hw/block/virtio-blk.o CC aarch64-softmmu/accel/tcg/translator.o CC aarch64-softmmu/hw/adc/stm32f2xx_adc.o CC x86_64-softmmu/hw/block/dataplane/virtio-blk.o CC x86_64-softmmu/hw/char/virtio-serial-bus.o CC aarch64-softmmu/hw/block/virtio-blk.o CC aarch64-softmmu/hw/block/dataplane/virtio-blk.o CC aarch64-softmmu/hw/char/exynos4210_uart.o CC x86_64-softmmu/hw/core/generic-loader.o CC x86_64-softmmu/hw/core/null-machine.o CC aarch64-softmmu/hw/char/omap_uart.o CC aarch64-softmmu/hw/char/digic-uart.o CC x86_64-softmmu/hw/display/vga.o CC x86_64-softmmu/hw/display/virtio-gpu.o CC x86_64-softmmu/hw/display/virtio-gpu-3d.o CC aarch64-softmmu/hw/char/stm32f2xx_usart.o CC aarch64-softmmu/hw/char/bcm2835_aux.o CC aarch64-softmmu/hw/char/virtio-serial-bus.o CC aarch64-softmmu/hw/core/generic-loader.o CC aarch64-softmmu/hw/core/null-machine.o CC x86_64-softmmu/hw/display/virtio-gpu-pci.o CC aarch64-softmmu/hw/cpu/arm11mpcore.o CC x86_64-softmmu/hw/display/virtio-vga.o CC x86_64-softmmu/hw/intc/apic.o CC aarch64-softmmu/hw/cpu/realview_mpcore.o CC aarch64-softmmu/hw/cpu/a9mpcore.o CC aarch64-softmmu/hw/cpu/a15mpcore.o CC aarch64-softmmu/hw/display/omap_dss.o CC aarch64-softmmu/hw/display/omap_lcdc.o CC aarch64-softmmu/hw/display/pxa2xx_lcd.o CC aarch64-softmmu/hw/display/bcm2835_fb.o CC aarch64-softmmu/hw/display/vga.o CC x86_64-softmmu/hw/intc/apic_common.o CC aarch64-softmmu/hw/display/virtio-gpu.o CC aarch64-softmmu/hw/display/virtio-gpu-3d.o CC aarch64-softmmu/hw/display/virtio-gpu-pci.o CC x86_64-softmmu/hw/intc/ioapic.o CC aarch64-softmmu/hw/display/dpcd.o CC aarch64-softmmu/hw/display/xlnx_dp.o CC aarch64-softmmu/hw/dma/xlnx_dpdma.o CC x86_64-softmmu/hw/isa/lpc_ich9.o CC x86_64-softmmu/hw/misc/pvpanic.o CC x86_64-softmmu/hw/misc/mmio_interface.o CC x86_64-softmmu/hw/net/virtio-net.o CC aarch64-softmmu/hw/dma/omap_dma.o CC x86_64-softmmu/hw/net/vhost_net.o CC aarch64-softmmu/hw/dma/soc_dma.o CC aarch64-softmmu/hw/dma/pxa2xx_dma.o CC aarch64-softmmu/hw/dma/bcm2835_dma.o CC x86_64-softmmu/hw/scsi/virtio-scsi.o CC aarch64-softmmu/hw/gpio/omap_gpio.o CC aarch64-softmmu/hw/gpio/imx_gpio.o CC x86_64-softmmu/hw/scsi/virtio-scsi-dataplane.o CC x86_64-softmmu/hw/timer/mc146818rtc.o CC x86_64-softmmu/hw/virtio/virtio.o CC aarch64-softmmu/hw/gpio/bcm2835_gpio.o CC aarch64-softmmu/hw/i2c/omap_i2c.o CC aarch64-softmmu/hw/input/pxa2xx_keypad.o CC aarch64-softmmu/hw/input/tsc210x.o CC aarch64-softmmu/hw/intc/armv7m_nvic.o CC aarch64-softmmu/hw/intc/exynos4210_gic.o CC x86_64-softmmu/hw/virtio/virtio-balloon.o CC x86_64-softmmu/hw/virtio/virtio-crypto.o CC x86_64-softmmu/hw/virtio/virtio-crypto-pci.o CC aarch64-softmmu/hw/intc/exynos4210_combiner.o CC x86_64-softmmu/hw/i386/multiboot.o CC x86_64-softmmu/hw/i386/pc.o CC x86_64-softmmu/hw/i386/pc_piix.o CC aarch64-softmmu/hw/intc/omap_intc.o CC aarch64-softmmu/hw/intc/bcm2835_ic.o CC aarch64-softmmu/hw/intc/bcm2836_control.o CC x86_64-softmmu/hw/i386/pc_q35.o CC x86_64-softmmu/hw/i386/pc_sysfw.o CC aarch64-softmmu/hw/intc/allwinner-a10-pic.o CC aarch64-softmmu/hw/intc/aspeed_vic.o CC x86_64-softmmu/hw/i386/x86-iommu.o CC x86_64-softmmu/hw/i386/intel_iommu.o CC aarch64-softmmu/hw/intc/arm_gicv3_cpuif.o CC aarch64-softmmu/hw/misc/arm_sysctl.o CC aarch64-softmmu/hw/misc/cbus.o CC x86_64-softmmu/hw/i386/amd_iommu.o CC x86_64-softmmu/hw/i386/vmport.o CC aarch64-softmmu/hw/misc/exynos4210_pmu.o CC x86_64-softmmu/hw/i386/vmmouse.o CC aarch64-softmmu/hw/misc/exynos4210_clk.o CC aarch64-softmmu/hw/misc/exynos4210_rng.o CC x86_64-softmmu/hw/i386/acpi-build.o CC x86_64-softmmu/hw/i386/kvmvapic.o CC aarch64-softmmu/hw/misc/imx_ccm.o CC x86_64-softmmu/target/i386/helper.o CC x86_64-softmmu/target/i386/cpu.o CC aarch64-softmmu/hw/misc/imx31_ccm.o CC aarch64-softmmu/hw/misc/imx25_ccm.o CC aarch64-softmmu/hw/misc/imx6_ccm.o CC x86_64-softmmu/target/i386/gdbstub.o CC x86_64-softmmu/target/i386/xsave_helper.o CC x86_64-softmmu/target/i386/translate.o CC x86_64-softmmu/target/i386/bpt_helper.o CC aarch64-softmmu/hw/misc/imx6_src.o CC aarch64-softmmu/hw/misc/mst_fpga.o CC x86_64-softmmu/target/i386/cc_helper.o CC aarch64-softmmu/hw/misc/omap_clk.o CC x86_64-softmmu/target/i386/excp_helper.o CC x86_64-softmmu/target/i386/fpu_helper.o CC x86_64-softmmu/target/i386/int_helper.o CC aarch64-softmmu/hw/misc/omap_gpmc.o CC aarch64-softmmu/hw/misc/omap_l4.o CC aarch64-softmmu/hw/misc/omap_sdrc.o CC x86_64-softmmu/target/i386/mem_helper.o CC x86_64-softmmu/target/i386/misc_helper.o CC aarch64-softmmu/hw/misc/omap_tap.o CC x86_64-softmmu/target/i386/mpx_helper.o CC aarch64-softmmu/hw/misc/bcm2835_mbox.o CC aarch64-softmmu/hw/misc/bcm2835_property.o CC x86_64-softmmu/target/i386/seg_helper.o CC x86_64-softmmu/target/i386/smm_helper.o CC aarch64-softmmu/hw/misc/bcm2835_rng.o CC x86_64-softmmu/target/i386/svm_helper.o CC x86_64-softmmu/target/i386/machine.o CC x86_64-softmmu/target/i386/arch_memory_mapping.o CC aarch64-softmmu/hw/misc/zynq_slcr.o CC aarch64-softmmu/hw/misc/zynq-xadc.o CC aarch64-softmmu/hw/misc/stm32f2xx_syscfg.o CC x86_64-softmmu/target/i386/arch_dump.o CC x86_64-softmmu/target/i386/monitor.o CC x86_64-softmmu/target/i386/kvm-stub.o CC x86_64-softmmu/target/i386/hax-all.o CC aarch64-softmmu/hw/misc/mps2-scc.o CC x86_64-softmmu/target/i386/hax-mem.o CC aarch64-softmmu/hw/misc/auxbus.o CC aarch64-softmmu/hw/misc/aspeed_scu.o CC x86_64-softmmu/target/i386/hax-windows.o GEN trace/generated-helpers.c CC aarch64-softmmu/hw/misc/aspeed_sdmc.o CC aarch64-softmmu/hw/misc/mmio_interface.o CC aarch64-softmmu/hw/misc/msf2-sysreg.o CC x86_64-softmmu/trace/control-target.o CC aarch64-softmmu/hw/net/virtio-net.o CC x86_64-softmmu/gdbstub-xml.o CC aarch64-softmmu/hw/net/vhost_net.o CC aarch64-softmmu/hw/pcmcia/pxa2xx.o CC aarch64-softmmu/hw/scsi/virtio-scsi.o CC aarch64-softmmu/hw/scsi/virtio-scsi-dataplane.o CC aarch64-softmmu/hw/sd/omap_mmc.o CC x86_64-softmmu/trace/generated-helpers.o CC aarch64-softmmu/hw/sd/pxa2xx_mmci.o CC aarch64-softmmu/hw/sd/bcm2835_sdhost.o CC aarch64-softmmu/hw/ssi/omap_spi.o CC aarch64-softmmu/hw/ssi/imx_spi.o CC aarch64-softmmu/hw/timer/exynos4210_mct.o CC aarch64-softmmu/hw/timer/exynos4210_pwm.o CC aarch64-softmmu/hw/timer/exynos4210_rtc.o CC aarch64-softmmu/hw/timer/omap_gptimer.o LINK x86_64-softmmu/qemu-system-x86_64w.exe CC aarch64-softmmu/hw/timer/omap_synctimer.o CC aarch64-softmmu/hw/timer/pxa2xx_timer.o CC aarch64-softmmu/hw/timer/digic-timer.o CC aarch64-softmmu/hw/timer/allwinner-a10-pit.o CC aarch64-softmmu/hw/usb/tusb6010.o CC aarch64-softmmu/hw/virtio/virtio.o CC aarch64-softmmu/hw/virtio/virtio-balloon.o CC aarch64-softmmu/hw/virtio/virtio-crypto.o
cpus.o: In function `qemu_hvf_cpu_thread_fn':/tmp/qemu-test/src/cpus.c:1478: undefined reference to hvf_init_vcpu' /tmp/qemu-test/src/cpus.c:1486: undefined reference to hvf_vcpu_exec' /tmp/qemu-test/src/cpus.c:1494: undefined reference to `hvf_vcpu_destroy'
collect2: error: ld returned 1 exit status
make[1]: *** [qemu-system-x86_64w.exe] Error 1
Makefile:193: recipe for target 'qemu-system-x86_64w.exe' failed
make: *** [subdir-x86_64-softmmu] Error 2
Makefile:387: recipe for target 'subdir-x86_64-softmmu' failed
make: *** Waiting for unfinished jobs....
CC aarch64-softmmu/hw/virtio/virtio-crypto-pci.o CC aarch64-softmmu/hw/arm/boot.o CC aarch64-softmmu/hw/arm/collie.o CC aarch64-softmmu/hw/arm/exynos4_boards.o CC aarch64-softmmu/hw/arm/gumstix.o CC aarch64-softmmu/hw/arm/highbank.o CC aarch64-softmmu/hw/arm/digic_boards.o CC aarch64-softmmu/hw/arm/integratorcp.o CC aarch64-softmmu/hw/arm/mainstone.o CC aarch64-softmmu/hw/arm/musicpal.o CC aarch64-softmmu/hw/arm/nseries.o CC aarch64-softmmu/hw/arm/omap_sx1.o CC aarch64-softmmu/hw/arm/palm.o CC aarch64-softmmu/hw/arm/realview.o CC aarch64-softmmu/hw/arm/spitz.o CC aarch64-softmmu/hw/arm/stellaris.o CC aarch64-softmmu/hw/arm/tosa.o CC aarch64-softmmu/hw/arm/versatilepb.o CC aarch64-softmmu/hw/arm/vexpress.o CC aarch64-softmmu/hw/arm/virt.o CC aarch64-softmmu/hw/arm/xilinx_zynq.o CC aarch64-softmmu/hw/arm/z2.o CC aarch64-softmmu/hw/arm/virt-acpi-build.o CC aarch64-softmmu/hw/arm/netduino2.o CC aarch64-softmmu/hw/arm/sysbus-fdt.o CC aarch64-softmmu/hw/arm/armv7m.o CC aarch64-softmmu/hw/arm/exynos4210.o CC aarch64-softmmu/hw/arm/pxa2xx.o CC aarch64-softmmu/hw/arm/pxa2xx_gpio.o CC aarch64-softmmu/hw/arm/pxa2xx_pic.o CC aarch64-softmmu/hw/arm/digic.o CC aarch64-softmmu/hw/arm/omap1.o CC aarch64-softmmu/hw/arm/omap2.o CC aarch64-softmmu/hw/arm/strongarm.o CC aarch64-softmmu/hw/arm/allwinner-a10.o CC aarch64-softmmu/hw/arm/cubieboard.o CC aarch64-softmmu/hw/arm/bcm2835_peripherals.o CC aarch64-softmmu/hw/arm/bcm2836.o CC aarch64-softmmu/hw/arm/raspi.o CC aarch64-softmmu/hw/arm/stm32f205_soc.o CC aarch64-softmmu/hw/arm/xlnx-zynqmp.o CC aarch64-softmmu/hw/arm/xlnx-zcu102.o CC aarch64-softmmu/hw/arm/fsl-imx25.o CC aarch64-softmmu/hw/arm/imx25_pdk.o CC aarch64-softmmu/hw/arm/fsl-imx31.o CC aarch64-softmmu/hw/arm/kzm.o CC aarch64-softmmu/hw/arm/fsl-imx6.o CC aarch64-softmmu/hw/arm/sabrelite.o CC aarch64-softmmu/hw/arm/aspeed_soc.o CC aarch64-softmmu/hw/arm/aspeed.o CC aarch64-softmmu/hw/arm/mps2.o CC aarch64-softmmu/hw/arm/msf2-soc.o CC aarch64-softmmu/hw/arm/msf2-som.o CC aarch64-softmmu/target/arm/arm-semi.o CC aarch64-softmmu/target/arm/machine.o CC aarch64-softmmu/target/arm/psci.o CC aarch64-softmmu/target/arm/arch_dump.o CC aarch64-softmmu/target/arm/monitor.o CC aarch64-softmmu/target/arm/kvm-stub.o CC aarch64-softmmu/target/arm/translate.o CC aarch64-softmmu/target/arm/op_helper.o CC aarch64-softmmu/target/arm/helper.o CC aarch64-softmmu/target/arm/cpu.o CC aarch64-softmmu/target/arm/neon_helper.o CC aarch64-softmmu/target/arm/iwmmxt_helper.o CC aarch64-softmmu/target/arm/gdbstub.o CC aarch64-softmmu/target/arm/cpu64.o CC aarch64-softmmu/target/arm/translate-a64.o CC aarch64-softmmu/target/arm/helper-a64.o CC aarch64-softmmu/target/arm/gdbstub64.o CC aarch64-softmmu/target/arm/crypto_helper.o CC aarch64-softmmu/target/arm/arm-powerctl.o GEN trace/generated-helpers.c CC aarch64-softmmu/trace/control-target.o CC aarch64-softmmu/gdbstub-xml.o CC aarch64-softmmu/trace/generated-helpers.o LINK aarch64-softmmu/qemu-system-aarch64w.exe
cpus.o: In function `qemu_hvf_cpu_thread_fn':/tmp/qemu-test/src/cpus.c:1478: undefined reference to hvf_init_vcpu' /tmp/qemu-test/src/cpus.c:1486: undefined reference to hvf_vcpu_exec' /tmp/qemu-test/src/cpus.c:1494: undefined reference to `hvf_vcpu_destroy'
collect2: error: ld returned 1 exit status
make[1]: *** [qemu-system-aarch64w.exe] Error 1
Makefile:193: recipe for target 'qemu-system-aarch64w.exe' failed
make: *** [subdir-aarch64-softmmu] Error 2
Makefile:387: recipe for target 'subdir-aarch64-softmmu' failed Traceback (most recent call last):
File "./tests/docker/docker.py", line 407, in <module>
sys.exit(main())
File "./tests/docker/docker.py", line 404, in main
return args.cmdobj.run(args, argv)
File "./tests/docker/docker.py", line 261, in run
return Docker().run(argv, args.keep, quiet=args.quiet)
File "./tests/docker/docker.py", line 229, in run
quiet=quiet)
File "./tests/docker/docker.py", line 147, in _do_check
return subprocess.check_call(self._command + cmd, **kwargs)
File "/usr/lib64/python2.7/subprocess.py", line 186, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['docker', 'run', '--label', 'com.qemu.instance.uuid=7cb55e1ee5b911e79cb652540069c830', '-u', '0', '--security-opt', 'seccomp=unconfined', '--rm', '--net=none', '-e', 'TARGET_LIST=', '-e', 'EXTRA_CONFIGURE_OPTS=', '-e', 'V=', '-e', 'J=8', '-e', 'DEBUG=', '-e', 'SHOW_ENV=1', '-e', 'CCACHE_DIR=/var/tmp/ccache', '-v', '/root/.cache/qemu-docker-ccache:/var/tmp/ccache:z', '-v', '/var/tmp/patchew-tester-tmp-h0o1gg04/src/docker-src.2017-12-20-14.10.40.26860:/var/tmp/qemu:z,ro', 'qemu:fedora', '/var/tmp/qemu/run', 'test-mingw']' returned non-zero exit status 2 make[1]: *** [tests/docker/Makefile.include:129: docker-run] Error 1
make[1]: Leaving directory '/var/tmp/patchew-tester-tmp-h0o1gg04/src'
make: *** [tests/docker/Makefile.include:163: docker-run-test-mingw@fedora] Error 2
real 5m2.469s
user 0m3.560s
sys 0m2.849s
=== OUTPUT END ===
Test command exited with code: 2
---
Email generated automatically by Patchew [http://patchew.org/].
Please send your feedback to [email protected]