All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 1821595] Re: Failed to emulate MMIO access with EmulatorReturnStatus: 2
       [not found] <155352235092.32006.12315829232895734213.malonedeb@soybean.canonical.com>
@ 2020-04-06  0:51 ` Russell Morris
  2020-04-06  1:14 ` Russell Morris
                   ` (15 subsequent siblings)
  16 siblings, 0 replies; 17+ messages in thread
From: Russell Morris @ 2020-04-06  0:51 UTC (permalink / raw)
  To: qemu-devel

Hi,

Having a similar issue here, running "QEMU emulator version 4.2.91
(v5.0.0-rc1-31-g146aa0f104-dirty)"

Configuration / build command line,
./configure --cross-prefix=x86_64-w64-mingw32- --target-list=x86_64-softmmu --enable-whpx --enable-fdt --enable-gtk --enable-vnc --disable-pie --enable-opengl && make -j16 && make -j16 installer

And the QEMU command line,
qemu-system-x86_64.exe \
    -m 2G \
    -machine q35 \
    -cpu Penryn \
    -accel whpx \
    -device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" \
    -smbios type=2 \
    -drive if=pflash,format=raw,readonly,file="./firmware/OVMF_CODE.fd"\
    -drive if=pflash,format=raw,file="./firmware/OVMF_VARS-1024x768.fd" \
    -usb -device usb-kbd -device usb-mouse \
    -netdev user,id=net0 \
    -device e1000-82545em,netdev=net0,id=net0,mac=52:54:00:c9:18:27 \
    -device ich9-ahci,id=sata \
    -drive id=ESP,if=none,format=qcow2,file=ESP.qcow2 \
    -device ide-hd,bus=sata.2,drive=ESP \
    -drive id=InstallMedia,format=raw,if=none,file=BaseSystem.img \
    -device ide-hd,bus=sata.3,drive=InstallMedia \
    -drive id=SystemDisk,if=none,file=MyDisk.qcow2 \
    -device ide-hd,bus=sata.4,drive=SystemDisk \


If I remove (only), -accel whpx \ => Then it all runs, just very slowly ;-).

Any suggestions, things to try?

Thanks!

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1821595

Title:
  Failed to emulate MMIO access with EmulatorReturnStatus: 2

Status in QEMU:
  New

Bug description:
  I have compiled qemu with enable-whpx parameter for Hyper-V Platform API in Mingw64 . When I tried run with Windows 7 iso file I have faced issue with the following problem: 
  qemu-system-x86_64.exe: WHPX: Failed to emulate MMIO access with EmulatorReturnStatus: 2
  qemu-system-x86_64.exe: WHPX: Failed to exec a virtual processor

  
  configuration directives:

  ../configure --target-list=x86_64-softmmu,i386-softmmu --enable-lzo\
   --enable-bzip2 --enable-tools --enable-sdl --enable-gtk --enable-hax\
   --enable-vdi --enable-qcow1 --enable-whpx --disable-capstone\
   --disable-werror --disable-stack-protector --prefix="../../QEMU-bin"

  
  Qemu command line:
  qemu-system-x86_64.exe -m 1024 -cdrom "C:\Users\vmcs\Documents\en_windows_7_home_premium_with_sp1_x86_dvd_u_676701.iso" -display sdl -machine q35 -accel whpx

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1821595/+subscriptions


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug 1821595] Re: Failed to emulate MMIO access with EmulatorReturnStatus: 2
       [not found] <155352235092.32006.12315829232895734213.malonedeb@soybean.canonical.com>
  2020-04-06  0:51 ` [Bug 1821595] Re: Failed to emulate MMIO access with EmulatorReturnStatus: 2 Russell Morris
