[Qemu-devel] [PATCH v3 2/3] WHPX: dynamically load WHP libraries

2018-05-25 Thread petrutlucian94
From: Lucian Petrut We're currently linking against import libraries of the WHP DLLs. By dynamically loading the libraries, we ensure that QEMU will work on previous Windows versions, where the WHP DLLs will be missing (assuming that WHP is not requested). Also, we're simplifying the build proc

[Qemu-devel] [PATCH v3 3/3] WHPX: fix some compiler warnings

2018-05-25 Thread petrutlucian94
From: Lucian Petrut This patch fixes a few compiler warnings, especially in case of x86 targets, where the number of registers was not properly handled and could cause an overflow. Signed-off-by: Alessandro Pilotti Signed-off-by: Justin Terry (VM) Signed-off-by: Lucian Petrut --- target/i386

[Qemu-devel] [PATCH v3 1/3] WHPX Add signature CPUID

2018-05-25 Thread petrutlucian94
From: Lucian Petrut Adds the CPUID trap for CPUID 0x4000, sending the WHPX signature to the guest upon request. This is consistent with other QEMU accelerators (KVM). Signed-off-by: Alessandro Pilotti Signed-off-by: Justin Terry (VM) Signed-off-by: Lucian Petrut --- target/i386/whpx-all.

[Qemu-devel] [PATCH v2 2/3] WHPX: dynamically load WHP libraries

2018-05-15 Thread petrutlucian94
From: Lucian Petrut We're currently linking against import libraries of the WHP DLLs. By dynamically loading the libraries, we ensure that QEMU will work on previous Windows versions, where the WHP DLLs will be missing (assuming that WHP is not requested). Also, we're simplifying the build proc

[Qemu-devel] [PATCH v2 3/3] WHPX: fix some compiler warnings

2018-05-15 Thread petrutlucian94
From: Lucian Petrut This patch fixes a few compiler warnings, especially in case of x86 targets, where the number of registers was not properly handled and could cause an overflow. Signed-off-by: Alessandro Pilotti Signed-off-by: Justin Terry (VM) Signed-off-by: Lucian Petrut --- target/i386

[Qemu-devel] [PATCH v2 1/3] WHPX Add signature CPUID

2018-05-15 Thread petrutlucian94
From: Lucian Petrut Adds the CPUID trap for CPUID 0x4000, sending the WHPX signature to the guest upon request. This is consistent with other QEMU accelerators (KVM). Signed-off-by: Alessandro Pilotti Signed-off-by: Justin Terry (VM) Signed-off-by: Lucian Petrut --- target/i386/whpx-all.

[Qemu-devel] [PATCH] WHPX Add signature CPUID

2018-05-15 Thread petrutlucian94
From: Lucian Petrut Adds the CPUID trap for CPUID 0x4000, sending the WHPX signature to the guest upon request. This is consistent with other QEMU accelerators (KVM). Signed-off-by: Alessandro Pilotti Signed-off-by: Justin Terry (VM) Signed-off-by: Lucian Petrut --- As opposed to the prev