mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
trivial patches for 2024-03-09
-----BEGIN PGP SIGNATURE----- iQFDBAABCAAtFiEEe3O61ovnosKJMUsicBtPaxppPlkFAmXshtIPHG1qdEB0bHMu bXNrLnJ1AAoJEHAbT2saaT5ZMFUIAKTd1rYzRs6x4wXitaWbYIIs2d6UB/HLbzz2 BVHZwoYqsW3TuNFJp4njHhexZ76nFlT8xMuOKB5tAm4KOmqOdxS/mfThuSGsWGP7 CAk35ENOMQbii/jp6tqawop+H0rVMSJjBrkU4vLRAtQ7g1ISnX6tJi3wiyS+FtHq 9eIfgJgM77tvq6RLPZTUrUBevMWQfjMcvXmMnYqL4Z1dnibIb5/R3RKAnEc4CUoS hMw94wBcq+ZOQNPnY7d+WioKq7JcSWX7UW5NuHo+C+G83nq1/5vE8Oe2kNwzFyDL 9sIqL8bz6v8iiqcVMIBykSAZhYH9QEuVRJso18UE5w0B8k4CQcM= =dIAF -----END PGP SIGNATURE----- Merge tag 'pull-trivial-patches' of https://gitlab.com/mjt0k/qemu into staging trivial patches for 2024-03-09 # -----BEGIN PGP SIGNATURE----- # # iQFDBAABCAAtFiEEe3O61ovnosKJMUsicBtPaxppPlkFAmXshtIPHG1qdEB0bHMu # bXNrLnJ1AAoJEHAbT2saaT5ZMFUIAKTd1rYzRs6x4wXitaWbYIIs2d6UB/HLbzz2 # BVHZwoYqsW3TuNFJp4njHhexZ76nFlT8xMuOKB5tAm4KOmqOdxS/mfThuSGsWGP7 # CAk35ENOMQbii/jp6tqawop+H0rVMSJjBrkU4vLRAtQ7g1ISnX6tJi3wiyS+FtHq # 9eIfgJgM77tvq6RLPZTUrUBevMWQfjMcvXmMnYqL4Z1dnibIb5/R3RKAnEc4CUoS # hMw94wBcq+ZOQNPnY7d+WioKq7JcSWX7UW5NuHo+C+G83nq1/5vE8Oe2kNwzFyDL # 9sIqL8bz6v8iiqcVMIBykSAZhYH9QEuVRJso18UE5w0B8k4CQcM= # =dIAF # -----END PGP SIGNATURE----- # gpg: Signature made Sat 09 Mar 2024 15:57:06 GMT # gpg: using RSA key 7B73BAD68BE7A2C289314B22701B4F6B1A693E59 # gpg: issuer "mjt@tls.msk.ru" # gpg: Good signature from "Michael Tokarev <mjt@tls.msk.ru>" [full] # gpg: aka "Michael Tokarev <mjt@corpit.ru>" [full] # gpg: aka "Michael Tokarev <mjt@debian.org>" [full] # Primary key fingerprint: 6EE1 95D1 886E 8FFB 810D 4324 457C E0A0 8044 65C5 # Subkey fingerprint: 7B73 BAD6 8BE7 A2C2 8931 4B22 701B 4F6B 1A69 3E59 * tag 'pull-trivial-patches' of https://gitlab.com/mjt0k/qemu: docs/acpi/bits: add some clarity and details while also improving formating hw/mem/cxl_type3: Fix problem with g_steal_pointer() hw/pci-bridge/cxl_upstream: Fix problem with g_steal_pointer() hw/cxl/cxl-cdat: Fix type of buf in ct3_load_cdat() qerror: QERR_DEVICE_IN_USE is no longer used, drop blockdev: Fix block_resize error reporting for op blockers char: Slightly better error reporting when chardev is in use make-release: switch to .xz format by default hw/scsi/lsi53c895a: Fix typo in comment hw/vfio/pci.c: Make some structure static replay: Improve error messages about configuration conflicts Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
commit
89126b6dca
13 changed files with 82 additions and 57 deletions
|
@ -82,7 +82,8 @@ typedef struct CDATDsmas {
|
|||
uint16_t reserved;
|
||||
uint64_t DPA_base;
|
||||
uint64_t DPA_length;
|
||||
} QEMU_PACKED CDATDsmas;
|
||||
} CDATDsmas;
|
||||
QEMU_BUILD_BUG_ON(sizeof(CDATDsmas) != 24);
|
||||
|
||||
/* Device Scoped Latency and Bandwidth Information Structure - CDAT Table 5 */
|
||||
typedef struct CDATDslbis {
|
||||
|
@ -95,7 +96,8 @@ typedef struct CDATDslbis {
|
|||
uint64_t entry_base_unit;
|
||||
uint16_t entry[3];
|
||||
uint16_t reserved2;
|
||||
} QEMU_PACKED CDATDslbis;
|
||||
} CDATDslbis;
|
||||
QEMU_BUILD_BUG_ON(sizeof(CDATDslbis) != 24);
|
||||
|
||||
/* Device Scoped Memory Side Cache Information Structure - CDAT Table 6 */
|
||||
typedef struct CDATDsmscis {
|
||||
|
@ -122,7 +124,8 @@ typedef struct CDATDsemts {
|
|||
uint16_t reserved;
|
||||
uint64_t DPA_offset;
|
||||
uint64_t DPA_length;
|
||||
} QEMU_PACKED CDATDsemts;
|
||||
} CDATDsemts;
|
||||
QEMU_BUILD_BUG_ON(sizeof(CDATDsemts) != 24);
|
||||
|
||||
/* Switch Scoped Latency and Bandwidth Information Structure - CDAT Table 9 */
|
||||
typedef struct CDATSslbisHeader {
|
||||
|
@ -130,7 +133,8 @@ typedef struct CDATSslbisHeader {
|
|||
uint8_t data_type;
|
||||
uint8_t reserved[3];
|
||||
uint64_t entry_base_unit;
|
||||
} QEMU_PACKED CDATSslbisHeader;
|
||||
} CDATSslbisHeader;
|
||||
QEMU_BUILD_BUG_ON(sizeof(CDATSslbisHeader) != 16);
|
||||
|
||||
#define CDAT_PORT_ID_USP 0x100
|
||||
/* Switch Scoped Latency and Bandwidth Entry - CDAT Table 10 */
|
||||
|
@ -139,12 +143,13 @@ typedef struct CDATSslbe {
|
|||
uint16_t port_y_id;
|
||||
uint16_t latency_bandwidth;
|
||||
uint16_t reserved;
|
||||
} QEMU_PACKED CDATSslbe;
|
||||
} CDATSslbe;
|
||||
QEMU_BUILD_BUG_ON(sizeof(CDATSslbe) != 8);
|
||||
|
||||
typedef struct CDATSslbis {
|
||||
CDATSslbisHeader sslbis_header;
|
||||
CDATSslbe sslbe[];
|
||||
} QEMU_PACKED CDATSslbis;
|
||||
} CDATSslbis;
|
||||
|
||||
typedef struct CDATEntry {
|
||||
void *base;
|
||||
|
|
|
@ -23,9 +23,6 @@
|
|||
#define QERR_DEVICE_HAS_NO_MEDIUM \
|
||||
"Device '%s' has no medium"
|
||||
|
||||
#define QERR_DEVICE_IN_USE \
|
||||
"Device '%s' is in use"
|
||||
|
||||
#define QERR_DEVICE_NO_HOTPLUG \
|
||||
"Device '%s' does not support hotplugging"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue