Paolo Bonzini
82e6905465
riscv: do not use ram_size global
...
Use the machine properties instead.
Cc: Alistair Francis <Alistair.Francis@wdc.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:09 -05:00
Paolo Bonzini
ead2b283ad
ppc: do not use ram_size global
...
Use the machine properties instead.
Cc: qemu-ppc@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:09 -05:00
Paolo Bonzini
541693a419
nios2: do not use ram_size global
...
Use the equivalent argument to the function instead.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:09 -05:00
Paolo Bonzini
eb09df9272
moxie: do not use ram_size global
...
Use the loader parameters instead.
Cc: Philippe Mathieu-Daudé <philmd@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:08 -05:00
Paolo Bonzini
74d6bf8525
mips: do not use ram_size global
...
Use the machine properties or loader parameters instead.
Cc: Philippe Mathieu-Daudé <philmd@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:08 -05:00
Paolo Bonzini
89ee4a098c
microblaze: do not use ram_size global
...
Use the equivalent argument to the function instead.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:08 -05:00
Paolo Bonzini
5601d24164
m68k: do not use ram_size global
...
Use the machine properties instead.
Cc: Laurent Vivier <lvivier@redhat.com >
Reviewed-by: Thomas Huth <thuth@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:08 -05:00
Paolo Bonzini
86378b29fa
i386: do not use ram_size global
...
Use the loader parameters instead.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:08 -05:00
Paolo Bonzini
bfdf22bc76
hppa: do not use ram_size global
...
Use the machine properties instead.
Cc: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:07 -05:00
Paolo Bonzini
58a70f169e
cris: do not use ram_size global
...
Use the machine properties instead.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:07 -05:00
Paolo Bonzini
6e504a989d
arm: do not use ram_size global
...
Use the machine properties instead.
Cc: qemu-ppc@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:07 -05:00
Paolo Bonzini
d619f157a5
vl: remove bios_name
...
bios_name was a legacy variable used by machine code, but it is
no more.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Reviewed-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20201026143028.3034018-16-pbonzini@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:07 -05:00
Paolo Bonzini
43e61243cd
digic: remove bios_name
...
Pull defaults to digic4_board_init so that a MachineState is available.
Cc: Peter Maydell <peter.maydell@linaro.org >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:07 -05:00
Paolo Bonzini
377ce9cb0f
sparc: remove bios_name
...
Cc: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Reviewed-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Message-Id: <20201026143028.3034018-15-pbonzini@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:06 -05:00
Paolo Bonzini
2893cad6b9
sh4: remove bios_name
...
Cc: Yoshinori Sato <ysato@users.sourceforge.jp >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Reviewed-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Message-Id: <20201026143028.3034018-14-pbonzini@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:06 -05:00
Paolo Bonzini
f03443954b
s390: remove bios_name
...
Cc: Thomas Huth <thuth@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Reviewed-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Thomas Huth <thuth@redhat.com >
Message-Id: <20201026143028.3034018-13-pbonzini@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:06 -05:00
Paolo Bonzini
ac6dd9b9f3
rx: move BIOS load from MCU to board
...
The ROM loader state is global and not part of the MCU, and the
BIOS is in machine->firmware. So just like the kernel case,
load it in the board.
Due to the ordering between CPU reset and ROM reset, the ROM
has to be registered before the CPU is realized, otherwise
the reset vector is loaded before the ROM is there.
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com >
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:06 -05:00
Paolo Bonzini
cd7b94989a
ppc: remove bios_name
...
Cc: David Gibson <david@gibson.dropbear.id.au >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Acked-by: David Gibson <david@gibson.dropbear.id.au >
Reviewed-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20201026143028.3034018-11-pbonzini@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:06 -05:00
Paolo Bonzini
b029702bac
moxie: remove bios_name
...
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Reviewed-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20201026143028.3034018-10-pbonzini@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:05 -05:00
Paolo Bonzini
59588bea5e
mips: remove bios_name
...
Cc: Philippe Mathieu-Daudé <philmd@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Reviewed-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20201026143028.3034018-9-pbonzini@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:05 -05:00
Paolo Bonzini
1684273ca8
m68k: remove bios_name
...
Cc: Laurent Vivier <lvivier@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Acked-by: Laurent Vivier <laurent@vivier.eu >
Reviewed-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Reviewed-by: Thomas Huth <thuth@redhat.com >
Message-Id: <20201026143028.3034018-8-pbonzini@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:05 -05:00
Paolo Bonzini
a408b81b2c
lm32: remove bios_name
...
Cc: Michael Walle <michael@walle.cc >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Reviewed-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20201026143028.3034018-7-pbonzini@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:05 -05:00
Paolo Bonzini
7d435078af
i386: remove bios_name
...
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Reviewed-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20201026143028.3034018-6-pbonzini@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:05 -05:00
Paolo Bonzini
b57e3e9785
hppa: remove bios_name
...
Cc: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Reviewed-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Message-Id: <20201026143028.3034018-5-pbonzini@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:05 -05:00
Paolo Bonzini
0ad3b5d3ee
arm: remove bios_name
...
Get the firmware name from the MachineState object.
Cc: Peter Maydell <peter.maydell@linaro.org >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Reviewed-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20201026143028.3034018-4-pbonzini@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:04 -05:00
Paolo Bonzini
2c4a83eb82
alpha: remove bios_name
...
Cc: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Reviewed-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Message-Id: <20201026143028.3034018-2-pbonzini@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:04 -05:00
Philippe Mathieu-Daudé
357088b1ed
hw/net/xilinx_axienet: Rename StreamSlave as StreamSink
...
In order to use inclusive terminology, rename 'slave stream'
as 'sink stream'.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com >
Acked-by: Paolo Bonzini <pbonzini@redhat.com >
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com >
Message-Id: <20200910070131.435543-5-philmd@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:04 -05:00
Philippe Mathieu-Daudé
484f86de7e
hw/dma/xilinx_axidma: Rename StreamSlave as StreamSink
...
In order to use inclusive terminology, rename 'slave stream'
as 'sink stream'.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com >
Acked-by: Paolo Bonzini <pbonzini@redhat.com >
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com >
Message-Id: <20200910070131.435543-4-philmd@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:04 -05:00
Philippe Mathieu-Daudé
cfbef3f4eb
hw/core/stream: Rename StreamSlave as StreamSink
...
In order to use inclusive terminology, rename 'slave stream'
as 'sink stream'.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com >
Acked-by: Paolo Bonzini <pbonzini@redhat.com >
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com >
Message-Id: <20200910070131.435543-3-philmd@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:04 -05:00
Philippe Mathieu-Daudé
ec7e429bd2
hw/ssi: Rename SSI 'slave' as 'peripheral'
...
In order to use inclusive terminology, rename SSI 'slave' as
'peripheral', following the specification resolution:
https://www.oshwa.org/a-resolution-to-redefine-spi-signal-names/
Patch created mechanically using:
$ sed -i s/SSISlave/SSIPeripheral/ $(git grep -l SSISlave)
$ sed -i s/SSI_SLAVE/SSI_PERIPHERAL/ $(git grep -l SSI_SLAVE)
$ sed -i s/ssi-slave/ssi-peripheral/ $(git grep -l ssi-slave)
$ sed -i s/ssi_slave/ssi_peripheral/ $(git grep -l ssi_slave)
$ sed -i s/ssi_create_slave/ssi_create_peripheral/ \
$(git grep -l ssi_create_slave)
Then in VMStateDescription vmstate_ssi_peripheral we restored
the "SSISlave" migration stream name (to avoid breaking migration).
Finally the following files have been manually tweaked:
- hw/ssi/pl022.c
- hw/ssi/xilinx_spips.c
Suggested-by: Paolo Bonzini <pbonzini@redhat.com >
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Message-Id: <20201012124955.3409127-4-f4bug@amsat.org >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:03 -05:00
Philippe Mathieu-Daudé
9ce89a22ae
hw/ssi: Update coding style to make checkpatch.pl happy
...
To make the next commit easier to review, clean this code first.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Message-Id: <20201012124955.3409127-3-f4bug@amsat.org >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:03 -05:00
Philippe Mathieu-Daudé
5ade579ba9
hw/ssi/aspeed_smc: Rename 'max_slaves' variable as 'max_peripherals'
...
In order to use inclusive terminology, rename max_slaves
as max_peripherals.
Patch generated using:
$ sed -i s/slave/peripheral/ \
hw/ssi/aspeed_smc.c include/hw/ssi/aspeed_smc.h
One line in aspeed_smc_read() has been manually tweaked
to pass checkpatch.
Reviewed-by: Thomas Huth <thuth@redhat.com >
Reviewed-by: Cédric Le Goater <clg@kaod.org >
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com >
Message-Id: <20201012124955.3409127-2-f4bug@amsat.org >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:03 -05:00
Philippe Mathieu-Daudé
00b46eccff
pci: Let pci_dma_write() propagate MemTxResult
...
pci_dma_rw() returns a MemTxResult type.
Do not discard it, return it to the caller.
Reviewed-by: Li Qiang <liq3ea@gmail.com >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com >
Message-Id: <20201023151923.3243652-11-philmd@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:02 -05:00
Philippe Mathieu-Daudé
c27f498237
pci: Let pci_dma_read() propagate MemTxResult
...
pci_dma_rw() returns a MemTxResult type.
Do not discard it, return it to the caller.
Reviewed-by: Li Qiang <liq3ea@gmail.com >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com >
Message-Id: <20201023151923.3243652-10-philmd@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:02 -05:00
Philippe Mathieu-Daudé
b73299d04d
pci: Let pci_dma_rw() propagate MemTxResult
...
dma_memory_rw() returns a MemTxResult type.
Do not discard it, return it to the caller.
Reviewed-by: Li Qiang <liq3ea@gmail.com >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com >
Message-Id: <20201023151923.3243652-9-philmd@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:02 -05:00
Philippe Mathieu-Daudé
77c71d1d74
dma: Let dma_memory_write() propagate MemTxResult
...
dma_memory_rw_relaxed() returns a MemTxResult type.
Do not discard it, return it to the caller.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Reviewed-by: Li Qiang <liq3ea@gmail.com >
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com >
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com >
Message-Id: <20201023151923.3243652-8-philmd@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:02 -05:00
Philippe Mathieu-Daudé
b1f51303af
dma: Let dma_memory_read() propagate MemTxResult
...
dma_memory_rw_relaxed() returns a MemTxResult type.
Do not discard it, return it to the caller.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Reviewed-by: Li Qiang <liq3ea@gmail.com >
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com >
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com >
Message-Id: <20201023151923.3243652-7-philmd@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:02 -05:00
Philippe Mathieu-Daudé
9989bcd337
dma: Let dma_memory_rw() propagate MemTxResult
...
address_space_rw() returns a MemTxResult type.
Do not discard it, return it to the caller.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Reviewed-by: Li Qiang <liq3ea@gmail.com >
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com >
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com >
Message-Id: <20201023151923.3243652-6-philmd@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:01 -05:00
Philippe Mathieu-Daudé
bb755f5286
dma: Let dma_memory_set() propagate MemTxResult
...
address_space_write() returns a MemTxResult type.
Do not discard it, return it to the caller.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Reviewed-by: Li Qiang <liq3ea@gmail.com >
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com >
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com >
Message-Id: <20201023151923.3243652-5-philmd@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:01 -05:00
Philippe Mathieu-Daudé
9c211ad2ca
dma: Document address_space_map/address_space_unmap() prototypes
...
Add documentation based on address_space_map / address_space_unmap.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com >
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com >
Message-Id: <20201023151923.3243652-4-philmd@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:01 -05:00
Paolo Bonzini
169cbac12d
qom: eliminate identical functions
...
Most property release functions in qom/object.c only free the opaque
value. Combine all of them into a single function.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:01 -05:00
Philippe Mathieu-Daudé
a6195b5b36
docs/devel/loads-stores: Add regexp for DMA functions
...
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com >
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com >
Message-Id: <20201023151923.3243652-3-philmd@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:01 -05:00
Sunil Muthuswamy
faf20793b5
WHPX: support for the kernel-irqchip on/off
...
This patch adds support the kernel-irqchip option for
WHPX with on or off value. 'split' value is not supported
for the option. The option only works for the latest version
of Windows (ones that are coming out on Insiders). The
change maintains backward compatibility on older version of
Windows where this option is not supported.
Signed-off-by: Sunil Muthuswamy <sunilmut@microsoft.com >
Message-Id: <SN4PR2101MB0880B13258DA9251F8459F4DC0170@SN4PR2101MB0880.namprd21.prod.outlook.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:01 -05:00
Bin Meng
c2ba0515f2
target/i386: seg_helper: Correct segment selector nullification in the RET/IRET helper
...
Per the SDM, when returning to outer privilege level, for segment
registers (ES, FS, GS, and DS) if the check fails, the segment
selector becomes null, but QEMU clears the base/limit/flags as well
as nullifying the segment selector, which should be a spec violation.
Real hardware seems to be compliant with the spec, at least on one
Coffee Lake board I tested.
Signed-off-by: Bin Meng <bin.meng@windriver.com >
Message-Id: <1605261378-77971-1-git-send-email-bmeng.cn@gmail.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:15:00 -05:00
David Woodhouse
c1bb5418e3
target/i386: Support up to 32768 CPUs without IRQ remapping
...
The IOAPIC has an 'Extended Destination ID' field in its RTE, which maps
to bits 11-4 of the MSI address. Since those address bits fall within a
given 4KiB page they were historically non-trivial to use on real hardware.
The Intel IOMMU uses the lowest bit to indicate a remappable format MSI,
and then the remaining 7 bits are part of the index.
Where the remappable format bit isn't set, we can actually use the other
seven to allow external (IOAPIC and MSI) interrupts to reach up to 32768
CPUs instead of just the 255 permitted on bare metal.
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk >
Message-Id: <78097f9218300e63e751e077a0a5ca029b56ba46.camel@infradead.org >
[Fix UBSAN warning. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Signed-off-by: David Woodhouse <dwmw2@infradead.org >
2020-12-10 12:15:00 -05:00
Paolo Bonzini
75b208c283
target/i386: fix operand order for PDEP and PEXT
...
For PDEP and PEXT, the mask is provided in the memory (mod+r/m)
operand, and therefore is loaded in s->T0 by gen_ldst_modrm.
The source is provided in the second source operand (VEX.vvvv)
and therefore is loaded in s->T1. Fix the order in which
they are passed to the helpers.
Reported-by: Lenard Szolnoki <blog@lenardszolnoki.com >
Analyzed-by: Lenard Szolnoki <blog@lenardszolnoki.com >
Fixes: https://bugs.launchpad.net/qemu/+bug/1605123
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2020-12-10 12:14:49 -05:00
Peter Maydell
2ecfc0657a
Merge remote-tracking branch 'remotes/armbru/tags/pull-misc-2020-12-10' into staging
...
Miscellaneous patches for 2020-12-10
# gpg: Signature made Thu 10 Dec 2020 16:17:43 GMT
# gpg: using RSA key 354BC8B3D7EB2A6B68674E5F3870B400EB918653
# gpg: issuer "armbru@redhat.com "
# gpg: Good signature from "Markus Armbruster <armbru@redhat.com >" [full]
# gpg: aka "Markus Armbruster <armbru@pond.sub.org >" [full]
# Primary key fingerprint: 354B C8B3 D7EB 2A6B 6867 4E5F 3870 B400 EB91 8653
* remotes/armbru/tags/pull-misc-2020-12-10:
docs/devel/writing-qmp-commands.txt: Fix docs
qapi: Normalize version references x.y.0 to just x.y
Tweak a few "Parameter 'NAME' expects THING" error message
qom: Improve {qom,device}-list-properties error messages
qga: Tweak a guest-shutdown error message
qga: Replace an unreachable error by abort()
ui: Tweak a client_migrate_info error message
ui: Improve a client_migrate_info error message
ui: Improve some set_passwd, expire_password error messages
block: Improve some block-commit, block-stream error messages
qerror: Eliminate QERR_ macros used in just one place
qerror: Drop unused QERR_ macros
Clean up includes
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2020-12-10 17:01:05 +00:00
Zihao Chang
4eb79bdf87
docs/devel/writing-qmp-commands.txt: Fix docs
...
Fix the example of add qmp hello-world example.
Without ":", make will report error:
../qapi/misc.json:573:2: line should end with ':'
Signed-off-by: Zihao Chang <changzihao1@huawei.com >
Message-Id: <20201201143308.1626-1-changzihao1@huawei.com >
Reviewed-by: Eric Blake <eblake@redhat.com >
Signed-off-by: Markus Armbruster <armbru@redhat.com >
2020-12-10 17:16:44 +01:00
Markus Armbruster
9bc6e893b7
qapi: Normalize version references x.y.0 to just x.y
...
We use x.y most of the time, and x.y.0 sometimes. Normalize for
consistency.
Reported-by: Eduardo Habkost <ehabkost@redhat.com >
Signed-off-by: Markus Armbruster <armbru@redhat.com >
Message-Id: <20201118064158.3359056-1-armbru@redhat.com >
Reviewed-by: Eric Blake <eblake@redhat.com >
2020-12-10 17:16:44 +01:00
Markus Armbruster
6cc0667d9b
Tweak a few "Parameter 'NAME' expects THING" error message
...
Change to "expects a THING" where that's an obvious improvement
Signed-off-by: Markus Armbruster <armbru@redhat.com >
Message-Id: <20201113082626.2725812-11-armbru@redhat.com >
2020-12-10 17:16:44 +01:00