@ 2020-04-06  1:14 ` Russell Morris
  2020-04-06  7:23 ` Emin Ghuliev
                   ` (14 subsequent siblings)
  16 siblings, 0 replies; 17+ messages in thread
From: Russell Morris @ 2020-04-06  1:14 UTC (permalink / raw)
  To: qemu-devel

FYI, I was curious if this was a Ryzen issue or not (which I am running), so I tried another machine - here are the two combos I tried,
1) Ryzen 5 2600X, Windows 19041.172
2) Core i5-6600K, Windows 18363.720

Same issue on both.

Thanks!

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1821595

Title:
  Failed to emulate MMIO access with EmulatorReturnStatus: 2

Status in QEMU:
  New

Bug description:
  I have compiled qemu with enable-whpx parameter for Hyper-V Platform API in Mingw64 . When I tried run with Windows 7 iso file I have faced issue with the following problem: 
  qemu-system-x86_64.exe: WHPX: Failed to emulate MMIO access with EmulatorReturnStatus: 2
  qemu-system-x86_64.exe: WHPX: Failed to exec a virtual processor

  
  configuration directives:

  ../configure --target-list=x86_64-softmmu,i386-softmmu --enable-lzo\
   --enable-bzip2 --enable-tools --enable-sdl --enable-gtk --enable-hax\
   --enable-vdi --enable-qcow1 --enable-whpx --disable-capstone\
   --disable-werror --disable-stack-protector --prefix="../../QEMU-bin"

  
  Qemu command line:
  qemu-system-x86_64.exe -m 1024 -cdrom "C:\Users\vmcs\Documents\en_windows_7_home_premium_with_sp1_x86_dvd_u_676701.iso" -display sdl -machine q35 -accel whpx

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1821595/+subscriptions


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug 1821595] Re: Failed to emulate MMIO access with EmulatorReturnStatus: 2
       [not found] <155352235092.32006.12315829232895734213.malonedeb@soybean.canonical.com>
  2020-04-06  0:51 ` [Bug 1821595] Re: Failed to emulate MMIO access with EmulatorReturnStatus: 2 Russell Morris
  2020-04-06  1:14 ` Russell Morris
@ 2020-04-06  7:23 ` Emin Ghuliev
  2020-04-06  7:36 ` Emin Ghuliev
                   ` (13 subsequent siblings)
  16 siblings, 0 replies; 17+ messages in thread
From: Emin Ghuliev @ 2020-04-06  7:23 UTC (permalink / raw)
  To: qemu-devel

Which OS do you try with qemu? IIRC Windows 10 should work well with
WHPX. Also,this issue is qemu depended that they don't handle specific
MMIO instruction/exit.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1821595

Title:
  Failed to emulate MMIO access with EmulatorReturnStatus: 2

Status in QEMU:
  New

Bug description:
  I have compiled qemu with enable-whpx parameter for Hyper-V Platform API in Mingw64 . When I tried run with Windows 7 iso file I have faced issue with the following problem: 
  qemu-system-x86_64.exe: WHPX: Failed to emulate MMIO access with EmulatorReturnStatus: 2
  qemu-system-x86_64.exe: WHPX: Failed to exec a virtual processor

  
  configuration directives:

  ../configure --target-list=x86_64-softmmu,i386-softmmu --enable-lzo\
   --enable-bzip2 --enable-tools --enable-sdl --enable-gtk --enable-hax\
   --enable-vdi --enable-qcow1 --enable-whpx --disable-capstone\
   --disable-werror --disable-stack-protector --prefix="../../QEMU-bin"

  
  Qemu command line:
  qemu-system-x86_64.exe -m 1024 -cdrom "C:\Users\vmcs\Documents\en_windows_7_home_premium_with_sp1_x86_dvd_u_676701.iso" -display sdl -machine q35 -accel whpx

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1821595/+subscriptions


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug 1821595] Re: Failed to emulate MMIO access with EmulatorReturnStatus: 2
       [not found] <155352235092.32006.12315829232895734213.malonedeb@soybean.canonical.com>
                   ` (2 preceding siblings ...)
  2020-04-06  7:23 ` Emin Ghuliev
@ 2020-04-06  7:36 ` Emin Ghuliev
  2020-04-06 10:20 ` Alex Bennée
                   ` (12 subsequent siblings)
  16 siblings, 0 replies; 17+ messages in thread
From: Emin Ghuliev @ 2020-04-06  7:36 UTC (permalink / raw)
  To: qemu-devel

Sorry for the typo. I should have mentioned that this issue is WHPX
related. I have created an issue in WHPX Github page about it.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1821595

Title:
  Failed to emulate MMIO access with EmulatorReturnStatus: 2

Status in QEMU:
  New

Bug description:
  I have compiled qemu with enable-whpx parameter for Hyper-V Platform API in Mingw64 . When I tried run with Windows 7 iso file I have faced issue with the following problem: 
  qemu-system-x86_64.exe: WHPX: Failed to emulate MMIO access with EmulatorReturnStatus: 2
  qemu-system-x86_64.exe: WHPX: Failed to exec a virtual processor

  
  configuration directives:

  ../configure --target-list=x86_64-softmmu,i386-softmmu --enable-lzo\
   --enable-bzip2 --enable-tools --enable-sdl --enable-gtk --enable-hax\
   --enable-vdi --enable-qcow1 --enable-whpx --disable-capstone\
   --disable-werror --disable-stack-protector --prefix="../../QEMU-bin"

  
  Qemu command line:
  qemu-system-x86_64.exe -m 1024 -cdrom "C:\Users\vmcs\Documents\en_windows_7_home_premium_with_sp1_x86_dvd_u_676701.iso" -display sdl -machine q35 -accel whpx

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1821595/+subscriptions


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug 1821595] Re: Failed to emulate MMIO access with EmulatorReturnStatus: 2
       [not found] <155352235092.32006.12315829232895734213.malonedeb@soybean.canonical.com>
                   ` (3 preceding siblings ...)
  2020-04-06  7:36 ` Emin Ghuliev
@ 2020-04-06 10:20 ` Alex Bennée
  2020-04-06 13:54 ` Alex Bennée
                   ` (11 subsequent siblings)
  16 siblings, 0 replies; 17+ messages in thread
