[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 6d9abb: qom: use qemu_printf to print help fo
From: |
Peter Maydell |
Subject: |
[Qemu-commits] [qemu/qemu] 6d9abb: qom: use qemu_printf to print help for user-creata... |
Date: |
Fri, 19 Mar 2021 11:06:56 -0700 |
Branch: refs/heads/staging
Home: https://github.com/qemu/qemu
Commit: 6d9abb6de9cc53a508823db0283061824f2f98a2
https://github.com/qemu/qemu/commit/6d9abb6de9cc53a508823db0283061824f2f98a2
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2021-03-19 (Fri, 19 Mar 2021)
Changed paths:
M qom/object_interfaces.c
Log Message:
-----------
qom: use qemu_printf to print help for user-creatable objects
Since we have added help support for object_add, the help is
printed on stdout. Switch to qemu_printf so that it goes to
the monitor.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: b8184135835068e9579e678f0b54465ee6161d32
https://github.com/qemu/qemu/commit/b8184135835068e9579e678f0b54465ee6161d32
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2021-03-19 (Fri, 19 Mar 2021)
Changed paths:
M target/i386/cpu.c
M target/i386/cpu.h
M target/i386/tcg/excp_helper.c
M target/i386/tcg/helper-tcg.h
Log Message:
-----------
target/i386: allow modifying TCG phys-addr-bits
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: da3f3b020f5346f59c30241ff6f3da60be87ed78
https://github.com/qemu/qemu/commit/da3f3b020f5346f59c30241ff6f3da60be87ed78
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2021-03-19 (Fri, 19 Mar 2021)
Changed paths:
M target/i386/tcg/misc_helper.c
Log Message:
-----------
target/i386: fail if toggling LA57 in 64-bit mode
This fixes kvm-unit-tests access.flat with -cpu qemu64,la57.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 687758565ab39028f7310c30355a765f171ff1bf
https://github.com/qemu/qemu/commit/687758565ab39028f7310c30355a765f171ff1bf
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2021-03-19 (Fri, 19 Mar 2021)
Changed paths:
M target/i386/tcg/helper-tcg.h
M target/i386/tcg/seg_helper.c
M target/i386/tcg/svm_helper.c
Log Message:
-----------
target/i386: svm: do not discard high 32 bits of EXITINFO1
env->error_code is only 32-bits wide, so the high 32 bits of EXITINFO1
are being lost. However, even though saving guest state and restoring
host state must be delayed to do_vmexit, because they might take tb_lock,
it is always possible to write to the VMCB. So do this for the exit
code and EXITINFO1, just like it is already being done for EXITINFO2.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 816d20c927a930f1ff66656a8dafd9861806c602
https://github.com/qemu/qemu/commit/816d20c927a930f1ff66656a8dafd9861806c602
Author: Vitaly Kuznetsov <vkuznets@redhat.com>
Date: 2021-03-19 (Fri, 19 Mar 2021)
Changed paths:
M target/i386/machine.c
Log Message:
-----------
i386: Fix 'hypercall_hypercall' typo
Even the name of this section is 'cpu/msr_hyperv_hypercall',
'hypercall_hypercall' is clearly a typo.
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20210318160249.1084178-3-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 561dbb41b1d752098249128d8462aaadc56fd15d
https://github.com/qemu/qemu/commit/561dbb41b1d752098249128d8462aaadc56fd15d
Author: Vitaly Kuznetsov <vkuznets@redhat.com>
Date: 2021-03-19 (Fri, 19 Mar 2021)
Changed paths:
M docs/hyperv.txt
M target/i386/kvm/hyperv-proto.h
M target/i386/machine.c
Log Message:
-----------
i386: Make migration fail when Hyper-V reenlightenment was enabled but
'user_tsc_khz' is unset
KVM doesn't fully support Hyper-V reenlightenment notifications on
migration. In particular, it doesn't support emulating TSC frequency
of the source host by trapping all TSC accesses so unless TSC scaling
is supported on the destination host and KVM_SET_TSC_KHZ succeeds, it
is unsafe to proceed with migration.
KVM_SET_TSC_KHZ is called from two sites: kvm_arch_init_vcpu() and
kvm_arch_put_registers(). The later (intentionally) doesn't propagate
errors allowing migrations to succeed even when TSC scaling is not
supported on the destination. This doesn't suit 're-enlightenment'
use-case as we have to guarantee that TSC frequency stays constant.
Require 'tsc-frequency=' command line option to be specified for successful
migration when re-enlightenment was enabled by the guest.
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20210319123801.1111090-1-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 52ad57a9b68e215c4f5fa2cfd2412132b522bff5
https://github.com/qemu/qemu/commit/52ad57a9b68e215c4f5fa2cfd2412132b522bff5
Author: Philippe Mathieu-Daudé <philmd@redhat.com>
Date: 2021-03-19 (Fri, 19 Mar 2021)
Changed paths:
M hw/intc/i8259.c
Log Message:
-----------
hw/intc/i8259: Refactor pic_read_irq() to avoid uninitialized variable
Some compiler versions are smart enough to detect a potentially
uninitialized variable, but are not smart enough to detect that this
cannot happen due to the code flow:
../hw/intc/i8259.c: In function ‘pic_read_irq’:
../hw/intc/i8259.c:203:13: error: ‘irq2’ may be used uninitialized in this
function [-Werror=maybe-uninitialized]
203 | irq = irq2 + 8;
| ~~~~^~~~~~~~~~
Restrict irq2 variable use to the inner statement.
Fixes: 78ef2b6989f ("i8259: Reorder intack in pic_read_irq")
Reported-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210318163059.3686596-1-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: af05ffffd7fa28010d4df9f5744514b16e71055d
https://github.com/qemu/qemu/commit/af05ffffd7fa28010d4df9f5744514b16e71055d
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2021-03-19 (Fri, 19 Mar 2021)
Changed paths:
R tests/qtest/fuzz-test.c
A tests/qtest/lpc-ich9-test.c
M tests/qtest/meson.build
Log Message:
-----------
tests/qtest: cleanup the testcase for bug 1878642
Clean up the writes to the configuration space and the PM region, and
rename the test to lpc-ich9-test.
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: bdee969c0e65d4d509932b1d70e3a3b2ffbff6d5
https://github.com/qemu/qemu/commit/bdee969c0e65d4d509932b1d70e3a3b2ffbff6d5
Author: Peter Maydell <peter.maydell@linaro.org>
Date: 2021-03-19 (Fri, 19 Mar 2021)
Changed paths:
M docs/hyperv.txt
M hw/intc/i8259.c
M qom/object_interfaces.c
M target/i386/cpu.c
M target/i386/cpu.h
M target/i386/kvm/hyperv-proto.h
M target/i386/machine.c
M target/i386/tcg/excp_helper.c
M target/i386/tcg/helper-tcg.h
M target/i386/tcg/misc_helper.c
M target/i386/tcg/seg_helper.c
M target/i386/tcg/svm_helper.c
R tests/qtest/fuzz-test.c
A tests/qtest/lpc-ich9-test.c
M tests/qtest/meson.build
Log Message:
-----------
Merge remote-tracking branch 'remotes/bonzini-gitlab/tags/for-upstream' into
staging
* fixes for i386 TCG paging
* fixes for Hyper-V enlightenments
* avoid uninitialized variable warning
# gpg: Signature made Fri 19 Mar 2021 14:38:12 GMT
# 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
* remotes/bonzini-gitlab/tags/for-upstream:
tests/qtest: cleanup the testcase for bug 1878642
hw/intc/i8259: Refactor pic_read_irq() to avoid uninitialized variable
i386: Make migration fail when Hyper-V reenlightenment was enabled but
'user_tsc_khz' is unset
i386: Fix 'hypercall_hypercall' typo
target/i386: svm: do not discard high 32 bits of EXITINFO1
target/i386: fail if toggling LA57 in 64-bit mode
target/i386: allow modifying TCG phys-addr-bits
qom: use qemu_printf to print help for user-creatable objects
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Compare: https://github.com/qemu/qemu/compare/2e1293cbaac7...bdee969c0e65
- [Qemu-commits] [qemu/qemu] 6d9abb: qom: use qemu_printf to print help for user-creata...,
Peter Maydell <=