Browse Source
* target/i386: Reset parked vCPUs together with the online ones * scsi: add conversion from ENODEV to sense * target/i386: tweaks to flag handling * target/i386: tweaks to SHLD/SHRD code generation * target/i386: remove some global temporaries from TCG * target/i386: pull emulator outside target/i386/hvf * host/i386: consolidate getting host CPU vendor * rust/hpet: preparation for migration support * rust/pl011: bring over more commits from C version -----BEGIN PGP SIGNATURE----- iQFIBAABCgAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmgItXAUHHBib256aW5p QHJlZGhhdC5jb20ACgkQv/vSX3jHroNrwgf/TAiz0LdO9q3O9Ob2FJVdAL6jn0YH /yDjAOpRT9WBOoKi+fikMuX6FlxVNpb6K5xx/WMbXDiO3PLMMNYet3fnXpjGBCj0 aLcrHxG0TUfUk2mYssBoyZ1IG5bjevRZjjRFAXGubJZp/l6oXCCPrZ4mkW9MRP9U GzzwhSC2U0CuZREz4YxurPZmgx9lKRcf71lVExh6AHWpPPU3tWk0F51zE+PxObWk WvNwVvBPPYryC88DcN9YytiNn0jLtIozf3sxTDAi6jsg5T6PzeGU+LTck3DtQJIY 3eAoTpLW1ZEYMIcbA/upLHz+obqDCgWZUPQydHvJS/xlIcnO+RYkWobOxg== =06CN -----END PGP SIGNATURE----- Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging * target/i386: Fix model number of Zhaoxin YongFeng vCPU template * target/i386: Reset parked vCPUs together with the online ones * scsi: add conversion from ENODEV to sense * target/i386: tweaks to flag handling * target/i386: tweaks to SHLD/SHRD code generation * target/i386: remove some global temporaries from TCG * target/i386: pull emulator outside target/i386/hvf * host/i386: consolidate getting host CPU vendor * rust/hpet: preparation for migration support * rust/pl011: bring over more commits from C version # -----BEGIN PGP SIGNATURE----- # # iQFIBAABCgAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmgItXAUHHBib256aW5p # QHJlZGhhdC5jb20ACgkQv/vSX3jHroNrwgf/TAiz0LdO9q3O9Ob2FJVdAL6jn0YH # /yDjAOpRT9WBOoKi+fikMuX6FlxVNpb6K5xx/WMbXDiO3PLMMNYet3fnXpjGBCj0 # aLcrHxG0TUfUk2mYssBoyZ1IG5bjevRZjjRFAXGubJZp/l6oXCCPrZ4mkW9MRP9U # GzzwhSC2U0CuZREz4YxurPZmgx9lKRcf71lVExh6AHWpPPU3tWk0F51zE+PxObWk # WvNwVvBPPYryC88DcN9YytiNn0jLtIozf3sxTDAi6jsg5T6PzeGU+LTck3DtQJIY # 3eAoTpLW1ZEYMIcbA/upLHz+obqDCgWZUPQydHvJS/xlIcnO+RYkWobOxg== # =06CN # -----END PGP SIGNATURE----- # gpg: Signature made Wed 23 Apr 2025 05:40:00 EDT # gpg: using RSA key F13338574B662389866C7682BFFBD25F78C7AE83 # gpg: issuer "pbonzini@redhat.com" # gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>" [full] # gpg: aka "Paolo Bonzini <pbonzini@redhat.com>" [full] # Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4 E2F7 7E15 100C CD36 69B1 # Subkey fingerprint: F133 3857 4B66 2389 866C 7682 BFFB D25F 78C7 AE83 * tag 'for-upstream' of https://gitlab.com/bonzini/qemu: (34 commits) rust/hw/char/pl011: Extract DR write logic into separate function rust/hw/char/pl011: Extract extract DR read logic into separate function rust/vmstate_test: Fix typo in test_vmstate_macro_array_of_pointer_wrapped() rust/hpet: Fix a clippy error rust/hpet: convert HPETTimer index to u8 type rust/hpet: convert num_timers to u8 type i386/cpu: Consolidate the helper to get Host's vendor target/i386/emulate: remove flags_mask MAINTAINERS: add an entry for the x86 instruction emulator target/i386: move x86 instruction emulator out of hvf target/i386/emulate: add a panic.h target/i386: add a directory for x86 instruction emulator target/i386/hvf: rename some include guards target/i386/hvf: drop unused headers target/i386: rename lazy flags field and its type target/i386/hvf: provide and use simulate_{wrmsr, rdmsr} in emul_ops target/i386/hvf: provide and use write_mem in emul_ops target/i386/hvf: use emul_ops->read_mem in x86_emu.c target/i386: rename hvf_mmio_buf to emu_mmio_buf target/i386/hvf: provide and use handle_io in emul_ops ... Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>pull/291/head
33 changed files with 989 additions and 792 deletions
@ -0,0 +1,5 @@ |
|||
i386_system_ss.add(when: [hvf, 'CONFIG_HVF'], if_true: files( |
|||
'x86_decode.c', |
|||
'x86_emu.c', |
|||
'x86_flags.c', |
|||
)) |
|||
@ -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.1 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 X86_EMU_PANIC_H |
|||
#define X86_EMU_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 |
|||
File diff suppressed because it is too large
Loading…
Reference in new issue