From: Alex Bennée @ 2020-04-06 10:20 UTC (permalink / raw)
  To: qemu-devel

** Tags added: whpx

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1821595

Title:
  Failed to emulate MMIO access with EmulatorReturnStatus: 2

Status in QEMU:
  New

Bug description:
  I have compiled qemu with enable-whpx parameter for Hyper-V Platform API in Mingw64 . When I tried run with Windows 7 iso file I have faced issue with the following problem: 
  qemu-system-x86_64.exe: WHPX: Failed to emulate MMIO access with EmulatorReturnStatus: 2
  qemu-system-x86_64.exe: WHPX: Failed to exec a virtual processor

  
  configuration directives:

  ../configure --target-list=x86_64-softmmu,i386-softmmu --enable-lzo\
   --enable-bzip2 --enable-tools --enable-sdl --enable-gtk --enable-hax\
   --enable-vdi --enable-qcow1 --enable-whpx --disable-capstone\
   --disable-werror --disable-stack-protector --prefix="../../QEMU-bin"

  
  Qemu command line:
  qemu-system-x86_64.exe -m 1024 -cdrom "C:\Users\vmcs\Documents\en_windows_7_home_premium_with_sp1_x86_dvd_u_676701.iso" -display sdl -machine q35 -accel whpx

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1821595/+subscriptions


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug 1821595] Re: Failed to emulate MMIO access with EmulatorReturnStatus: 2
       [not found] <155352235092.32006.12315829232895734213.malonedeb@soybean.canonical.com>
                   ` (4 preceding siblings ...)
  2020-04-06 10:20 ` Alex Bennée
@ 2020-04-06 13:54 ` Alex Bennée
  2020-04-09 17:41 ` Russell Morris
                   ` (10 subsequent siblings)
  16 siblings, 0 replies; 17+ messages in thread
From: Alex Bennée @ 2020-04-06 13:54 UTC (permalink / raw)
  To: qemu-devel

As far as I can tell QEMU just hands this off to the whpx emulation sub-
system:

  https://docs.microsoft.com/en-us/virtualization/api/hypervisor-
instruction-emulator/funcs/whvemulatortryemulation

Basically what is happening is the guest has tried to access I/O space
and trapped back to QEMU which then passes the instruction back to the
whpx support library to decode and emulate.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1821595

Title:
  Failed to emulate MMIO access with EmulatorReturnStatus: 2

Status in QEMU:
  New

Bug description:
  I have compiled qemu with enable-whpx parameter for Hyper-V Platform API in Mingw64 . When I tried run with Windows 7 iso file I have faced issue with the following problem: 
  qemu-system-x86_64.exe: WHPX: Failed to emulate MMIO access with EmulatorReturnStatus: 2
  qemu-system-x86_64.exe: WHPX: Failed to exec a virtual processor

  
  configuration directives:

  ../configure --target-list=x86_64-softmmu,i386-softmmu --enable-lzo\
   --enable-bzip2 --enable-tools --enable-sdl --enable-gtk --enable-hax\
   --enable-vdi --enable-qcow1 --enable-whpx --disable-capstone\
   --disable-werror --disable-stack-protector --prefix="../../QEMU-bin"

  
  Qemu command line:
  qemu-system-x86_64.exe -m 1024 -cdrom "C:\Users\vmcs\Documents\en_windows_7_home_premium_with_sp1_x86_dvd_u_676701.iso" -display sdl -machine q35 -accel whpx

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1821595/+subscriptions


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug 1821595] Re: Failed to emulate MMIO access with EmulatorReturnStatus: 2
       [not found] <155352235092.32006.12315829232895734213.malonedeb@soybean.canonical.com>
                   ` (5 preceding siblings ...)
  2020-04-06 13:54 ` Alex Bennée
@ 2020-04-09 17:41 ` Russell Morris
  2020-04-09 17:53 ` Emin Ghuliev
                   ` (9 subsequent siblings)
  16 siblings, 0 replies; 17+ messages in thread
