diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-03-22 17:28:22 +0100 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2024-04-25 15:15:25 +0200 |
commit | 9a72bea6828ef3f9c957fde1a390a81d66b38cec (patch) | |
tree | d2e8c439d9ed801c0cbe841b8d7ce0ca52db497d /scripts/python_qmp_updater.py | |
parent | 641b1efe01b2dd6e7ac92f23d392dcee73508746 (diff) | |
download | qemu-9a72bea6828ef3f9c957fde1a390a81d66b38cec.zip qemu-9a72bea6828ef3f9c957fde1a390a81d66b38cec.tar.gz qemu-9a72bea6828ef3f9c957fde1a390a81d66b38cec.tar.bz2 |
hw/s390x: Include missing 'cpu.h' header
"cpu.h" is implicitly included. Include it explicitly to
avoid the following error when refactoring headers:
hw/s390x/s390-stattrib.c:86:40: error: use of undeclared identifier 'TARGET_PAGE_SIZE'
len = sac->peek_stattr(sas, addr / TARGET_PAGE_SIZE, buflen, vals);
^
hw/s390x/s390-stattrib.c:94:58: error: use of undeclared identifier 'TARGET_PAGE_MASK'
addr / TARGET_PAGE_SIZE, len, addr & ~TARGET_PAGE_MASK);
^
hw/s390x/s390-stattrib.c:224:40: error: use of undeclared identifier 'TARGET_PAGE_BITS'
qemu_put_be64(f, (start_gfn << TARGET_PAGE_BITS) | STATTR_FLAG_MORE);
^
In file included from hw/s390x/s390-virtio-ccw.c:17:
hw/s390x/s390-virtio-hcall.h:22:27: error: unknown type name 'CPUS390XState'
int s390_virtio_hypercall(CPUS390XState *env);
^
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Acked-by: Eric Farman <farman@linux.ibm.com>
Message-ID: <20240322162822.7391-1-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'scripts/python_qmp_updater.py')
0 files changed, 0 insertions, 0 deletions