[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 298c31: scsi-disk: support setting CD-ROM blo
From: |
Paolo Bonzini |
Subject: |
[Qemu-commits] [qemu/qemu] 298c31: scsi-disk: support setting CD-ROM block size via d... |
Date: |
Thu, 13 Oct 2022 13:28:30 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 298c31de9871b971b86356164633b9a5861af3db
https://github.com/qemu/qemu/commit/298c31de9871b971b86356164633b9a5861af3db
Author: John Millikin <john@john-millikin.com>
Date: 2022-10-10 (Mon, 10 Oct 2022)
Changed paths:
M hw/scsi/scsi-disk.c
Log Message:
-----------
scsi-disk: support setting CD-ROM block size via device options
SunOS expects CD-ROM devices to have a block size of 512, and will
fail to mount or install using QEMU's default block size of 2048.
When initializing the SCSI device, allow the `physical_block_size'
block device option to override the default block size.
Signed-off-by: John Millikin <john@john-millikin.com>
Message-Id: <20220804122950.1577012-1-john@john-millikin.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 12f89a39cf3c5760cba82ce68929d748961f62df
https://github.com/qemu/qemu/commit/12f89a39cf3c5760cba82ce68929d748961f62df
Author: Chenyi Qiang <chenyi.qiang@intel.com>
Date: 2022-10-10 (Mon, 10 Oct 2022)
Changed paths:
M target/i386/cpu.c
M target/i386/cpu.h
M target/i386/kvm/kvm.c
M target/i386/machine.c
Log Message:
-----------
i386: kvm: extend kvm_{get, put}_vcpu_events to support pending triple fault
For the direct triple faults, i.e. hardware detected and KVM morphed
to VM-Exit, KVM will never lose them. But for triple faults sythesized
by KVM, e.g. the RSM path, if KVM exits to userspace before the request
is serviced, userspace could migrate the VM and lose the triple fault.
A new flag KVM_VCPUEVENT_VALID_TRIPLE_FAULT is defined to signal that
the event.triple_fault_pending field contains a valid state if the
KVM_CAP_X86_TRIPLE_FAULT_EVENT capability is enabled.
Acked-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Chenyi Qiang <chenyi.qiang@intel.com>
Message-Id: <20220929072014.20705-2-chenyi.qiang@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 3dba0a335cf5c53146b606be6ddfab4df81c464e
https://github.com/qemu/qemu/commit/3dba0a335cf5c53146b606be6ddfab4df81c464e
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-10-10 (Mon, 10 Oct 2022)
Changed paths:
M accel/kvm/kvm-all.c
M include/sysemu/kvm.h
M target/arm/kvm.c
M target/i386/kvm/kvm.c
M target/mips/kvm.c
M target/ppc/kvm.c
M target/riscv/kvm.c
M target/s390x/kvm/kvm.c
Log Message:
-----------
kvm: allow target-specific accelerator properties
Several hypervisor capabilities in KVM are target-specific. When exposed
to QEMU users as accelerator properties (i.e. -accel kvm,prop=value), they
should not be available for all targets.
Add a hook for targets to add their own properties to -accel kvm, for
now no such property is defined.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20220929072014.20705-3-chenyi.qiang@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 5f8a6bce1f1080058ed29d716cae81ea805142ae
https://github.com/qemu/qemu/commit/5f8a6bce1f1080058ed29d716cae81ea805142ae
Author: Chenyi Qiang <chenyi.qiang@intel.com>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M accel/kvm/kvm-all.c
M include/sysemu/kvm_int.h
Log Message:
-----------
kvm: expose struct KVMState
Expose struct KVMState out of kvm-all.c so that the field of struct
KVMState can be accessed when defining target-specific accelerator
properties.
Signed-off-by: Chenyi Qiang <chenyi.qiang@intel.com>
Message-Id: <20220929072014.20705-4-chenyi.qiang@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: e2e69f6bb907a70ac518230c54e98e7abcb0c911
https://github.com/qemu/qemu/commit/e2e69f6bb907a70ac518230c54e98e7abcb0c911
Author: Chenyi Qiang <chenyi.qiang@intel.com>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M accel/kvm/kvm-all.c
M qapi/run-state.json
M qemu-options.hx
M target/i386/kvm/kvm.c
Log Message:
-----------
i386: add notify VM exit support
There are cases that malicious virtual machine can cause CPU stuck (due
to event windows don't open up), e.g., infinite loop in microcode when
nested #AC (CVE-2015-5307). No event window means no event (NMI, SMI and
IRQ) can be delivered. It leads the CPU to be unavailable to host or
other VMs. Notify VM exit is introduced to mitigate such kind of
attacks, which will generate a VM exit if no event window occurs in VM
non-root mode for a specified amount of time (notify window).
A new KVM capability KVM_CAP_X86_NOTIFY_VMEXIT is exposed to user space
so that the user can query the capability and set the expected notify
window when creating VMs. The format of the argument when enabling this
capability is as follows:
Bit 63:32 - notify window specified in qemu command
Bit 31:0 - some flags (e.g. KVM_X86_NOTIFY_VMEXIT_ENABLED is set to
enable the feature.)
Users can configure the feature by a new (x86 only) accel property:
qemu -accel kvm,notify-vmexit=run|internal-error|disable,notify-window=n
The default option of notify-vmexit is run, which will enable the
capability and do nothing if the exit happens. The internal-error option
raises a KVM internal error if it happens. The disable option does not
enable the capability. The default value of notify-window is 0. It is valid
only when notify-vmexit is not disabled. The valid range of notify-window
is non-negative. It is even safe to set it to zero since there's an
internal hardware threshold to be added to ensure no false positive.
Because a notify VM exit may happen with VM_CONTEXT_INVALID set in exit
qualification (no cases are anticipated that would set this bit), which
means VM context is corrupted. It would be reflected in the flags of
KVM_EXIT_NOTIFY exit. If KVM_NOTIFY_CONTEXT_INVALID bit is set, raise a KVM
internal error unconditionally.
Acked-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Chenyi Qiang <chenyi.qiang@intel.com>
Message-Id: <20220929072014.20705-5-chenyi.qiang@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: ddf83b35bde680faecae693c0fa03c18814a7a2e
https://github.com/qemu/qemu/commit/ddf83b35bde680faecae693c0fa03c18814a7a2e
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M target/i386/tcg/translate.c
Log Message:
-----------
target/i386: Remove pc_start
The DisasContext member and the disas_insn local variable of
the same name are identical to DisasContextBase.pc_next.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221001140935.465607-2-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: f66c8e8cd923a38e454c2d4731bccc0eede1a652
https://github.com/qemu/qemu/commit/f66c8e8cd923a38e454c2d4731bccc0eede1a652
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M target/i386/tcg/translate.c
Log Message:
-----------
target/i386: Return bool from disas_insn
Instead of returning the new pc, which is present in
DisasContext, return true if an insn was translated.
This is false when we detect a page crossing and must
undo the insn under translation.
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20221001140935.465607-3-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 522365508ed88f3c975faae6d4d0ec64f53e14f9
https://github.com/qemu/qemu/commit/522365508ed88f3c975faae6d4d0ec64f53e14f9
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M target/i386/tcg/translate.c
Log Message:
-----------
target/i386: Remove cur_eip argument to gen_exception
All callers pass s->base.pc_next - s->cs_base, which we can just
as well compute within the function. Note the special case of
EXCP_VSYSCALL in which s->cs_base wasn't subtracted, but cs_base
is always zero in 64-bit mode, when vsyscall is used.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221001140935.465607-4-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 8ed6c985016961625b6e1c188e93e817f398b339
https://github.com/qemu/qemu/commit/8ed6c985016961625b6e1c188e93e817f398b339
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M target/i386/tcg/translate.c
Log Message:
-----------
target/i386: Remove cur_eip, next_eip arguments to gen_interrupt
All callers pass s->base.pc_next and s->pc, which we can just as
well compute within the function. Adjust to use tcg_constant_i32
while we're at it.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221001140935.465607-5-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 65e4af230d76769fe5a68efaf2145924e128fc51
https://github.com/qemu/qemu/commit/65e4af230d76769fe5a68efaf2145924e128fc51
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M target/i386/tcg/translate.c
Log Message:
-----------
target/i386: Create gen_update_eip_cur
Like gen_update_cc_op, sync EIP before doing something
that could raise an exception. Replace all gen_jmp_im
that use s->base.pc_next.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221001140935.465607-6-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 09e99df4d54225619d57cecd9d3c61c719236a24
https://github.com/qemu/qemu/commit/09e99df4d54225619d57cecd9d3c61c719236a24
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M target/i386/tcg/translate.c
Log Message:
-----------
target/i386: Create gen_update_eip_next
Sync EIP before exiting a translation block.
Replace all gen_jmp_im that use s->pc.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221001140935.465607-7-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 200ef603996bda2cd1e3c5ae63311bfb7d229e3b
https://github.com/qemu/qemu/commit/200ef603996bda2cd1e3c5ae63311bfb7d229e3b
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M target/i386/tcg/translate.c
Log Message:
-----------
target/i386: Introduce DISAS_EOB*
Add a few DISAS_TARGET_* aliases to reduce the number of
calls to gen_eob() and gen_eob_inhibit_irq(). So far,
only update i386_tr_translate_insn for exiting the block
because of single-step or previous inhibit irq.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221001140935.465607-8-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 4da4523c6ce78299b1a3966ec285441d190562a5
https://github.com/qemu/qemu/commit/4da4523c6ce78299b1a3966ec285441d190562a5
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M target/i386/tcg/translate.c
Log Message:
-----------
target/i386: Use DISAS_EOB* in gen_movl_seg_T0
Set is_jmp properly in gen_movl_seg_T0, so that the callers
need to nothing special.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221001140935.465607-9-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 634a405193cc7a828e59c189ea805a8a51a6a959
https://github.com/qemu/qemu/commit/634a405193cc7a828e59c189ea805a8a51a6a959
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M target/i386/tcg/translate.c
Log Message:
-----------
target/i386: Use DISAS_EOB_NEXT
Replace sequences of gen_update_cc_op, gen_update_eip_next,
and gen_eob with the new is_jmp enumerator.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221001140935.465607-10-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 6424ac8eec7d5e20a0ed6be1031108ca167299e4
https://github.com/qemu/qemu/commit/6424ac8eec7d5e20a0ed6be1031108ca167299e4
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M target/i386/tcg/translate.c
Log Message:
-----------
target/i386: USe DISAS_EOB_ONLY
Replace lone calls to gen_eob() with the new enumerator.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221001140935.465607-11-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: ad1d6f072d02e99114ea28d674131459b9c70897
https://github.com/qemu/qemu/commit/ad1d6f072d02e99114ea28d674131459b9c70897
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M target/i386/tcg/translate.c
Log Message:
-----------
target/i386: Create cur_insn_len, cur_insn_len_i32
Create common routines for computing the length of the insn.
Use tcg_constant_i32 in the new function, while we're at it.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221001140935.465607-12-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 122e6d7b4a51755eeabab15570a152c8379f652d
https://github.com/qemu/qemu/commit/122e6d7b4a51755eeabab15570a152c8379f652d
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M target/i386/tcg/translate.c
Log Message:
-----------
target/i386: Remove cur_eip, next_eip arguments to gen_repz*
All callers pass s->base.pc_next and s->pc, which we can just
as well compute within the functions. Pull out common helpers
and reduce the amount of code under macros.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221001140935.465607-13-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: faf9ea5fa5558782b4031be16145758caf5e20e5
https://github.com/qemu/qemu/commit/faf9ea5fa5558782b4031be16145758caf5e20e5
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M target/i386/tcg/translate.c
Log Message:
-----------
target/i386: Introduce DISAS_JUMP
Drop the unused dest argument to gen_jr().
Remove most of the calls to gen_jr, and use DISAS_JUMP.
Remove some unused loads of eip for lcall and ljmp.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221001140935.465607-14-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 8c03ab9f74eb22d85e698f690e7035c1c7874cdf
https://github.com/qemu/qemu/commit/8c03ab9f74eb22d85e698f690e7035c1c7874cdf
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M target/i386/helper.h
M target/i386/tcg/seg_helper.c
M target/i386/tcg/translate.c
Log Message:
-----------
target/i386: Truncate values for lcall_real to i32
Use i32 not int or tl for eip and cs arguments.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221001140935.465607-15-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 9e599bf70772808d3bd115902260cb924f88c939
https://github.com/qemu/qemu/commit/9e599bf70772808d3bd115902260cb924f88c939
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M target/i386/tcg/translate.c
Log Message:
-----------
target/i386: Create eip_next_*
Create helpers for loading the address of the next insn.
Use tcg_constant_* in adjacent code where convenient.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221001140935.465607-16-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 202005f1f8e0b8a5a3a4b1527c4f484a4be2d5a6
https://github.com/qemu/qemu/commit/202005f1f8e0b8a5a3a4b1527c4f484a4be2d5a6
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M target/i386/tcg/translate.c
Log Message:
-----------
target/i386: Use DISAS_TOO_MANY to exit after gen_io_start
We can set is_jmp early, using only one if, and let that
be overwritten by gen_rep*'s calls to gen_jmp_tb.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221001140935.465607-17-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 8760ded661c93b8aa76e74dcbd8c1a94764e8f12
https://github.com/qemu/qemu/commit/8760ded661c93b8aa76e74dcbd8c1a94764e8f12
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M target/i386/tcg/translate.c
Log Message:
-----------
target/i386: Create gen_jmp_rel
Create a common helper for pc-relative branches. The jmp jb insn
was missing a mask for CODE32. In all cases the CODE64 check was
incorrectly placed, allowing PREFIX_DATA to truncate %rip to 16 bits.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20221001140935.465607-18-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 2255da493a92e0f6441c773fa3bfdfb34273e85f
https://github.com/qemu/qemu/commit/2255da493a92e0f6441c773fa3bfdfb34273e85f
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M target/i386/tcg/translate.c
Log Message:
-----------
target/i386: Use gen_jmp_rel for loop, repz, jecxz insns
With gen_jmp_rel, we may chain to the next tb instead of merely
writing to eip and exiting. For repz, subtract cur_insn_len to
restart the current insn.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20221001140935.465607-19-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 54b191de675fbaee6886600c69786ad1c5fa158e
https://github.com/qemu/qemu/commit/54b191de675fbaee6886600c69786ad1c5fa158e
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M target/i386/tcg/translate.c
Log Message:
-----------
target/i386: Use gen_jmp_rel for gen_jcc
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20221001140935.465607-20-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 5f7ec6efcc4fb5cc4cd8e8f2d61504d7909dc5b9
https://github.com/qemu/qemu/commit/5f7ec6efcc4fb5cc4cd8e8f2d61504d7909dc5b9
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M target/i386/tcg/translate.c
Log Message:
-----------
target/i386: Use gen_jmp_rel for DISAS_TOO_MANY
With gen_jmp_rel, we may chain between two translation blocks
which may only be separated because of TB size limits.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221001140935.465607-21-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 0ebacb5d1e6c73365dd9d8435d4014fe0e326308
https://github.com/qemu/qemu/commit/0ebacb5d1e6c73365dd9d8435d4014fe0e326308
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M target/i386/tcg/translate.c
Log Message:
-----------
target/i386: Remove MemOp argument to gen_op_j*_ecx
These functions are always passed aflag, so we might as well
read it from DisasContext directly. While we're at it, use
a common subroutine for these two functions.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20221001140935.465607-22-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 900cc7e53679cbd70c8d5b718fc29873f77a0967
https://github.com/qemu/qemu/commit/900cc7e53679cbd70c8d5b718fc29873f77a0967
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M target/i386/tcg/translate.c
Log Message:
-----------
target/i386: Merge gen_jmp_tb and gen_goto_tb into gen_jmp_rel
These functions have only one caller, and the logic is more
obvious this way.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20221001140935.465607-23-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 75ec746a07b6db4c214102e644319a334c1ab899
https://github.com/qemu/qemu/commit/75ec746a07b6db4c214102e644319a334c1ab899
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M target/i386/tcg/translate.c
Log Message:
-----------
target/i386: Create eip_cur_tl
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20221001140935.465607-24-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: f771ca6a6127cdbdf4ed119e9d6c63abdad24181
https://github.com/qemu/qemu/commit/f771ca6a6127cdbdf4ed119e9d6c63abdad24181
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M target/i386/tcg/translate.c
Log Message:
-----------
target/i386: Add cpu_eip
Create a tcg global temp for this, and use it instead of explicit stores.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20221001140935.465607-25-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 7db973bece487cb0bb7976f5b67a8ae02fd32df2
https://github.com/qemu/qemu/commit/7db973bece487cb0bb7976f5b67a8ae02fd32df2
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M target/i386/tcg/translate.c
Log Message:
-----------
target/i386: Inline gen_jmp_im
Expand this function at each of its callers.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20221001140935.465607-26-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: e3a79e0e87831602e41819591a8e6dcc70a2a231
https://github.com/qemu/qemu/commit/e3a79e0e87831602e41819591a8e6dcc70a2a231
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M target/i386/cpu-param.h
M target/i386/tcg/tcg-cpu.c
M target/i386/tcg/translate.c
Log Message:
-----------
target/i386: Enable TARGET_TB_PCREL
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20221001140935.465607-27-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 62a44fddb24fec35a6baf7e2c52b0e935a5bfa90
https://github.com/qemu/qemu/commit/62a44fddb24fec35a6baf7e2c52b0e935a5bfa90
Author: Alexander Graf <agraf@csgraf.de>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M target/i386/tcg/sysemu/misc_helper.c
Log Message:
-----------
x86: Implement MSR_CORE_THREAD_COUNT MSR
Intel CPUs starting with Haswell-E implement a new MSR called
MSR_CORE_THREAD_COUNT which exposes the number of threads and cores
inside of a package.
This MSR is used by XNU to populate internal data structures and not
implementing it prevents virtual machines with more than 1 vCPU from
booting if the emulated CPU generation is at least Haswell-E.
This patch propagates the existing hvf logic from patch 027ac0cb516
("target/i386/hvf: add rdmsr 35H MSR_CORE_THREAD_COUNT") to TCG.
Signed-off-by: Alexander Graf <agraf@csgraf.de>
Message-Id: <20221004225643.65036-2-agraf@csgraf.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 860054d8ce4067ef2bc3deb2a98cf93350fc03e4
https://github.com/qemu/qemu/commit/860054d8ce4067ef2bc3deb2a98cf93350fc03e4
Author: Alexander Graf <agraf@csgraf.de>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M target/i386/kvm/kvm.c
M target/i386/kvm/kvm_i386.h
Log Message:
-----------
i386: kvm: Add support for MSR filtering
KVM has grown support to deflect arbitrary MSRs to user space since
Linux 5.10. For now we don't expect to make a lot of use of this
feature, so let's expose it the easiest way possible: With up to 16
individually maskable MSRs.
This patch adds a kvm_filter_msr() function that other code can call
to install a hook on KVM MSR reads or writes.
Signed-off-by: Alexander Graf <agraf@csgraf.de>
Message-Id: <20221004225643.65036-3-agraf@csgraf.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 37656470f67398dd10101d7d940d660053f60ff5
https://github.com/qemu/qemu/commit/37656470f67398dd10101d7d940d660053f60ff5
Author: Alexander Graf <agraf@csgraf.de>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M target/i386/kvm/kvm.c
Log Message:
-----------
KVM: x86: Implement MSR_CORE_THREAD_COUNT MSR
The MSR_CORE_THREAD_COUNT MSR describes CPU package topology, such as number
of threads and cores for a given package. This is information that QEMU has
readily available and can provide through the new user space MSR deflection
interface.
This patch propagates the existing hvf logic from patch 027ac0cb516
("target/i386/hvf: add rdmsr 35H MSR_CORE_THREAD_COUNT") to KVM.
Signed-off-by: Alexander Graf <agraf@csgraf.de>
Message-Id: <20221004225643.65036-4-agraf@csgraf.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 5154d35beda383af8042061099a5cd2decf88e69
https://github.com/qemu/qemu/commit/5154d35beda383af8042061099a5cd2decf88e69
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M linux-user/i386/signal.c
Log Message:
-----------
linux-user: i386/signal: move fpstate at the end of the 32-bit frames
Recent versions of Linux moved the 32-bit fpstate towards the end of the
frame, so that the variable-sized xsave data does not overwrite the
(ABI-defined) extramask[] field. Follow suit in QEMU.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 2796f290b5469a7f6749ea119a48bc17f489effd
https://github.com/qemu/qemu/commit/2796f290b5469a7f6749ea119a48bc17f489effd
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M linux-user/i386/signal.c
Log Message:
-----------
linux-user: i386/signal: support FXSAVE fpstate on 32-bit emulation
Linux can use FXSAVE to save/restore XMM registers even on 32-bit
systems. This requires some care in order to keep the FXSAVE area
aligned to 16 bytes; for this reason, get_sigframe is changed to
pass the offset into the FXSAVE area rather than the full frame
size.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 4d31ff32a65adfae015e035931b864bd1c521d6e
https://github.com/qemu/qemu/commit/4d31ff32a65adfae015e035931b864bd1c521d6e
Author: Volker Rümelin <vr_qemu@t-online.de>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M audio/audio.c
Log Message:
-----------
audio: refactor code in audio_run_out()
Refactoring the code in audio_run_out() avoids code duplication
in the next patch. There's no functional change.
Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220923183640.8314-1-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Commit: 7099a6a220c33d9c115e19e9f03ac61caa8358b5
https://github.com/qemu/qemu/commit/7099a6a220c33d9c115e19e9f03ac61caa8358b5
Author: Volker Rümelin <vr_qemu@t-online.de>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M audio/audio.c
Log Message:
-----------
audio: fix GUS audio playback with out.mixing-engine=off
Fix GUS audio playback with out.mixing-engine=off.
The GUS audio device needs to know the amount of samples to
produce in advance.
To reproduce start qemu with
-parallel none -device gus,audiodev=audio0
-audiodev pa,id=audio0,out.mixing-engine=off
and start the cartoon.exe demo in a FreeDOS guest. The demo file
is available on the download page of the GUSemu32 author.
Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Acked-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220923183640.8314-2-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Commit: dd052dbfbf608cc656082173541973f09867747a
https://github.com/qemu/qemu/commit/dd052dbfbf608cc656082173541973f09867747a
Author: Volker Rümelin <vr_qemu@t-online.de>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M audio/audio.c
Log Message:
-----------
audio: run downstream playback queue unconditionally
Run the downstream playback queue even if the emulated audio
device didn't write new samples. There still may be buffered
audio samples downstream.
This is for the -audiodev out.mixing-engine=off case. Commit
a8a98cfd42 ("audio: run downstream playback queue uncondition-
ally") fixed the out.mixing-engine=on case.
Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Acked-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220923183640.8314-3-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Commit: 5a9d7ae25175d19f9380128ac17f87816fe6f049
https://github.com/qemu/qemu/commit/5a9d7ae25175d19f9380128ac17f87816fe6f049
Author: Volker Rümelin <vr_qemu@t-online.de>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M audio/alsaaudio.c
Log Message:
-----------
alsaaudio: reduce playback latency
Change the buffer_get_free pcm_ops function to report the free
ALSA playback buffer. The generic buffer becomes a temporary
buffer and is empty after a call to audio_run_out().
Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Acked-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220923183640.8314-4-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Commit: 02732641c0ffdedb6533b9ddeaf8e95a3be88ec6
https://github.com/qemu/qemu/commit/02732641c0ffdedb6533b9ddeaf8e95a3be88ec6
Author: Volker Rümelin <vr_qemu@t-online.de>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M audio/audio.c
M audio/audio_int.h
Log Message:
-----------
audio: add more audio rate control functions
The next patch needs two new rate control functions. The first
one returns the bytes needed at call time to maintain the
selected rate. The second one adjusts the bytes actually sent.
Split the audio_rate_get_bytes() function into these two
functions and reintroduce audio_rate_get_bytes().
Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220923183640.8314-5-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Commit: 90320051ea998b6ac336cd635f8014ccb31154bd
https://github.com/qemu/qemu/commit/90320051ea998b6ac336cd635f8014ccb31154bd
Author: Volker Rümelin <vr_qemu@t-online.de>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M audio/spiceaudio.c
Log Message:
-----------
spiceaudio: add a pcm_ops buffer_get_free function
It seems there is a demand [1] for low latency playback over
SPICE. Add a pcm_ops buffer_get_free function to reduce the
playback latency. The mixing engine buffer becomes a temporary
buffer.
[1] https://lists.nongnu.org/archive/html/qemu-devel/2022-01/msg01644.html
Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220923183640.8314-6-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Commit: 70ded68b45b90cf43a9a757df6483503055485f2
https://github.com/qemu/qemu/commit/70ded68b45b90cf43a9a757df6483503055485f2
Author: Volker Rümelin <vr_qemu@t-online.de>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M audio/spiceaudio.c
Log Message:
-----------
spiceaudio: update comment
Replace a comment with a question with the answer.
Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220923183640.8314-7-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Commit: 613fe02b2a127d921b37843cb514e919ecbe53f5
https://github.com/qemu/qemu/commit/613fe02b2a127d921b37843cb514e919ecbe53f5
Author: Volker Rümelin <vr_qemu@t-online.de>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M audio/audio.c
M audio/audio_int.h
M audio/dbusaudio.c
M audio/noaudio.c
M audio/spiceaudio.c
M audio/wavaudio.c
Log Message:
-----------
audio: swap audio_rate_get_bytes() function parameters
Swap the rate and info parameters of the audio_rate_get_bytes()
function to align the parameter order with the rest of the
audio_rate_*() functions.
Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220923183640.8314-8-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Commit: c4e592647e161fe23adc3eccd8743b285e4b342b
https://github.com/qemu/qemu/commit/c4e592647e161fe23adc3eccd8743b285e4b342b
Author: Volker Rümelin <vr_qemu@t-online.de>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M audio/audio.c
Log Message:
-----------
audio: rename audio_sw_bytes_free()
Rename and refactor audio_sw_bytes_free(). This function is not
limited to calculate the free audio buffer size. The renamed
function returns the number of frames instead of bytes.
Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220923183640.8314-9-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Commit: 0724c57988f4ad826b02f12093ace5ef657cec21
https://github.com/qemu/qemu/commit/0724c57988f4ad826b02f12093ace5ef657cec21
Author: Volker Rümelin <vr_qemu@t-online.de>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M audio/audio.c
Log Message:
-----------
audio: refactor audio_get_avail()
Split out the code in audio_get_avail() that calculates the
buffer size that the audio frontend can read. This is similar
to the code changes in audio_get_free().
Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220923183640.8314-10-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Commit: b73ef11ff68f05418c8b60945b1e1783a72bd822
https://github.com/qemu/qemu/commit/b73ef11ff68f05418c8b60945b1e1783a72bd822
Author: Volker Rümelin <vr_qemu@t-online.de>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M audio/audio.c
M audio/audio_template.h
Log Message:
-----------
audio: fix sw->buf size for audio recording
The calculation of the buffer size needed to store audio samples
after resampling is wrong for audio recording. For audio recording
sw->ratio is calculated as
sw->ratio = frontend sample rate / backend sample rate.
>From this follows
frontend samples = frontend sample rate / backend sample rate
* backend samples
frontend samples = sw->ratio * backend samples
In 2 of 3 places in the audio recording code where sw->ratio
is used in a calculation to get the number of frontend frames,
the calculation is wrong. Fix this. The 3rd formula in
audio_pcm_sw_read() is correct.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/71
Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Acked-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220923183640.8314-11-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Commit: b6d93282ccac79e42d87d02652db353894cd1db9
https://github.com/qemu/qemu/commit/b6d93282ccac79e42d87d02652db353894cd1db9
Author: Volker Rümelin <vr_qemu@t-online.de>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M audio/rate_template.h
Log Message:
-----------
audio: prevent an integer overflow in resampling code
There are corner cases where rate->opos can overflow. For
example, if QEMU is started with -audiodev pa,id=audio0,
out.frequency=11025 -device ich9-intel-hda -device hda-duplex,
audiodev=audio0 and the guest plays audio with a sampling
frequency of 44100Hz, rate->opos will overflow after 27.05h
and the audio stream will be silent for a long time.
To prevent a rate->opos and also a rate->ipos overflow, both
are wrapped around after a short time. The wrap around point
rate->ipos >= 0x10001 is an arbitrarily selected value and can
be any small value, 0 and 1 included.
The comment that an ipos overflow will result in an infinite
loop has been removed, because in this case the resampling code
only generates no more output samples and the audio stream stalls.
However, there is no infinite loop.
Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Message-Id: <20220923183640.8314-12-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Commit: 5d2456789ac50b11c2bd560ddf3470fe820bb0ff
https://github.com/qemu/qemu/commit/5d2456789ac50b11c2bd560ddf3470fe820bb0ff
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M linux-user/i386/signal.c
M target/i386/cpu.c
M target/i386/cpu.h
M target/i386/tcg/fpu_helper.c
Log Message:
-----------
linux-user: i386/signal: support XSAVE/XRSTOR for signal frame fpstate
Add support for saving/restoring extended save states when signals
are delivered. This allows using AVX, MPX or PKRU registers in
signal handlers.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: f15cfe419eebc49d28949f4fa75259e530136eab
https://github.com/qemu/qemu/commit/f15cfe419eebc49d28949f4fa75259e530136eab
Author: Juan Quintela <quintela@redhat.com>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M tests/qtest/bios-tables-test.c
M tests/qtest/fuzz-lsi53c895a-test.c
M tests/qtest/fuzz-megasas-test.c
M tests/qtest/fuzz-sb16-test.c
M tests/qtest/fuzz-sdcard-test.c
M tests/qtest/fuzz-virtio-scsi-test.c
M tests/qtest/fuzz-xlnx-dp-test.c
Log Message:
-----------
qtest: "-display none" is set in qtest_init()
So we don't need to set anywhere else.
Signed-off-by: Juan Quintela <quintela@redhat.com>
[thuth: Drop changes in tests/qtest/fuzz/ since the fuzzers still need this]
Message-Id: <20220902165126.1482-2-quintela@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Commit: 770beadb984d630a89b5a7327925a4cfba4488d5
https://github.com/qemu/qemu/commit/770beadb984d630a89b5a7327925a4cfba4488d5
Author: dinglimin <dinglimin@cmss.chinamobile.com>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M tests/migration/guestperf/engine.py
Log Message:
-----------
tests/migration: remove the unused local variable
Remove the unused local variable "records".
Signed-off-by: dinglimin <dinglimin@cmss.chinamobile.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Message-Id: <20220928080555.2263-1-dinglimin@cmss.chinamobile.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Commit: ea42a6c405269229d0923719854637425be07b31
https://github.com/qemu/qemu/commit/ea42a6c405269229d0923719854637425be07b31
Author: Michael Labiuk <michael.labiuk@virtuozzo.com>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M tests/qtest/device-plug-test.c
M tests/qtest/drive_del-test.c
M tests/qtest/libqos/pci-pc.c
M tests/qtest/libqtest.c
M tests/qtest/libqtest.h
Log Message:
-----------
tests/x86: add helper qtest_qmp_device_del_send()
Move sending 'device_del' command to separate function.
Function can be used in case of addition action is needed to start
actual removing device after sending command.
Signed-off-by: Michael Labiuk <michael.labiuk@virtuozzo.com>
Message-Id: <20220929223547.1429580-2-michael.labiuk@virtuozzo.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
[thuth: Fixed typo]
Signed-off-by: Thomas Huth <thuth@redhat.com>
Commit: a12f1a7e56b7f21fee49f419dd4220c4b9e0ee7f
https://github.com/qemu/qemu/commit/a12f1a7e56b7f21fee49f419dd4220c4b9e0ee7f
Author: Michael Labiuk <michael.labiuk@virtuozzo.com>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M tests/qtest/device-plug-test.c
Log Message:
-----------
tests/x86: Add subtest with 'q35' machine type to device-plug-test
Configure pci bridge setting to plug pci device and unplug.
Signed-off-by: Michael Labiuk <michael.labiuk@virtuozzo.com>
Message-Id: <20220929223547.1429580-3-michael.labiuk@virtuozzo.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Commit: 19bc7e3e16214eb27bc6bb0c18de675ea71b66b2
https://github.com/qemu/qemu/commit/19bc7e3e16214eb27bc6bb0c18de675ea71b66b2
Author: Michael Labiuk <michael.labiuk@virtuozzo.com>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M tests/qtest/hd-geo-test.c
Log Message:
-----------
tests/x86: Refactor hot unplug hd-geo-test
Moving common code to function.
Signed-off-by: Michael Labiuk <michael.labiuk@virtuozzo.com>
Message-Id: <20220929223547.1429580-4-michael.labiuk@virtuozzo.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Commit: c46b126088b5616d8b7cd3ff83aaf5d097c36633
https://github.com/qemu/qemu/commit/c46b126088b5616d8b7cd3ff83aaf5d097c36633
Author: Michael Labiuk <michael.labiuk@virtuozzo.com>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M tests/qtest/hd-geo-test.c
Log Message:
-----------
tests/x86: Add 'q35' machine type to override-tests in hd-geo-test
Signed-off-by: Michael Labiuk <michael.labiuk@virtuozzo.com>
Message-Id: <20220929223547.1429580-5-michael.labiuk@virtuozzo.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Commit: a30433dd4f72c446534862ea60d9e01ffdc97dfe
https://github.com/qemu/qemu/commit/a30433dd4f72c446534862ea60d9e01ffdc97dfe
Author: Michael Labiuk <michael.labiuk@virtuozzo.com>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M tests/qtest/hd-geo-test.c
Log Message:
-----------
tests/x86: Add 'q35' machine type to hotplug hd-geo-test
Add pci bridge setting to test hotplug.
Duplicate tests for plugging scsi and virtio devices for q35 machine type.
Signed-off-by: Michael Labiuk <michael.labiuk@virtuozzo.com>
Message-Id: <20220929223547.1429580-6-michael.labiuk@virtuozzo.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Commit: cb06b3d924a97312c2fb89ddcf1c1f347d040aa9
https://github.com/qemu/qemu/commit/cb06b3d924a97312c2fb89ddcf1c1f347d040aa9
Author: Michael Labiuk <michael.labiuk@virtuozzo.com>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M tests/qtest/drive_del-test.c
Log Message:
-----------
tests/x86: Fix comment typo in drive_del-test
Signed-off-by: Michael Labiuk <michael.labiuk@virtuozzo.com>
Message-Id: <20220929223547.1429580-7-michael.labiuk@virtuozzo.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Commit: 5356d752ed9e1115c763b8d470812bb7dd912e54
https://github.com/qemu/qemu/commit/5356d752ed9e1115c763b8d470812bb7dd912e54
Author: Michael Labiuk <michael.labiuk@virtuozzo.com>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M tests/qtest/drive_del-test.c
Log Message:
-----------
tests/x86: replace snprint() by g_strdup_printf() in drive_del-test
Using g_autofree char* and g_strdup_printf(...) instead of ugly
snprintf on stack array.
Signed-off-by: Michael Labiuk <michael.labiuk@virtuozzo.com>
Message-Id: <20220929223547.1429580-8-michael.labiuk@virtuozzo.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Commit: eb4440ef3aff1206be8e444db7962123bf85cec2
https://github.com/qemu/qemu/commit/eb4440ef3aff1206be8e444db7962123bf85cec2
Author: Michael Labiuk <michael.labiuk@virtuozzo.com>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M tests/qtest/drive_del-test.c
Log Message:
-----------
tests/x86: Add 'q35' machine type to drive_del-test
Configure pci bridge setting to run tests on 'q35' machine type.
Signed-off-by: Michael Labiuk <michael.labiuk@virtuozzo.com>
Message-Id: <20220929223547.1429580-9-michael.labiuk@virtuozzo.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Commit: 46d11f9d77b0c0f01fc6f78b2b8e5386abd03209
https://github.com/qemu/qemu/commit/46d11f9d77b0c0f01fc6f78b2b8e5386abd03209
Author: Michael Labiuk <michael.labiuk@virtuozzo.com>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M tests/qtest/ivshmem-test.c
Log Message:
-----------
tests/x86: Add 'q35' machine type to ivshmem-test
Configure pci bridge setting to test ivshmem on 'q35'.
Signed-off-by: Michael Labiuk <michael.labiuk@virtuozzo.com>
Message-Id: <20220929223547.1429580-10-michael.labiuk@virtuozzo.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Commit: d307040b18bfcb1393b910f1bae753d5c12a4dc7
https://github.com/qemu/qemu/commit/d307040b18bfcb1393b910f1bae753d5c12a4dc7
Author: Mauro Matteo Cascella <mcascell@redhat.com>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M ui/vnc.c
Log Message:
-----------
ui/vnc-clipboard: fix integer underflow in vnc_client_cut_text_ext
Extended ClientCutText messages start with a 4-byte header. If len < 4,
an integer underflow occurs in vnc_client_cut_text_ext. The result is
used to decompress data in a while loop in inflate_buffer, leading to
CPU consumption and denial of service. Prevent this by checking dlen in
protocol_client_msg.
Fixes: CVE-2022-3165
Fixes: 0bf41cab93e5 ("ui/vnc: clipboard support")
Reported-by: TangPeng <tangpeng@qianxin.com>
Signed-off-by: Mauro Matteo Cascella <mcascell@redhat.com>
Message-Id: <20220925204511.1103214-1-mcascell@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Commit: 604a86895feb6639417fe957dfc95191f7f63565
https://github.com/qemu/qemu/commit/604a86895feb6639417fe957dfc95191f7f63565
Author: Dongwon Kim <dongwon.kim@intel.com>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M ui/gtk-egl.c
Log Message:
-----------
ui/gtk-egl: egl context needs to be unbound in the end of gd_egl_switch
A thread often fails to bind an egl context to itself after guest VM is
rebooted because the context is still owned by another thread. It is not
very clear what condition makes this happen but this can be prevented
by unbinding the context from the thread in the end of gd_egl_switch.
Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Dongwon Kim <dongwon.kim@intel.com>
Message-Id: <20220928215805.4661-1-dongwon.kim@intel.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Commit: 0793fe014c4fc8649288044cd81024482b197cfc
https://github.com/qemu/qemu/commit/0793fe014c4fc8649288044cd81024482b197cfc
Author: Peter Maydell <peter.maydell@linaro.org>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M tests/avocado/boot_linux_console.py
M tests/avocado/machine_aspeed.py
M tests/avocado/ppc_bamboo.py
Log Message:
-----------
tests/avocado: Add missing require_netdev('user') checks
Some avocado tests fail if QEMU was built without libslirp. Add
require_netdev('user') checks where necessary:
These tests try to ping 10.0.2.2 and expect it to succeed:
boot_linux_console.py:BootLinuxConsole.test_arm_emcraft_sf2
boot_linux_console.py:BootLinuxConsole.test_arm_orangepi_sd
ppc_bamboo.py:BambooMachine.test_ppc_bamboo
These tests run a commandline that includes '-net user':
machine_aspeed.py:AST2x00Machine.test_arm_ast2500_evb_builroot
(and others that use the do_test_arm_aspeed_buidroot_start()
or do_test_arm_aspeed_sdk_start() helper functions)
These changes seem to be sufficient for 'make check-avocado'
to not fail on a --disable-slirp build.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20221001195224.2453581-1-peter.maydell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Commit: f57559891d9527627747d36cbdc7def0e278c5ff
https://github.com/qemu/qemu/commit/f57559891d9527627747d36cbdc7def0e278c5ff
Author: Marc-André Lureau <marcandre.lureau@redhat.com>
Date: 2022-10-12 (Wed, 12 Oct 2022)
Changed paths:
M tests/qtest/meson.build
A tests/qtest/vnc-display-test.c
Log Message:
-----------
qtest: start a VNC test
This is some of the simplest test we could perform, it simply connects
to the VNC server via passed-in socket FDs and checks the connection can
be established.
Another series will make this test work on Windows as well.
As always, more tests can be added later! :)
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20221006130513.2683873-1-marcandre.lureau@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Commit: e5553c1b8d28fde6b69dc9e6ac148515d361a86c
https://github.com/qemu/qemu/commit/e5553c1b8d28fde6b69dc9e6ac148515d361a86c
Author: Bin Meng <bin.meng@windriver.com>
Date: 2022-10-12 (Wed, 12 Oct 2022)
Changed paths:
M tests/qtest/migration-test.c
Log Message:
-----------
tests/qtest: migration-test: Avoid using hardcoded /tmp
This case was written to use hardcoded /tmp directory for temporary
files. Update to use g_dir_make_tmp() for a portable implementation.
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20221006151927.2079583-5-bmeng.cn@gmail.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Commit: 969d1f6e13fd34350b4b3fa72184e050ba77cd1c
https://github.com/qemu/qemu/commit/969d1f6e13fd34350b4b3fa72184e050ba77cd1c
Author: Bin Meng <bin.meng@windriver.com>
Date: 2022-10-12 (Wed, 12 Oct 2022)
Changed paths:
M tests/qtest/libqtest.c
Log Message:
-----------
tests/qtest: libqtest: Install signal handler via signal()
At present the codes uses sigaction() to install signal handler with
a flag SA_RESETHAND. Such usage can be covered by the signal() API
that is a simplified interface to the general sigaction() facility.
Update to use signal() to install the signal handler, as it is
available on Windows which we are going to support.
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20221006151927.2079583-11-bmeng.cn@gmail.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Commit: 2fba4e9c4938406fa676bfd3566e416e095cf93a
https://github.com/qemu/qemu/commit/2fba4e9c4938406fa676bfd3566e416e095cf93a
Author: lu zhipeng <luzhipeng@cestc.cn>
Date: 2022-10-12 (Wed, 12 Oct 2022)
Changed paths:
M hw/display/cirrus_vga.c
Log Message:
-----------
cirrus_vga: fix potential memory overflow
Signed-off-by: lu zhipeng <luzhipeng@cestc.cn>
Message-Id: <20220929122352.1891-1-luzhipeng@cestc.cn>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Commit: 23b45173faf37b13d2f6ae77353b7b27e7abf8e1
https://github.com/qemu/qemu/commit/23b45173faf37b13d2f6ae77353b7b27e7abf8e1
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2022-10-12 (Wed, 12 Oct 2022)
Changed paths:
M docs/interop/firmware.json
Log Message:
-----------
docs: add firmware feature flags
Add new firmware feature flags for the recently added confidential
computing operating modes by amd and intel.
While being at it also fix the path to the amd sev documentation.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Kashyap Chamarthy <kchamart@redhat.com>
Message-Id: <20220930133220.1771336-1-kraxel@redhat.com>
Commit: c82190fa1ba738b66513cf8869f25d45b1061ac6
https://github.com/qemu/qemu/commit/c82190fa1ba738b66513cf8869f25d45b1061ac6
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2022-10-12 (Wed, 12 Oct 2022)
Changed paths:
M hw/virtio/virtio-iommu-pci.c
M include/hw/pci/pci.h
Log Message:
-----------
pci-ids: drop PCI_DEVICE_ID_VIRTIO_IOMMU
Not needed for a virtio 1.0 device. virtio_pci_device_plugged()
overrides them anyway (so no functional change).
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Message-Id: <20221004112100.301935-2-kraxel@redhat.com>
Commit: 58de96e2ebc4977e3d0a042946a70a3e4bdde4ba
https://github.com/qemu/qemu/commit/58de96e2ebc4977e3d0a042946a70a3e4bdde4ba
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2022-10-12 (Wed, 12 Oct 2022)
Changed paths:
M hw/virtio/virtio-mem-pci.c
M include/hw/pci/pci.h
Log Message:
-----------
pci-ids: drop PCI_DEVICE_ID_VIRTIO_MEM
Not needed for a virtio 1.0 device. virtio_pci_device_plugged()
overrides them anyway (so no functional change).
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-Id: <20221004112100.301935-3-kraxel@redhat.com>
Commit: cbd56573f769f8ebefd6a1241169a101ca639f85
https://github.com/qemu/qemu/commit/cbd56573f769f8ebefd6a1241169a101ca639f85
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2022-10-12 (Wed, 12 Oct 2022)
Changed paths:
M hw/virtio/virtio-pmem-pci.c
M include/hw/pci/pci.h
Log Message:
-----------
pci-ids: drop PCI_DEVICE_ID_VIRTIO_PMEM
Not needed for a virtio 1.0 device. virtio_pci_device_plugged()
overrides them anyway (so no functional change).
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Pankaj Gupta <pankaj.gupta@amd.com>
Tested-by: Pankaj Gupta <pankaj.gupta@amd.com>
Message-Id: <20221004112100.301935-4-kraxel@redhat.com>
Commit: 55f01e76a305df90fe6b8f02dbeb88a2d7a04f97
https://github.com/qemu/qemu/commit/55f01e76a305df90fe6b8f02dbeb88a2d7a04f97
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2022-10-12 (Wed, 12 Oct 2022)
Changed paths:
M docs/specs/pci-ids.txt
Log Message:
-----------
pci-ids: drop list of modern virtio devices
Drop the list of modern virtio devices and explain how they
are calculated instead.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Message-Id: <20221004112100.301935-5-kraxel@redhat.com>
Commit: 0468fe82d32e99b6d84085e76d1e946bbe1e80ac
https://github.com/qemu/qemu/commit/0468fe82d32e99b6d84085e76d1e946bbe1e80ac
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2022-10-12 (Wed, 12 Oct 2022)
Changed paths:
M hw/virtio/virtio-pci.c
M include/hw/pci/pci.h
Log Message:
-----------
pci-ids: document modern virtio-pci ids in pci.h too
While being at it add a #define for the magic 0x1040 number.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Message-Id: <20221004112100.301935-6-kraxel@redhat.com>
Commit: 8af5f82b90cc860d79171ade228ccea59c7f525e
https://github.com/qemu/qemu/commit/8af5f82b90cc860d79171ade228ccea59c7f525e
Author: Akihiko Odaki <akihiko.odaki@daynix.com>
Date: 2022-10-12 (Wed, 12 Oct 2022)
Changed paths:
M ui/gtk.c
Log Message:
-----------
ui/gtk: Fix the implicit mouse ungrabbing logic
Although the grab menu item represents the tabbed displays, the old
implicit mouse ungrabbing logic changes the grab menu item even for
an untabbed display.
Leave the grab menu item when implicitly ungrabbing mouse for an
untabbed display. The new ungrabbing logic introduced in
gd_mouse_mode_change() strictly follows the corresponding grabbing
logic found in gd_button_event().
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-Id: <20221008140116.11473-1-akihiko.odaki@daynix.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Commit: 04c92d2654b130fd29597a57ae2d71e70895bf2b
https://github.com/qemu/qemu/commit/04c92d2654b130fd29597a57ae2d71e70895bf2b
Author: Thomas Huth <thuth@redhat.com>
Date: 2022-10-12 (Wed, 12 Oct 2022)
Changed paths:
M tests/unit/test-image-locking.c
Log Message:
-----------
tests/unit/test-image-locking: Fix handling of temporary files
test-image-locking leaves some temporary files around - clean
them up. While we're at it, test-image-locking is a unit test,
so it should not use "qtest.*" for temporary file names. Give
them better names instead, so that it clear where the temporary
files come from.
Message-Id: <20221012085932.799221-1-thuth@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Commit: 82a628f887409f8a863482627c6d6ea6f208d3b2
https://github.com/qemu/qemu/commit/82a628f887409f8a863482627c6d6ea6f208d3b2
Author: Sebastian Mitterle <smitterl@redhat.com>
Date: 2022-10-12 (Wed, 12 Oct 2022)
Changed paths:
M qemu-edid.c
Log Message:
-----------
qemu-edid: Restrict input parameter -d to avoid division by zero
A zero value for dpi will lead to a division by zero in qemu_edid_dpi_to_mm().
Tested by runnig qemu-edid -dX, X = 0, 100.
Resolves: qemu-project/qemu#1249
Suggested-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Sebastian Mitterle <smitterl@redhat.com>
Message-Id: <20221011151216.64897-1-smitterl@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Commit: dbccb1a5a1b5b14b78ea6b27bb562e8cd0a8f317
https://github.com/qemu/qemu/commit/dbccb1a5a1b5b14b78ea6b27bb562e8cd0a8f317
Author: Bryce Mills <brycemills@proton.me>
Date: 2022-10-12 (Wed, 12 Oct 2022)
Changed paths:
M qapi/ui.json
M qemu-options.hx
M ui/gtk.c
Log Message:
-----------
gtk: Add show_menubar=on|off command line option.
The patch adds "show_menubar" command line option for GTK UI similar to
"show_tabs". This option allows to hide menu bar initially, it still can
be toggled by shortcut and other shortcuts still work.
Signed-off-by: Bryce Mills <brycemills@proton.me>
Acked-by: Markus Armbruster <armbru@redhat.com>
Message-Id:
<NWO_zx1CT5Aj9vAXsRlqBppXd63gcKwL9V1qM1Meh36M_9tCw-EsCnfpvONXhHjmtKIUoSuCy9OO6cHS7M8b0oHBOCZG6f1jZ4Q2tqgI2Qo=@proton.me>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Commit: 4db99c9d9cb6ab6290f14609e23d079219102742
https://github.com/qemu/qemu/commit/4db99c9d9cb6ab6290f14609e23d079219102742
Author: Marc-André Lureau <marcandre.lureau@redhat.com>
Date: 2022-10-12 (Wed, 12 Oct 2022)
Changed paths:
M util/qemu-thread-win32.c
Log Message:
-----------
win32: set threads name
As described in:
https://learn.microsoft.com/en-us/visualstudio/debugger/how-to-set-a-thread-name-in-native-code?view=vs-2022
SetThreadDescription() is available since Windows 10, version 1607 and
in some versions only by "Run Time Dynamic Linking". Its declaration is
not yet in mingw, so we lookup the function the same way glib does.
Tested with Visual Studio Community 2022 debugger.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Commit: c1f798091319c74cd9a90f36af604c782e7ee7bd
https://github.com/qemu/qemu/commit/c1f798091319c74cd9a90f36af604c782e7ee7bd
Author: Marc-André Lureau <marcandre.lureau@redhat.com>
Date: 2022-10-12 (Wed, 12 Oct 2022)
Changed paths:
M util/osdep.c
Log Message:
-----------
osdep: make readv_writev() work with partial read/write
With a pipe or other reasons, read/write may return less than the
requested bytes. This happens with the test-io-channel-command test on
Windows. glib spawn code uses a binary pipe of 4096 bytes, and the first
read returns that much (although more are requested), for some unclear
reason...
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20221006113657.2656108-2-marcandre.lureau@redhat.com>
Commit: 3f08376c2e1c3d3bb0b415fb1505b949d72655d4
https://github.com/qemu/qemu/commit/3f08376c2e1c3d3bb0b415fb1505b949d72655d4
Author: Marc-André Lureau <marcandre.lureau@redhat.com>
Date: 2022-10-12 (Wed, 12 Oct 2022)
Changed paths:
M util/iov.c
Log Message:
-----------
util: make do_send_recv work with partial send/recv
According to msdn documentation and Linux man pages, send() should try
to send as much as possible in blocking mode, while recv() may return
earlier with a smaller available amount, we should try to continue
send/recv from there.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20221006113657.2656108-3-marcandre.lureau@redhat.com>
Commit: bb06b0143b492203ab3d17640be1d819cfc33de7
https://github.com/qemu/qemu/commit/bb06b0143b492203ab3d17640be1d819cfc33de7
Author: Marc-André Lureau <marcandre.lureau@redhat.com>
Date: 2022-10-12 (Wed, 12 Oct 2022)
Changed paths:
M tests/unit/io-channel-helpers.c
Log Message:
-----------
tests/channel-helper: set blocking in main thread
The /io/channel/command/echo tests run the reader side and the writer
side with the same underlying command channel. Setting the blocking mode
of the fd/handles while the other end is already reading/writing may
create issues (deadlock in win32 when earlier attempt of this series
were using SetNamedPipeHandleState). Let's just do it before spawning
the threads to avoid further concurrency issues.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20221006113657.2656108-4-marcandre.lureau@redhat.com>
Commit: a95570e3e4d61a7c8e527e512246665c51caa6f4
https://github.com/qemu/qemu/commit/a95570e3e4d61a7c8e527e512246665c51caa6f4
Author: Marc-André Lureau <marcandre.lureau@redhat.com>
Date: 2022-10-12 (Wed, 12 Oct 2022)
Changed paths:
M include/io/channel-command.h
M io/channel-command.c
Log Message:
-----------
io/command: use glib GSpawn, instead of open-coding fork/exec
Simplify qio_channel_command_new_spawn() with GSpawn API. This will
allow to build for WIN32 in the following patches.
As pointed out by Daniel Berrangé: there is a change in semantics here
too. The current code only touches stdin/stdout/stderr. Any other FDs
which do NOT have O_CLOEXEC set will be inherited. With the new code,
all FDs except stdin/out/err will be explicitly closed, because we don't
set the flag G_SPAWN_LEAVE_DESCRIPTORS_OPEN. The only place we use
QIOChannelCommand today is the migration exec: protocol, and that is
only declared to use stdin/stdout.
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20221006113657.2656108-5-marcandre.lureau@redhat.com>
Commit: ec5b6c9c5de985769a3d816b85cfe707a2decb93
https://github.com/qemu/qemu/commit/ec5b6c9c5de985769a3d816b85cfe707a2decb93
Author: Marc-André Lureau <marcandre.lureau@redhat.com>
Date: 2022-10-12 (Wed, 12 Oct 2022)
Changed paths:
M include/io/channel-command.h
M io/channel-command.c
Log Message:
-----------
io/command: implement support for win32
The initial implementation was changing the pipe state created by GLib
to PIPE_NOWAIT, but it turns out it doesn't work (read/write returns an
error). Since reading may return less than the requested amount, it
seems to be non-blocking already. However, the IO operation may block
until the FD is ready, I can't find good sources of information, to be
safe we can just poll for readiness before.
Alternatively, we could setup the FDs ourself, and use UNIX sockets on
Windows, which can be used in blocking/non-blocking mode. I haven't
tried it, as I am not sure it is necessary.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20221006113657.2656108-6-marcandre.lureau@redhat.com>
Commit: 76f5148c21b4543e62a6ad605ac4b44133421401
https://github.com/qemu/qemu/commit/76f5148c21b4543e62a6ad605ac4b44133421401
Author: Marc-André Lureau <marcandre.lureau@redhat.com>
Date: 2022-10-12 (Wed, 12 Oct 2022)
Changed paths:
M tests/unit/test-io-channel-command.c
Log Message:
-----------
tests/unit: make test-io-channel-command work on win32
This has been tested under msys2 & windows 11. I haven't tried to make
it work with other environments yet, but that should be enough to
validate the channel-command implementation anyway.
Here are the changes:
- drop tests/ from fifo/pipe path, to avoid directory issues
- use g_find_program() to lookup the socat executable (otherwise we
would need to change ChanneCommand to use G_SPAWN_SEARCH_PATH, and deal
with missing socat differently)
- skip the "echo" test when socat is missing as well
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20221006113657.2656108-7-marcandre.lureau@redhat.com>
Commit: a7b7802bfe971b1b33cf85b328a521333e68ce97
https://github.com/qemu/qemu/commit/a7b7802bfe971b1b33cf85b328a521333e68ce97
Author: Helge Konetzka <hk@zapateado.de>
Date: 2022-10-12 (Wed, 12 Oct 2022)
Changed paths:
M audio/audio.c
Log Message:
-----------
audio: fix in.voices test
Calling qemu with valid -audiodev ...,in.voices=0 results in an obsolete
warning:
audio: Bogus number of capture voices 0, setting to 0
This patch fixes the in.voices test.
Signed-off-by: Helge Konetzka <hk@zapateado.de>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20221012114925.5084-2-hk@zapateado.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Commit: 61ddafbcfac4975ee245cd3453be86b0632a5605
https://github.com/qemu/qemu/commit/61ddafbcfac4975ee245cd3453be86b0632a5605
Author: Helge Konetzka <hk@zapateado.de>
Date: 2022-10-12 (Wed, 12 Oct 2022)
Changed paths:
M audio/audio.c
Log Message:
-----------
audio: improve out.voices test
Improve readability of audio out.voices test:
If 1 is logged and set after positive test, 1 should be tested.
Signed-off-by: Helge Konetzka <hk@zapateado.de>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20221012114925.5084-3-hk@zapateado.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Commit: bb76f8e27570337f87f01414fb303d760753c587
https://github.com/qemu/qemu/commit/bb76f8e27570337f87f01414fb303d760753c587
Author: Stefan Hajnoczi <stefanha@redhat.com>
Date: 2022-10-13 (Thu, 13 Oct 2022)
Changed paths:
M accel/kvm/kvm-all.c
M hw/scsi/scsi-disk.c
M include/sysemu/kvm.h
M include/sysemu/kvm_int.h
M linux-user/i386/signal.c
M qapi/run-state.json
M qemu-options.hx
M target/arm/kvm.c
M target/i386/cpu-param.h
M target/i386/cpu.c
M target/i386/cpu.h
M target/i386/helper.h
M target/i386/kvm/kvm.c
M target/i386/kvm/kvm_i386.h
M target/i386/machine.c
M target/i386/tcg/fpu_helper.c
M target/i386/tcg/seg_helper.c
M target/i386/tcg/sysemu/misc_helper.c
M target/i386/tcg/tcg-cpu.c
M target/i386/tcg/translate.c
M target/mips/kvm.c
M target/ppc/kvm.c
M target/riscv/kvm.c
M target/s390x/kvm/kvm.c
Log Message:
-----------
Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging
* scsi-disk: support setting CD-ROM block size via device options
* target/i386: Implement MSR_CORE_THREAD_COUNT MSR
* target/i386: notify VM exit support
* target/i386: PC-relative translation block support
* target/i386: support for XSAVE state in signal frames (linux-user)
# -----BEGIN PGP SIGNATURE-----
#
# iQFIBAABCAAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmNFKP4UHHBib256aW5p
# QHJlZGhhdC5jb20ACgkQv/vSX3jHroNJnwgAgCcOOxmY4Qem0Gd1L+SJKpEtGMOd
# 4LY7443vT36pMpvqFNSfp5GBjDT1MgTD8BIY28miLMq959LT89LyM9g/H7IKOT82
# uyCsW3jW+6F19EZVkNvzTt+3USn/kaHn50zA4Ss9kvdNZr31b2LYqtglVCznfZwH
# oI1rDhvsXubq8oWvwkqH7IwduK8mw+EB5Yz7AjYQ6eiYjenTrQBObpwQNbb4rlUf
# oRm8dk/YJ2gfI2HQkoznGEbgpngy2tIU1vHNEpIk5NpwXxrulOyui3+sWaG4pH8f
# oAOrSDC23M5A6jBJJAzDJ1q6M677U/kwJypyGQ7IyvyhECXE3tR+lHX1eA==
# =tqeJ
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue 11 Oct 2022 04:27:42 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: (37 commits)
linux-user: i386/signal: support XSAVE/XRSTOR for signal frame fpstate
linux-user: i386/signal: support FXSAVE fpstate on 32-bit emulation
linux-user: i386/signal: move fpstate at the end of the 32-bit frames
KVM: x86: Implement MSR_CORE_THREAD_COUNT MSR
i386: kvm: Add support for MSR filtering
x86: Implement MSR_CORE_THREAD_COUNT MSR
target/i386: Enable TARGET_TB_PCREL
target/i386: Inline gen_jmp_im
target/i386: Add cpu_eip
target/i386: Create eip_cur_tl
target/i386: Merge gen_jmp_tb and gen_goto_tb into gen_jmp_rel
target/i386: Remove MemOp argument to gen_op_j*_ecx
target/i386: Use gen_jmp_rel for DISAS_TOO_MANY
target/i386: Use gen_jmp_rel for gen_jcc
target/i386: Use gen_jmp_rel for loop, repz, jecxz insns
target/i386: Create gen_jmp_rel
target/i386: Use DISAS_TOO_MANY to exit after gen_io_start
target/i386: Create eip_next_*
target/i386: Truncate values for lcall_real to i32
target/i386: Introduce DISAS_JUMP
...
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Commit: 7a37814aeb0fdf6bfce321f83c111f1ff092ca2f
https://github.com/qemu/qemu/commit/7a37814aeb0fdf6bfce321f83c111f1ff092ca2f
Author: Stefan Hajnoczi <stefanha@redhat.com>
Date: 2022-10-13 (Thu, 13 Oct 2022)
Changed paths:
M tests/avocado/boot_linux_console.py
M tests/avocado/machine_aspeed.py
M tests/avocado/ppc_bamboo.py
M tests/migration/guestperf/engine.py
M tests/qtest/bios-tables-test.c
M tests/qtest/device-plug-test.c
M tests/qtest/drive_del-test.c
M tests/qtest/fuzz-lsi53c895a-test.c
M tests/qtest/fuzz-megasas-test.c
M tests/qtest/fuzz-sb16-test.c
M tests/qtest/fuzz-sdcard-test.c
M tests/qtest/fuzz-virtio-scsi-test.c
M tests/qtest/fuzz-xlnx-dp-test.c
M tests/qtest/hd-geo-test.c
M tests/qtest/ivshmem-test.c
M tests/qtest/libqos/pci-pc.c
M tests/qtest/libqtest.c
M tests/qtest/libqtest.h
M tests/qtest/meson.build
M tests/qtest/migration-test.c
A tests/qtest/vnc-display-test.c
M tests/unit/test-image-locking.c
Log Message:
-----------
Merge tag 'pull-request-2022-10-12' of https://gitlab.com/thuth/qemu into
staging
* Rework of qtests to support hot plugging tests on q35
* New VNC qtest
* Fixes related to temporary file handling in the tests
* Use signal() instead of sigaction() since the latter does not work on Windows
* Some other small clean-ups
# -----BEGIN PGP SIGNATURE-----
#
# iQJFBAABCAAvFiEEJ7iIR+7gJQEY8+q5LtnXdP5wLbUFAmNGz1URHHRodXRoQHJl
# ZGhhdC5jb20ACgkQLtnXdP5wLbXwxxAAoh9CeYKLyPFPe71XGsSWW4mQDkny+4CA
# AFBfcEchPSyOoTJwuSHS5cL27KkL1Wy7wTSlWdcQ2Z4LA8hexopfPtCVlizH8vQh
# hHVP5KLDY7WA7bsuRznrjUjXtjLL9mExuPm3QZ+YxH/3rNhISvq1GfC9Z5PQ/zNp
# GagCW+WiFyEYyhRHJnVVTJfZV0NCbJp9KCCJ6n/Rag80JRQiouGQsKLfRoRhvkGC
# 13dWq2NeDq9xE1k1ThUZdIpUxJO4cA+9bh6LzGOIcHX8akfkryh3NGCWuojX3XDF
# 2CRyyblfjMIp5HUcKNOrQzY1oGRn8y5537ycUkEsropSMdAccIqNwlcWO7whLEGn
# 7nbogrPt8Orezytl5ZM3WopWlge5KA2vxOUURx487LnZC2/g7l2unrCDv0c3PHDb
# U2fD5do7ZtPOl9Uz8QkYPo5CzEDnKPmPv1txOMBRcBZsvmXPZMxRWwsYavB/RloG
# nI9IvG3ZW6ivKwoPPceJberL8Ndq+pqn7y4CNNAAunHSjJ2H0YS1m1F/HfVWKJYJ
# uStXy3IZ5Qo8E+IRbPYyM68yBgrnaShuAvTSax8tWjhHOR8HetrzPABMrWylCrdo
# gaeSCEZmqf2zIYHQ2q8c7U/YrHgFNHlLz9yCyM6rZtU9dOAe52PG2TlRQomlGP76
# NKnti3RJWG4=
# =4f+b
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed 12 Oct 2022 10:29:41 EDT
# gpg: using RSA key 27B88847EEE0250118F3EAB92ED9D774FE702DB5
# gpg: issuer "thuth@redhat.com"
# gpg: Good signature from "Thomas Huth <th.huth@gmx.de>" [full]
# gpg: aka "Thomas Huth <thuth@redhat.com>" [full]
# gpg: aka "Thomas Huth <huth@tuxfamily.org>" [full]
# gpg: aka "Thomas Huth <th.huth@posteo.de>" [unknown]
# Primary key fingerprint: 27B8 8847 EEE0 2501 18F3 EAB9 2ED9 D774 FE70 2DB5
* tag 'pull-request-2022-10-12' of https://gitlab.com/thuth/qemu:
tests/unit/test-image-locking: Fix handling of temporary files
tests/qtest: libqtest: Install signal handler via signal()
tests/qtest: migration-test: Avoid using hardcoded /tmp
qtest: start a VNC test
tests/avocado: Add missing require_netdev('user') checks
tests/x86: Add 'q35' machine type to ivshmem-test
tests/x86: Add 'q35' machine type to drive_del-test
tests/x86: replace snprint() by g_strdup_printf() in drive_del-test
tests/x86: Fix comment typo in drive_del-test
tests/x86: Add 'q35' machine type to hotplug hd-geo-test
tests/x86: Add 'q35' machine type to override-tests in hd-geo-test
tests/x86: Refactor hot unplug hd-geo-test
tests/x86: Add subtest with 'q35' machine type to device-plug-test
tests/x86: add helper qtest_qmp_device_del_send()
tests/migration: remove the unused local variable
qtest: "-display none" is set in qtest_init()
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Commit: 644eb9ceb4582ee2ccb84b6b7f7cb6d3b2d0c692
https://github.com/qemu/qemu/commit/644eb9ceb4582ee2ccb84b6b7f7cb6d3b2d0c692
Author: Stefan Hajnoczi <stefanha@redhat.com>
Date: 2022-10-13 (Thu, 13 Oct 2022)
Changed paths:
M include/io/channel-command.h
M io/channel-command.c
M tests/unit/io-channel-helpers.c
M tests/unit/test-io-channel-command.c
M util/iov.c
M util/osdep.c
M util/qemu-thread-win32.c
Log Message:
-----------
Merge tag 'win32-pull-request' of https://gitlab.com/marcandre.lureau/qemu
into staging
win32-related misc patches
# -----BEGIN PGP SIGNATURE-----
#
# iQJPBAABCAA6FiEEh6m9kz+HxgbSdvYt2ujhCXWWnOUFAmNG488cHG1hcmNhbmRy
# ZS5sdXJlYXVAcmVkaGF0LmNvbQAKCRDa6OEJdZac5eQTD/j/rEcONwL4gZn/Rcp8
# aJlr39GEHo0JxBAF3eoxCLJlebPcdaUQ4pu/FTegS1A4abPaajDH7rdtcA58ciAG
# rCQjUOrobHzxmI9XaTIPT4PQh3DA4HB58rTpAvb/6P/UDRc0MpkcvaOkGlJVhi+7
# WB63+gnQOBEjcieNcQtmRwYRkx7K5/9G4qEESl0i2E+SE4DM+/vcVa7lfqEZ+6HS
# bsDy2BslxtPFmHj1UElwXjTbCs4Y7pfTFd+9z8ySsGL1Komf45MZs0iS4FmZLqL/
# 7Cuj+xRWibnPN9jnAc+Sdua3FAFZbqmfPQaH6DN6SICZ6Txf2hxFkAgTahagcxYX
# 9EiKGHZzI4L3l/YAxFg9RfK+AsF44ZLPId58AVvUnG1jWwxl3nRaTmvtvHaEwJuZ
# PgnbAdsNzQAJjLnk8ndpTq4mQFM+9/mrQo+iaOCwmB5s07woyEq+L+KJHMUgyk2D
# lECn3vlqVGGb6GA6MS5gSXh0TDRxPxLyr9ofIG5i5YaTo4nH56S80tHrzZMUYNKD
# xe2yUrEZ7UjeV4/6M19xdw3haPOdrG3BoBshb61vI1bF/4iQxYNo8AxptCRhzNNM
# 5Jrn/gyt47SEgMYpGIvHa/qo1lQiLsQAVKAK3O2QWd5T58V6J1a804zhTuT7T45O
# kZS2c8XEdAiBtUAkYNgFxwGM
# =Lpqm
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed 12 Oct 2022 11:57:03 EDT
# gpg: using RSA key 87A9BD933F87C606D276F62DDAE8E10975969CE5
# gpg: issuer "marcandre.lureau@redhat.com"
# gpg: Good signature from "Marc-André Lureau <marcandre.lureau@redhat.com>"
[full]
# gpg: aka "Marc-André Lureau <marcandre.lureau@gmail.com>"
[full]
# Primary key fingerprint: 87A9 BD93 3F87 C606 D276 F62D DAE8 E109 7596 9CE5
* tag 'win32-pull-request' of https://gitlab.com/marcandre.lureau/qemu:
tests/unit: make test-io-channel-command work on win32
io/command: implement support for win32
io/command: use glib GSpawn, instead of open-coding fork/exec
tests/channel-helper: set blocking in main thread
util: make do_send_recv work with partial send/recv
osdep: make readv_writev() work with partial read/write
win32: set threads name
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Commit: 2ba341b3694cf3cff7b8a1df4cc765900d5c4f60
https://github.com/qemu/qemu/commit/2ba341b3694cf3cff7b8a1df4cc765900d5c4f60
Author: Stefan Hajnoczi <stefanha@redhat.com>
Date: 2022-10-13 (Thu, 13 Oct 2022)
Changed paths:
M audio/alsaaudio.c
M audio/audio.c
M audio/audio_int.h
M audio/audio_template.h
M audio/dbusaudio.c
M audio/noaudio.c
M audio/rate_template.h
M audio/spiceaudio.c
M audio/wavaudio.c
M docs/interop/firmware.json
M docs/specs/pci-ids.txt
M hw/display/cirrus_vga.c
M hw/virtio/virtio-iommu-pci.c
M hw/virtio/virtio-mem-pci.c
M hw/virtio/virtio-pci.c
M hw/virtio/virtio-pmem-pci.c
M include/hw/pci/pci.h
M qapi/ui.json
M qemu-edid.c
M qemu-options.hx
M ui/gtk-egl.c
M ui/gtk.c
M ui/vnc.c
Log Message:
-----------
Merge tag 'kraxel-20221013-pull-request' of https://gitlab.com/kraxel/qemu
into staging
pci: cleanup virtio ids.
audio: bugfixes and latency improvements.
misc fixes for hw/display and ui
# -----BEGIN PGP SIGNATURE-----
#
# iQIzBAABCgAdFiEEoDKM/7k6F6eZAf59TLbY7tPocTgFAmNHtYsACgkQTLbY7tPo
# cTjHhg//RDkHbqVSExe+Odw5ISuLu/EXZSHAVjo3KOCUvaj7O2cXi8N7DVfEy5a5
# T3+WSv0v4X6TYSV0PoMb36a11rCuOKzeLZrtEOQeYfG3D1WCVc9gIWMt6omzBC7A
# YQ59P+u19qHD7xD2PP3WRtdcqmsceg1RG+47adX2EnsRZmmu/yJxD72w/Q1kXMuB
# jIzuJU2ZVorYX9y11hnIU3M5pvoX/vjFA+Ib2UGZZdlE3KlUKtJeAtLiZkHfoyd1
# 5janU+PtSU6Z1yVirE7RVz3+IBbfqqEFTkDtMXJucJW/Eod0NHCyo4Q6D64HoiZe
# +JZKkHmuvn8ZUgXMtIOZdH+aOHlaIJzA5SoA2IFxCBVuxn7p4NtPbCRoHHg7gkDh
# BDsq+p/wsdOY06u1txFw9dYy+4tKvWS7+Dxhyme7GT2YUQHrEEG3pzGFmk3PE0Vi
# tEAhmfNRxWzUgIcynQiN/3SnShAI8lANq0SEiiTvqcX7h1TK+cjEYjOTMsjK43nL
# 2W/pgQxJpEPcSs3jgFLnBLk9rUHRNRC+GtMBlwN+Wdc1y17leZHiIinqhHjXuts3
# cJTdv4veeGuJENPIl2rk5JOdvpVtzduDkz+Rzx0mGb+LnAYdK2lBUV5LY9FfdwaK
# 2Bgg02ZYNBz7K2zzFeeV+7b7K/LYOuWkGdzGvKbpqjbefopZmTM=
# =6d/F
# -----END PGP SIGNATURE-----
# gpg: Signature made Thu 13 Oct 2022 02:51:55 EDT
# gpg: using RSA key A0328CFFB93A17A79901FE7D4CB6D8EED3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>" [full]
# gpg: aka "Gerd Hoffmann <gerd@kraxel.org>" [full]
# gpg: aka "Gerd Hoffmann (private) <kraxel@gmail.com>" [full]
# Primary key fingerprint: A032 8CFF B93A 17A7 9901 FE7D 4CB6 D8EE D3E8 7138
* tag 'kraxel-20221013-pull-request' of https://gitlab.com/kraxel/qemu: (26
commits)
audio: improve out.voices test
audio: fix in.voices test
gtk: Add show_menubar=on|off command line option.
qemu-edid: Restrict input parameter -d to avoid division by zero
ui/gtk: Fix the implicit mouse ungrabbing logic
pci-ids: document modern virtio-pci ids in pci.h too
pci-ids: drop list of modern virtio devices
pci-ids: drop PCI_DEVICE_ID_VIRTIO_PMEM
pci-ids: drop PCI_DEVICE_ID_VIRTIO_MEM
pci-ids: drop PCI_DEVICE_ID_VIRTIO_IOMMU
docs: add firmware feature flags
cirrus_vga: fix potential memory overflow
ui/gtk-egl: egl context needs to be unbound in the end of gd_egl_switch
ui/vnc-clipboard: fix integer underflow in vnc_client_cut_text_ext
audio: prevent an integer overflow in resampling code
audio: fix sw->buf size for audio recording
audio: refactor audio_get_avail()
audio: rename audio_sw_bytes_free()
audio: swap audio_rate_get_bytes() function parameters
spiceaudio: update comment
...
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Compare: https://github.com/qemu/qemu/compare/cdcb7dcb4017...2ba341b3694c