From: Russell Morris @ 2020-04-09 17:41 UTC (permalink / raw)
  To: qemu-devel

Hi,

I tried backing up ... nothing but startup and UEFI (i.e. no OS, just
get to the EFI Shell). Can't even get there ... does that make sense?

Thanks!

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1821595

Title:
  Failed to emulate MMIO access with EmulatorReturnStatus: 2

Status in QEMU:
  New

Bug description:
  I have compiled qemu with enable-whpx parameter for Hyper-V Platform API in Mingw64 . When I tried run with Windows 7 iso file I have faced issue with the following problem: 
  qemu-system-x86_64.exe: WHPX: Failed to emulate MMIO access with EmulatorReturnStatus: 2
  qemu-system-x86_64.exe: WHPX: Failed to exec a virtual processor

  
  configuration directives:

  ../configure --target-list=x86_64-softmmu,i386-softmmu --enable-lzo\
   --enable-bzip2 --enable-tools --enable-sdl --enable-gtk --enable-hax\
   --enable-vdi --enable-qcow1 --enable-whpx --disable-capstone\
   --disable-werror --disable-stack-protector --prefix="../../QEMU-bin"

  
  Qemu command line:
  qemu-system-x86_64.exe -m 1024 -cdrom "C:\Users\vmcs\Documents\en_windows_7_home_premium_with_sp1_x86_dvd_u_676701.iso" -display sdl -machine q35 -accel whpx

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1821595/+subscriptions


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug 1821595] Re: Failed to emulate MMIO access with EmulatorReturnStatus: 2
       [not found] <155352235092.32006.12315829232895734213.malonedeb@soybean.canonical.com>
                   ` (6 preceding siblings ...)
  2020-04-09 17:41 ` Russell Morris
@ 2020-04-09 17:53 ` Emin Ghuliev
  2020-04-09 18:28 ` Russell Morris
                   ` (8 subsequent siblings)
  16 siblings, 0 replies; 17+ messages in thread
From: Emin Ghuliev @ 2020-04-09 17:53 UTC (permalink / raw)
  To: qemu-devel

I think WHPX can't some MMIO requests for EFI.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1821595

Title:
  Failed to emulate MMIO access with EmulatorReturnStatus: 2

Status in QEMU:
  New

Bug description:
  I have compiled qemu with enable-whpx parameter for Hyper-V Platform API in Mingw64 . When I tried run with Windows 7 iso file I have faced issue with the following problem: 
  qemu-system-x86_64.exe: WHPX: Failed to emulate MMIO access with EmulatorReturnStatus: 2
  qemu-system-x86_64.exe: WHPX: Failed to exec a virtual processor

  
  configuration directives:

  ../configure --target-list=x86_64-softmmu,i386-softmmu --enable-lzo\
   --enable-bzip2 --enable-tools --enable-sdl --enable-gtk --enable-hax\
   --enable-vdi --enable-qcow1 --enable-whpx --disable-capstone\
   --disable-werror --disable-stack-protector --prefix="../../QEMU-bin"

  
  Qemu command line:
  qemu-system-x86_64.exe -m 1024 -cdrom "C:\Users\vmcs\Documents\en_windows_7_home_premium_with_sp1_x86_dvd_u_676701.iso" -display sdl -machine q35 -accel whpx

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1821595/+subscriptions


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug 1821595] Re: Failed to emulate MMIO access with EmulatorReturnStatus: 2
       [not found] <155352235092.32006.12315829232895734213.malonedeb@soybean.canonical.com>
                   ` (7 preceding siblings ...)
  2020-04-09 17:53 ` Emin Ghuliev
@ 2020-04-09 18:28 ` Russell Morris
  2020-04-09 18:30 ` Russell Morris
                   ` (7 subsequent siblings)
  16 siblings, 0 replies; 17+ messages in thread
From: Russell Morris @ 2020-04-09 18:28 UTC (permalink / raw)
  To: qemu-devel

Folks seem to think this is the fix,
https://stackoverflow.com/questions/55197032/android-emulator-whpx-failed-to-emulate-mmio-access-exit-code-3

But it's not working for me ... does it help you?

Thanks!

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1821595

Title:
  Failed to emulate MMIO access with EmulatorReturnStatus: 2

Status in QEMU:
  New

