mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
Merge remote-tracking branch 'remotes/vivier2/tags/trivial-branch-for-6.0-pull-request' into staging
Pull request # gpg: Signature made Wed 10 Mar 2021 21:56:09 GMT # gpg: using RSA key CD2F75DDC8E3A4DC2E4F5173F30C38BD3F2FBE3C # gpg: issuer "laurent@vivier.eu" # gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>" [full] # gpg: aka "Laurent Vivier <laurent@vivier.eu>" [full] # gpg: aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>" [full] # Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F 5173 F30C 38BD 3F2F BE3C * remotes/vivier2/tags/trivial-branch-for-6.0-pull-request: (22 commits) sysemu: Let VMChangeStateHandler take boolean 'running' argument sysemu/runstate: Let runstate_is_running() return bool hw/lm32/Kconfig: Have MILKYMIST select LM32_DEVICES hw/lm32/Kconfig: Rename CONFIG_LM32 -> CONFIG_LM32_DEVICES hw/lm32/Kconfig: Introduce CONFIG_LM32_EVR for lm32-evr/uclinux boards qemu-common.h: Update copyright string to 2021 tests/fp/fp-test: Replace the word 'blacklist' qemu-options: Replace the word 'blacklist' seccomp: Replace the word 'blacklist' scripts/tracetool: Replace the word 'whitelist' ui: Replace the word 'whitelist' virtio-gpu: Adjust code space style exec/memory: Use struct Object typedef fuzz-test: remove unneccessary debugging flags net: Use id_generate() in the network subsystem, too MAINTAINERS: Fix the location of tools manuals vhost_user_gpu: Drop dead check for g_malloc() failure backends/dbus-vmstate: Fix short read error handling target/hexagon/gen_tcg_funcs: Fix a typo hw/elf_ops: Fix a typo ... Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
+5
-5
@@ -1869,7 +1869,7 @@ S: Odd Fixes
|
||||
F: hw/9pfs/
|
||||
X: hw/9pfs/xen-9p*
|
||||
F: fsdev/
|
||||
F: docs/interop/virtfs-proxy-helper.rst
|
||||
F: docs/tools/virtfs-proxy-helper.rst
|
||||
F: tests/qtest/virtio-9p-test.c
|
||||
T: git https://gitlab.com/gkurz/qemu.git 9p-next
|
||||
T: git https://github.com/cschoenebeck/qemu.git 9p.next
|
||||
@@ -1900,7 +1900,7 @@ S: Supported
|
||||
F: tools/virtiofsd/*
|
||||
F: hw/virtio/vhost-user-fs*
|
||||
F: include/hw/virtio/vhost-user-fs.h
|
||||
F: docs/interop/virtiofsd.rst
|
||||
F: docs/tools/virtiofsd.rst
|
||||
|
||||
virtio-input
|
||||
M: Gerd Hoffmann <kraxel@redhat.com>
|
||||
@@ -2214,7 +2214,7 @@ F: block/
|
||||
F: hw/block/
|
||||
F: include/block/
|
||||
F: qemu-img*
|
||||
F: docs/interop/qemu-img.rst
|
||||
F: docs/tools/qemu-img.rst
|
||||
F: qemu-io*
|
||||
F: tests/qemu-iotests/
|
||||
F: util/qemu-progress.c
|
||||
@@ -2671,7 +2671,7 @@ F: qapi/trace.json
|
||||
F: scripts/tracetool.py
|
||||
F: scripts/tracetool/
|
||||
F: scripts/qemu-trace-stap*
|
||||
F: docs/interop/qemu-trace-stap.rst
|
||||
F: docs/tools/qemu-trace-stap.rst
|
||||
F: docs/devel/tracing.txt
|
||||
T: git https://github.com/stefanha/qemu.git tracing
|
||||
|
||||
@@ -3066,7 +3066,7 @@ F: include/block/nbd*
|
||||
F: qemu-nbd.*
|
||||
F: blockdev-nbd.c
|
||||
F: docs/interop/nbd.txt
|
||||
F: docs/interop/qemu-nbd.rst
|
||||
F: docs/tools/qemu-nbd.rst
|
||||
T: git https://repo.or.cz/qemu/ericb.git nbd
|
||||
T: git https://src.openvz.org/scm/~vsementsov/qemu.git nbd
|
||||
|
||||
|
||||
+1
-1
@@ -122,7 +122,7 @@ static void xenstore_record_dm_state(struct xs_handle *xs, const char *state)
|
||||
}
|
||||
|
||||
|
||||
static void xen_change_state_handler(void *opaque, int running,
|
||||
static void xen_change_state_handler(void *opaque, bool running,
|
||||
RunState state)
|
||||
{
|
||||
if (running) {
|
||||
|
||||
+1
-1
@@ -1540,7 +1540,7 @@ static int audio_driver_init(AudioState *s, struct audio_driver *drv,
|
||||
}
|
||||
}
|
||||
|
||||
static void audio_vm_change_state_handler (void *opaque, int running,
|
||||
static void audio_vm_change_state_handler (void *opaque, bool running,
|
||||
RunState state)
|
||||
{
|
||||
AudioState *s = opaque;
|
||||
|
||||
@@ -229,7 +229,10 @@ static int dbus_vmstate_post_load(void *opaque, int version_id)
|
||||
&bytes_read, NULL, &err)) {
|
||||
goto error;
|
||||
}
|
||||
g_return_val_if_fail(bytes_read == len, -1);
|
||||
if (bytes_read != len) {
|
||||
error_report("%s: Short read", __func__);
|
||||
return -1;
|
||||
}
|
||||
id[len] = 0;
|
||||
|
||||
trace_dbus_vmstate_loading(id);
|
||||
|
||||
@@ -163,7 +163,7 @@ static const char *blk_root_get_name(BdrvChild *child)
|
||||
return blk_name(child->opaque);
|
||||
}
|
||||
|
||||
static void blk_vm_state_changed(void *opaque, int running, RunState state)
|
||||
static void blk_vm_state_changed(void *opaque, bool running, RunState state)
|
||||
{
|
||||
Error *local_err = NULL;
|
||||
BlockBackend *blk = opaque;
|
||||
|
||||
@@ -8,5 +8,5 @@ CONFIG_SEMIHOSTING=y
|
||||
|
||||
# Boards:
|
||||
#
|
||||
CONFIG_LM32=y
|
||||
CONFIG_LM32_EVR=y
|
||||
CONFIG_MILKYMIST=y
|
||||
|
||||
+1
-1
@@ -837,7 +837,7 @@ int NMD::Disassemble(const uint16 * data, std::string & dis,
|
||||
* an ASE attribute and the requested version
|
||||
* not having that attribute
|
||||
*/
|
||||
dis = "ASE attribute missmatch";
|
||||
dis = "ASE attribute mismatch";
|
||||
return -5;
|
||||
}
|
||||
disassembly_function dis_fn = table[i].disassembly;
|
||||
|
||||
@@ -2754,7 +2754,7 @@ void gdb_set_stop_cpu(CPUState *cpu)
|
||||
}
|
||||
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
static void gdb_vm_state_change(void *opaque, int running, RunState state)
|
||||
static void gdb_vm_state_change(void *opaque, bool running, RunState state)
|
||||
{
|
||||
CPUState *cpu = gdbserver_state.c_cpu;
|
||||
g_autoptr(GString) buf = g_string_new(NULL);
|
||||
|
||||
@@ -1014,7 +1014,7 @@ void pflash_cfi01_legacy_drive(PFlashCFI01 *fl, DriveInfo *dinfo)
|
||||
loc_pop(&loc);
|
||||
}
|
||||
|
||||
static void postload_update_cb(void *opaque, int running, RunState state)
|
||||
static void postload_update_cb(void *opaque, bool running, RunState state)
|
||||
{
|
||||
PFlashCFI01 *pfl = opaque;
|
||||
|
||||
|
||||
@@ -870,7 +870,7 @@ static void virtio_blk_dma_restart_bh(void *opaque)
|
||||
virtio_blk_process_queued_requests(s, true);
|
||||
}
|
||||
|
||||
static void virtio_blk_dma_restart_cb(void *opaque, int running,
|
||||
static void virtio_blk_dma_restart_cb(void *opaque, bool running,
|
||||
RunState state)
|
||||
{
|
||||
VirtIOBlock *s = opaque;
|
||||
|
||||
+2
-2
@@ -8,8 +8,8 @@ softmmu_ss.add(when: 'CONFIG_IMX', if_true: files('imx_serial.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_IPACK', if_true: files('ipoctal232.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_ISA_BUS', if_true: files('parallel-isa.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_ISA_DEBUG', if_true: files('debugcon.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_LM32', if_true: files('lm32_juart.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_LM32', if_true: files('lm32_uart.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_LM32_DEVICES', if_true: files('lm32_juart.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_LM32_DEVICES', if_true: files('lm32_uart.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_MILKYMIST', if_true: files('milkymist-uart.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_NRF51_SOC', if_true: files('nrf51_uart.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_PARALLEL', if_true: files('parallel.c'))
|
||||
|
||||
+1
-1
@@ -1992,7 +1992,7 @@ static void qxl_dirty_surfaces(PCIQXLDevice *qxl)
|
||||
}
|
||||
}
|
||||
|
||||
static void qxl_vm_change_state_handler(void *opaque, int running,
|
||||
static void qxl_vm_change_state_handler(void *opaque, bool running,
|
||||
RunState state)
|
||||
{
|
||||
PCIQXLDevice *qxl = opaque;
|
||||
|
||||
@@ -325,7 +325,6 @@ vhost_user_gpu_chr_read(void *opaque)
|
||||
}
|
||||
|
||||
msg = g_malloc(VHOST_USER_GPU_HDR_SIZE + size);
|
||||
g_return_if_fail(msg != NULL);
|
||||
|
||||
r = qemu_chr_fe_read_all(&g->vhost_chr,
|
||||
(uint8_t *)&msg->payload, size);
|
||||
|
||||
@@ -438,7 +438,7 @@ void virtio_gpu_virgl_process_cmd(VirtIOGPU *g,
|
||||
break;
|
||||
case VIRTIO_GPU_CMD_RESOURCE_FLUSH:
|
||||
virgl_cmd_resource_flush(g, cmd);
|
||||
break;
|
||||
break;
|
||||
case VIRTIO_GPU_CMD_RESOURCE_UNREF:
|
||||
virgl_cmd_resource_unref(g, cmd);
|
||||
break;
|
||||
@@ -456,7 +456,6 @@ void virtio_gpu_virgl_process_cmd(VirtIOGPU *g,
|
||||
case VIRTIO_GPU_CMD_GET_CAPSET:
|
||||
virgl_cmd_get_capset(g, cmd);
|
||||
break;
|
||||
|
||||
case VIRTIO_GPU_CMD_GET_DISPLAY_INFO:
|
||||
virtio_gpu_get_display_info(g, cmd);
|
||||
break;
|
||||
|
||||
+1
-1
@@ -162,7 +162,7 @@ static void do_kvmclock_ctrl(CPUState *cpu, run_on_cpu_data data)
|
||||
}
|
||||
}
|
||||
|
||||
static void kvmclock_vm_state_change(void *opaque, int running,
|
||||
static void kvmclock_vm_state_change(void *opaque, bool running,
|
||||
RunState state)
|
||||
{
|
||||
KVMClockState *s = opaque;
|
||||
|
||||
+1
-1
@@ -239,7 +239,7 @@ static void kvm_pit_irq_control(void *opaque, int n, int enable)
|
||||
kvm_pit_put(pit);
|
||||
}
|
||||
|
||||
static void kvm_pit_vm_state_change(void *opaque, int running,
|
||||
static void kvm_pit_vm_state_change(void *opaque, bool running,
|
||||
RunState state)
|
||||
{
|
||||
KVMPITState *s = opaque;
|
||||
|
||||
+1
-1
@@ -748,7 +748,7 @@ static void do_vapic_enable(CPUState *cs, run_on_cpu_data data)
|
||||
s->state = VAPIC_ACTIVE;
|
||||
}
|
||||
|
||||
static void kvmvapic_vm_state_change(void *opaque, int running,
|
||||
static void kvmvapic_vm_state_change(void *opaque, bool running,
|
||||
RunState state)
|
||||
{
|
||||
MachineState *ms = MACHINE(qdev_get_machine());
|
||||
|
||||
@@ -1235,7 +1235,7 @@ static void xen_main_loop_prepare(XenIOState *state)
|
||||
}
|
||||
|
||||
|
||||
static void xen_hvm_change_state_handler(void *opaque, int running,
|
||||
static void xen_hvm_change_state_handler(void *opaque, bool running,
|
||||
RunState rstate)
|
||||
{
|
||||
XenIOState *state = opaque;
|
||||
|
||||
+1
-1
@@ -2677,7 +2677,7 @@ static void ide_restart_bh(void *opaque)
|
||||
}
|
||||
}
|
||||
|
||||
static void ide_restart_cb(void *opaque, int running, RunState state)
|
||||
static void ide_restart_cb(void *opaque, bool running, RunState state)
|
||||
{
|
||||
IDEBus *bus = opaque;
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ static int kvm_its_send_msi(GICv3ITSState *s, uint32_t value, uint16_t devid)
|
||||
*
|
||||
* The tables get flushed to guest RAM whenever the VM gets stopped.
|
||||
*/
|
||||
static void vm_change_state_handler(void *opaque, int running,
|
||||
static void vm_change_state_handler(void *opaque, bool running,
|
||||
RunState state)
|
||||
{
|
||||
GICv3ITSState *s = (GICv3ITSState *)opaque;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user