[PATCH] target/i386: Change unavail from u32 to u64

2024-07-30 Thread Xiong Zhang
tps://gitlab.com/qemu-project/qemu/-/issues/2442 Fixes: 0b2757412cb1 ("target/i386: drop AMD machine check bits from Intel CPUID") Signed-off-by: Xiong Zhang --- target/i386/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/i386/cpu.c b/target/i386/cpu.c index 46

[Qemu-devel] [PATCH] Revert "Revert "vfio/pci-quirks.c: Disable stolen memory for igd VFIO""

2018-08-05 Thread Xiong Zhang
could work under igd passthrough. Signed-off-by: Xiong Zhang --- hw/vfio/pci-quirks.c | 65 ++-- 1 file changed, 38 insertions(+), 27 deletions(-) diff --git a/hw/vfio/pci-quirks.c b/hw/vfio/pci-quirks.c index 481fd08..dcaebcb 100644 --- a/hw/vfio/pci-quirks

[Qemu-devel] [PATCH] vfio/pci-quirks.c: Make stolen memory size adjustable for igd VFIO

2018-04-10 Thread Xiong Zhang
4860 could work successfully, windows guest with igd driver below 15.45.4860 should add x-igd-gms=* option. Signed-off-by: Xiong Zhang --- hw/vfio/pci-quirks.c | 95 1 file changed, 52 insertions(+), 43 deletions(-) diff --git a/hw/vfio/pci-qui

[Qemu-devel] [PATCH] Revert "Revert "vfio/pci-quirks.c: Disable stolen memory for igd VFIO""

2017-11-06 Thread Xiong Zhang
iver have fixed the broken. Let's restore it to the original patch, so that both windows and linux guest could boot up successfully. Signed-off-by: Xiong Zhang --- hw/vfio/pci-quirks.c | 65 ++-- 1 file changed, 38 insertions(+), 27 deletions

[Qemu-devel] [PATCH] Revert "vfio/pci-quirks.c: Disable stolen memory for igd VFIO"

2017-03-30 Thread Xiong Zhang
, it will unload. Meanwhile stolen memory will be disabled in 915 when i915 run as a guest. Signed-off-by: Xiong Zhang --- hw/vfio/pci-quirks.c | 65 ++-- 1 file changed, 27 insertions(+), 38 deletions(-) diff --git a/hw/vfio/pci-quirks.c b/hw/vfio

[Qemu-devel] [PATCH v2] vfio/pci-quirks.c: Disable stolen memory for igd VFIO

2017-02-22 Thread Xiong Zhang
tolen memory. In legacy mode, user could use x-igd-gms option to specify the amount of stolen memory which will be pre-allocated and reserved by bios for igd use. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99028 https://bugs.freedesktop.org/show_bug.cgi?id=99025 Signed-off-by:

[Qemu-devel] [PATCH] vfio/pci-quirks.c: Disable stolen memory for igd VFIO

2017-02-19 Thread Xiong Zhang
memory in this case. Bugzilla:https://bugs.freedesktop.org/show_bug.cgi?id=99028 https://bugs.freedesktop.org/show_bug.cgi?id=99025 Signed-off-by: Xiong Zhang Tested-by: Terrence Xu --- hw/vfio/pci-quirks.c | 63 ++-- 1 file changed, 36

[Qemu-devel] [PATCH] vfio/pci-quirks.c: Disable stolen memory for igd VFIO

2017-02-19 Thread Xiong Zhang
memory in this case. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99028 https://bugs.freedesktop.org/show_bug.cgi?id=99025 Signed-off-by: Xiong Zhang Tested-by: Terrence Xu --- hw/vfio/pci-quirks.c | 71 +--- 1 file c