Bug description:
  I have compiled qemu with enable-whpx parameter for Hyper-V Platform API in Mingw64 . When I tried run with Windows 7 iso file I have faced issue with the following problem: 
  qemu-system-x86_64.exe: WHPX: Failed to emulate MMIO access with EmulatorReturnStatus: 2
  qemu-system-x86_64.exe: WHPX: Failed to exec a virtual processor

  
  configuration directives:

  ../configure --target-list=x86_64-softmmu,i386-softmmu --enable-lzo\
   --enable-bzip2 --enable-tools --enable-sdl --enable-gtk --enable-hax\
   --enable-vdi --enable-qcow1 --enable-whpx --disable-capstone\
   --disable-werror --disable-stack-protector --prefix="../../QEMU-bin"

  
  Qemu command line:
  qemu-system-x86_64.exe -m 1024 -cdrom "C:\Users\vmcs\Documents\en_windows_7_home_premium_with_sp1_x86_dvd_u_676701.iso" -display sdl -machine q35 -accel whpx

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1821595/+subscriptions


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug 1821595] Re: Failed to emulate MMIO access with EmulatorReturnStatus: 2
       [not found] <155352235092.32006.12315829232895734213.malonedeb@soybean.canonical.com>
                   ` (8 preceding siblings ...)
  2020-04-09 18:28 ` Russell Morris
@ 2020-04-09 18:30 ` Russell Morris
  2020-04-09 20:07 ` Alex Bennée
                   ` (6 subsequent siblings)
  16 siblings, 0 replies; 17+ messages in thread
From: Russell Morris @ 2020-04-09 18:30 UTC (permalink / raw)
  To: qemu-devel

And here,
https://www.reddit.com/r/androiddev/comments/c7u6h2/android_virtual_device_on_ryzen/

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1821595

Title:
  Failed to emulate MMIO access with EmulatorReturnStatus: 2

Status in QEMU:
  New

Bug description:
  I have compiled qemu with enable-whpx parameter for Hyper-V Platform API in Mingw64 . When I tried run with Windows 7 iso file I have faced issue with the following problem: 
  qemu-system-x86_64.exe: WHPX: Failed to emulate MMIO access with EmulatorReturnStatus: 2
  qemu-system-x86_64.exe: WHPX: Failed to exec a virtual processor

  
  configuration directives:

  ../configure --target-list=x86_64-softmmu,i386-softmmu --enable-lzo\
   --enable-bzip2 --enable-tools --enable-sdl --enable-gtk --enable-hax\
   --enable-vdi --enable-qcow1 --enable-whpx --disable-capstone\
   --disable-werror --disable-stack-protector --prefix="../../QEMU-bin"

  
  Qemu command line:
  qemu-system-x86_64.exe -m 1024 -cdrom "C:\Users\vmcs\Documents\en_windows_7_home_premium_with_sp1_x86_dvd_u_676701.iso" -display sdl -machine q35 -accel whpx

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1821595/+subscriptions


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug 1821595] Re: Failed to emulate MMIO access with EmulatorReturnStatus: 2
       [not found] <155352235092.32006.12315829232895734213.malonedeb@soybean.canonical.com>
                   ` (9 preceding siblings ...)
  2020-04-09 18:30 ` Russell Morris
@ 2020-04-09 20:07 ` Alex Bennée
  2020-04-09 20:22 ` Russell Morris
                   ` (5 subsequent siblings)
  16 siblings, 0 replies; 17+ messages in thread
From: Alex Bennée @ 2020-04-09 20:07 UTC (permalink / raw)
  To: qemu-devel

I don't think QEMU can do anything to fix this - you need to build
against a new library.

** Tags added: upstream-bug

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1821595

Title:
  Failed to emulate MMIO access with EmulatorReturnStatus: 2

Status in QEMU:
  New

Bug description:
  I have compiled qemu with enable-whpx parameter for Hyper-V Platform API in Mingw64 . When I tried run with Windows 7 iso file I have faced issue with the following problem: 
  qemu-system-x86_64.exe: WHPX: Failed to emulate MMIO access with EmulatorReturnStatus: 2
  qemu-system-x86_64.exe: WHPX: Failed to exec a virtual processor

  
  configuration directives:

  ../configure --target-list=x86_64-softmmu,i386-softmmu --enable-lzo\
   --enable-bzip2 --enable-tools --enable-sdl --enable-gtk --enable-hax\
   --enable-vdi --enable-qcow1 --enable-whpx --disable-capstone\
   --disable-werror --disable-stack-protector --prefix="../../QEMU-bin"

  
  Qemu command line:
  qemu-system-x86_64.exe -m 1024 -cdrom "C:\Users\vmcs\Documents\en_windows_7_home_premium_with_sp1_x86_dvd_u_676701.iso" -display sdl -machine q35 -accel whpx

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1821595/+subscriptions


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug 1821595] Re: Failed to emulate MMIO access with EmulatorReturnStatus: 2
       [not found] <155352235092.32006.12315829232895734213.malonedeb@soybean.canonical.com>
                   ` (10 preceding siblings ...)
  2020-04-09 20:07 ` Alex Bennée
@ 2020-04-09 20:22 ` Russell Morris
  2020-04-12  1:31 ` Russell Morris
                   ` (4 subsequent siblings)
  16 siblings, 0 replies; 17+ messages in thread
From: Russell Morris @ 2020-04-09 20:22 UTC (permalink / raw)
  To: qemu-devel

Sorry, not quite following your comment - but it's likely me :-(.

I assume you mean QEMU - but build against what upstream library? I ask
because for QEMU to build, only the three header files from Windows are
copied over, and then it calls / uses the dll's (libraries) in Windows
itself ... right? FYI, I'm running Windows 19041.172, to try to make
sure I do have the latest related to whpx.

Thanks!

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1821595

Title:
  Failed to emulate MMIO access with EmulatorReturnStatus: 2

Status in QEMU:
  New

Bug description:
  I have compiled qemu with enable-whpx parameter for Hyper-V Platform API in Mingw64 . When I tried run with Windows 7 iso file I have faced issue with the following problem: 
  qemu-system-x86_64.exe: WHPX: Failed to emulate MMIO access with EmulatorReturnStatus: 2
  qemu-system-x86_64.exe: WHPX: Failed to exec a virtual processor

  
  configuration directives:

  ../configure --target-list=x86_64-softmmu,i386-softmmu --enable-lzo\
   --enable-bzip2 --enable-tools --enable-sdl --enable-gtk --enable-hax\
   --enable-vdi --enable-qcow1 --enable-whpx --disable-capstone\
   --disable-werror --disable-stack-protector --prefix="../../QEMU-bin"

  
  Qemu command line:
  qemu-system-x86_64.exe -m 1024 -cdrom "C:\Users\vmcs\Documents\en_windows_7_home_premium_with_sp1_x86_dvd_u_676701.iso" -display sdl -machine q35 -accel whpx

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1821595/+subscriptions


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug 1821595] Re: Failed to emulate MMIO access with EmulatorReturnStatus: 2
       [not found] <155352235092.32006.12315829232895734213.malonedeb@soybean.canonical.com>
                   ` (11 preceding siblings ...)
  2020-04-09 20:22 ` Russell Morris
@ 2020-04-12  1:31 ` Russell Morris
  2020-04-12  1:31 ` Russell Morris
                   ` (3 subsequent siblings)
  16 siblings, 0 replies; 17+ messages in thread
From: Russell Morris @ 2020-04-12  1:31 UTC (permalink / raw)
  To: qemu-devel

Hi,

I built against the latest library I could (Windows Insider Preview,
SDK) - same failure.

Thoughts?

Thanks!

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1821595

Title:
  Failed to emulate MMIO access with EmulatorReturnStatus: 2

Status in QEMU:
  New

Bug description:
  I have compiled qemu with enable-whpx parameter for Hyper-V Platform API in Mingw64 . When I tried run with Windows 7 iso file I have faced issue with the following problem: 
  qemu-system-x86_64.exe: WHPX: Failed to emulate MMIO access with EmulatorReturnStatus: 2
  qemu-system-x86_64.exe: WHPX: Failed to exec a virtual processor

  
  configuration directives:

  ../configure --target-list=x86_64-softmmu,i386-softmmu --enable-lzo\
   --enable-bzip2 --enable-tools --enable-sdl --enable-gtk --enable-hax\
   --enable-vdi --enable-qcow1 --enable-whpx --disable-capstone\
   --disable-werror --disable-stack-protector --prefix="../../QEMU-bin"

  
  Qemu command line:
  qemu-system-x86_64.exe -m 1024 -cdrom "C:\Users\vmcs\Documents\en_windows_7_home_premium_with_sp1_x86_dvd_u_676701.iso" -display sdl -machine q35 -accel whpx

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1821595/+subscriptions


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug 1821595] Re: Failed to emulate MMIO access with EmulatorReturnStatus: 2
       [not found] <155352235092.32006.12315829232895734213.malonedeb@soybean.canonical.com>
                   ` (12 preceding siblings ...)
  2020-04-12  1:31 ` Russell Morris
@ 2020-04-12  1:31 ` Russell Morris
  2020-09-29 23:54 ` Fernando Luiz
                   ` (2 subsequent siblings)
  16 siblings, 0 replies; 17+ messages in thread
From: Russell Morris @ 2020-04-12  1:31 UTC (permalink / raw)
  To: qemu-devel

Should say - I rebuilt (today). Still no joy.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1821595

Title:
  Failed to emulate MMIO access with EmulatorReturnStatus: 2

Status in QEMU:
  New

Bug description:
  I have compiled qemu with enable-whpx parameter for Hyper-V Platform API in Mingw64 . When I tried run with Windows 7 iso file I have faced issue with the following problem: 
  qemu-system-x86_64.exe: WHPX: Failed to emulate MMIO access with EmulatorReturnStatus: 2
  qemu-system-x86_64.exe: WHPX: Failed to exec a virtual processor

  
  configuration directives:

  ../configure --target-list=x86_64-softmmu,i386-softmmu --enable-lzo\
   --enable-bzip2 --enable-tools --enable-sdl --enable-gtk --enable-hax\
   --enable-vdi --enable-qcow1 --enable-whpx --disable-capstone\
   --disable-werror --disable-stack-protector --prefix="../../QEMU-bin"

  
  Qemu command line:
  qemu-system-x86_64.exe -m 1024 -cdrom "C:\Users\vmcs\Documents\en_windows_7_home_premium_with_sp1_x86_dvd_u_676701.iso" -display sdl -machine q35 -accel whpx

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1821595/+subscriptions


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug 1821595] Re: Failed to emulate MMIO access with EmulatorReturnStatus: 2
       [not found] <155352235092.32006.12315829232895734213.malonedeb@soybean.canonical.com>
                   ` (13 preceding siblings ...)
  2020-04-12  1:31 ` Russell Morris
@ 2020-09-29 23:54 ` Fernando Luiz
  2021-04-20  8:27 ` Thomas Huth
  2021-06-20  4:17 ` Launchpad Bug Tracker
  16 siblings, 0 replies; 17+ messages in thread
From: Fernando Luiz @ 2020-09-29 23:54 UTC (permalink / raw)
  To: qemu-devel

Hi. I didnt build Qemu but I downloaded the last version 5.1.0 from
https://qemu.weilnetz.de/w64/ and the error "Failed to emulate MMIO
access with EmulatorReturnStatus: 2" happens when I use -drive if=pflash
or -pflash with -accel whpx.

"qemu-system-x86_64.exe -pflash d:\macWIN\OVMF_CODE.fd -accel whpx
Windows Hypervisor Platform accelerator is operational
qemu-system-x86_64.exe: WHPX: Failed to emulate MMIO access with EmulatorReturnStatus: 2
qemu-system-x86_64.exe: WHPX: Failed to exec a virtual processor"


If I remove pflash and change to -bios "ovmf" the machine works.
qemu-system-x86_64.exe -bios d:\macWIN\OVMF_CODE.fd -accel whpx

If I maintain pflash but remove -accel whpx the machine works too.
qemu-system-x86_64.exe -pflash d:\macWIN\OVMF_CODE.fd

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1821595

Title:
  Failed to emulate MMIO access with EmulatorReturnStatus: 2

Status in QEMU:
  New

Bug description:
  I have compiled qemu with enable-whpx parameter for Hyper-V Platform API in Mingw64 . When I tried run with Windows 7 iso file I have faced issue with the following problem: 
  qemu-system-x86_64.exe: WHPX: Failed to emulate MMIO access with EmulatorReturnStatus: 2
  qemu-system-x86_64.exe: WHPX: Failed to exec a virtual processor

  
  configuration directives:

  ../configure --target-list=x86_64-softmmu,i386-softmmu --enable-lzo\
   --enable-bzip2 --enable-tools --enable-sdl --enable-gtk --enable-hax\
   --enable-vdi --enable-qcow1 --enable-whpx --disable-capstone\
   --disable-werror --disable-stack-protector --prefix="../../QEMU-bin"

  
  Qemu command line:
  qemu-system-x86_64.exe -m 1024 -cdrom "C:\Users\vmcs\Documents\en_windows_7_home_premium_with_sp1_x86_dvd_u_676701.iso" -display sdl -machine q35 -accel whpx

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1821595/+subscriptions


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug 1821595] Re: Failed to emulate MMIO access with EmulatorReturnStatus: 2
       [not found] <155352235092.32006.12315829232895734213.malonedeb@soybean.canonical.com>
                   ` (14 preceding siblings ...)
  2020-09-29 23:54 ` Fernando Luiz
@ 2021-04-20  8:27 ` Thomas Huth
  2021-06-20  4:17 ` Launchpad Bug Tracker
  16 siblings, 0 replies; 17+ messages in thread
From: Thomas Huth @ 2021-04-20  8:27 UTC (permalink / raw)
  To: qemu-devel

The QEMU project is currently considering to move its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting older bugs to "Incomplete" now.
If you still think this bug report here is valid, then please switch the state back to "New" within the next 60 days, otherwise this report will be marked as "Expired". Or mark it as "Fix Released" if the problem has been solved with a newer version of QEMU already. Thank you and sorry for the inconvenience.

** Changed in: qemu
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1821595

Title:
  Failed to emulate MMIO access with EmulatorReturnStatus: 2

Status in QEMU:
  Incomplete

Bug description:
  I have compiled qemu with enable-whpx parameter for Hyper-V Platform API in Mingw64 . When I tried run with Windows 7 iso file I have faced issue with the following problem: 
  qemu-system-x86_64.exe: WHPX: Failed to emulate MMIO access with EmulatorReturnStatus: 2
  qemu-system-x86_64.exe: WHPX: Failed to exec a virtual processor

  
  configuration directives:

  ../configure --target-list=x86_64-softmmu,i386-softmmu --enable-lzo\
   --enable-bzip2 --enable-tools --enable-sdl --enable-gtk --enable-hax\
   --enable-vdi --enable-qcow1 --enable-whpx --disable-capstone\
   --disable-werror --disable-stack-protector --prefix="../../QEMU-bin"

  
  Qemu command line:
  qemu-system-x86_64.exe -m 1024 -cdrom "C:\Users\vmcs\Documents\en_windows_7_home_premium_with_sp1_x86_dvd_u_676701.iso" -display sdl -machine q35 -accel whpx

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1821595/+subscriptions


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug 1821595] Re: Failed to emulate MMIO access with EmulatorReturnStatus: 2
       [not found] <155352235092.32006.12315829232895734213.malonedeb@soybean.canonical.com>
                   ` (15 preceding siblings ...)
  2021-04-20  8:27 ` Thomas Huth
@ 2021-06-20  4:17 ` Launchpad Bug Tracker
  16 siblings, 0 replies; 17+ messages in thread
From: Launchpad Bug Tracker @ 2021-06-20  4:17 UTC (permalink / raw)
  To: qemu-devel

[Expired for QEMU because there has been no activity for 60 days.]

** Changed in: qemu
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1821595

Title:
  Failed to emulate MMIO access with EmulatorReturnStatus: 2

Status in QEMU:
  Expired

Bug description:
  I have compiled qemu with enable-whpx parameter for Hyper-V Platform API in Mingw64 . When I tried run with Windows 7 iso file I have faced issue with the following problem: 
  qemu-system-x86_64.exe: WHPX: Failed to emulate MMIO access with EmulatorReturnStatus: 2
  qemu-system-x86_64.exe: WHPX: Failed to exec a virtual processor

  
  configuration directives:

  ../configure --target-list=x86_64-softmmu,i386-softmmu --enable-lzo\
   --enable-bzip2 --enable-tools --enable-sdl --enable-gtk --enable-hax\
   --enable-vdi --enable-qcow1 --enable-whpx --disable-capstone\
   --disable-werror --disable-stack-protector --prefix="../../QEMU-bin"

  
  Qemu command line:
  qemu-system-x86_64.exe -m 1024 -cdrom "C:\Users\vmcs\Documents\en_windows_7_home_premium_with_sp1_x86_dvd_u_676701.iso" -display sdl -machine q35 -accel whpx

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1821595/+subscriptions


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2021-06-20  4:30 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <155352235092.32006.12315829232895734213.malonedeb@soybean.canonical.com>
2020-04-06  0:51 ` [Bug 1821595] Re: Failed to emulate MMIO access with EmulatorReturnStatus: 2 Russell Morris
2020-04-06  1:14 ` Russell Morris
2020-04-06  7:23 ` Emin Ghuliev
2020-04-06  7:36 ` Emin Ghuliev
2020-04-06 10:20 ` Alex Bennée
2020-04-06 13:54 ` Alex Bennée
2020-04-09 17:41 ` Russell Morris
2020-04-09 17:53 ` Emin Ghuliev
2020-04-09 18:28 ` Russell Morris
2020-04-09 18:30 ` Russell Morris
2020-04-09 20:07 ` Alex Bennée
2020-04-09 20:22 ` Russell Morris
2020-04-12  1:31 ` Russell Morris
2020-04-12  1:31 ` Russell Morris
2020-09-29 23:54 ` Fernando Luiz
2021-04-20  8:27 ` Thomas Huth
2021-06-20  4:17 ` Launchpad Bug Tracker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.