Since qemu currently doesn't flush persistent bitmaps to disk until
shutdown (which might be MUCH later), it's useful if 'query-block'
at least shows WHICH bitmaps will (eventually) make it to persistent
storage. Update affected iotests.
Signed-off-by: Eric Blake
Reviewed-by: Vladimir Sementsov-
Patchew URL: https://patchew.org/QEMU/20190204204517.23698-1-phi...@redhat.com/
Hi,
This series failed the docker-mingw@fedora build test. Please find the testing
commands and
their output below. If you have Docker installed, you can probably reproduce it
locally.
=== TEST SCRIPT BEGIN ===
#!
When building with TSC_VERBOSE not defined, we get:
CC arm-softmmu/hw/input/tsc210x.o
hw/input/tsc210x.c: In function ‘tsc2102_data_register_write’:
hw/input/tsc210x.c:554:5: error: label at end of compound statement
default:
^~~
hw/input/tsc210x.c: In f
The Jazz use the RC4030 Asic to provide an EISA bus and DMA/IRQ. The
framebuffer display is managed by a G364, the network card is a Sonic
DP83932. A QLogic ESP216 provides a SCSI bus.
Signed-off-by: Philippe Mathieu-Daudé
---
default-configs/mips-softmmu-common.mak | 1 -
default-configs/mips6
Ease the kconfig selection by introducing CONFIG_PCI_BONITO to select
the Bonito North Bridge.
Signed-off-by: Philippe Mathieu-Daudé
---
default-configs/mips64el-softmmu.mak | 1 +
hw/pci-host/Kconfig | 4
hw/pci-host/Makefile.objs| 2 +-
3 files changed, 6 inse
This platform use standard PC devices connected to an ISA bus.
Networking is provided by a ne2000 chipset.
Signed-off-by: Philippe Mathieu-Daudé
---
hw/mips/Kconfig | 10 ++
1 file changed, 10 insertions(+)
diff --git a/hw/mips/Kconfig b/hw/mips/Kconfig
index ab006477c7..ee6290d497 1006
The Loongson 2E uses a Bonito64 system controller as North Bridge and a
VT82C686 chipset as South Bridge. The network card chipset is a RTL8139D.
Signed-off-by: Philippe Mathieu-Daudé
---
default-configs/mips64el-softmmu.mak | 3 ---
hw/isa/Kconfig | 13 +
hw/m
Boston is built around a Xilinx FPGA, which includes a PCIe root port
and an UART. An Intel EG20T PCH connects the I/O peripherals, but only
the SATA bus is emulated.
Signed-off-by: Philippe Mathieu-Daudé
---
default-configs/mips64el-softmmu.mak | 4
hw/mips/Kconfig | 5
Express the MIPS machine dependencies with Kconfig.
Due to the complexity of the PIIX codebase being shared with
the X86 machines, the Malta board fill follow in a different
series (after some refactor cleanup).
v2:
- Do not remove machines from the default config (Thomas)
- Corrected comment abo
The MIPSsim machine only emulates an 8250 UART and a simple network
controller, connected via an ISA bus.
Signed-off-by: Philippe Mathieu-Daudé
---
default-configs/mips-softmmu-common.mak | 1 -
hw/mips/Kconfig | 3 +++
2 files changed, 3 insertions(+), 1 deletion(-)
dif
On 1/30/19 10:57 AM, David Hildenbrand wrote:
We decided to always create the PCI host bridge, even if 'zpci' is not
enabled (due to migration compatibility). This however right now allows
to add zPCI/PCI devices to a VM although the guest will never actually see
them, confusing people that are u
Hi Thomas,
On 2/4/19 9:46 AM, Thomas Huth wrote:
> On 2019-02-03 23:07, Philippe Mathieu-Daudé wrote:
>> The Loongson 2E uses a Bonito64 system controller as North Bridge and a
>> VT82C686 chipset as South Bridge. The network card chipset is a RTL8139D.
>>
>> Signed-off-by: Philippe Mathieu-Daudé
On 2/4/19 11:09 AM, Eric Blake wrote:
> Since qemu currently doesn't flush persistent bitmaps to disk until
> shutdown (which might be MUCH later), it's useful if 'query-block'
> at least shows WHICH bitmaps will (eventually) make it to persistent
> storage.
>
> Signed-off-by: Eric Blake
> ---
On 02/04/2019 06:13 AM, Cornelia Huck wrote:
On Thu, 31 Jan 2019 12:31:00 -0500
Farhan Ali wrote:
On 01/29/2019 08:29 AM, Jason J. Herne wrote:
Add struct for format-0 ccws. Support executing format-0 channel
programs and waiting for their completion before continuing execution.
This will
Hi Paolo,
On 2/4/19 7:35 PM, Paolo Bonzini wrote:
> Do not link it unconditionally into all binaries.
>
> Signed-off-by: Paolo Bonzini
> Signed-off-by: Yang Zhong
> Reviewed-by: Thomas Huth
> Message-Id: <20190202072456.6468-6-yang.zh...@intel.com>
> Signed-off-by: Paolo Bonzini
I did review
On 01/30/2019 08:22 AM, Cornelia Huck wrote:
When we get a solicited interrupt, the start function may have
been cleared by a csch, but we still have a channel program
structure allocated. Make it safe to call the cp accessors in
any case, so we can call them unconditionally.
While at it, als
On 2/4/19 11:09 AM, Eric Blake wrote:
> Since qemu currently doesn't flush persistent bitmaps to disk until
> shutdown (which might be MUCH later), it's useful if 'query-block'
> at least shows WHICH bitmaps will (eventually) make it to persistent
> storage.
>
> Signed-off-by: Eric Blake
Agre
Hi Michael,
On 2/4/19 8:32 PM, Michael S. Tsirkin wrote:
> On Mon, Feb 04, 2019 at 07:41:38PM +0100, Laszlo Ersek wrote:
>> On 02/04/19 18:47, Michael S. Tsirkin wrote:
>>> On Mon, Feb 04, 2019 at 05:03:24PM +0100, Laszlo Ersek wrote:
Introduce the following build scripts under "tests/uefi-t
)
are available in the git repository at:
git://github.com/OSLL/qemu-xtensa.git tags/20190204-xtensa
for you to fetch changes up to 174e09b73ab1c47408dd29fb36c4dd9fbda54f97:
hw/xtensa: xtfpga: raise CPU number limit (2019-01-28 11:5
On 2/4/19 10:00 AM, Eric Blake wrote:
> On 2/1/19 7:10 PM, John Snow wrote:
>> The meaning of the states has changed subtly over time,
>> this should bring the understanding more in-line with the
>> current, actual usages.
>>
>> Reported-by: Eric Blake
>> Signed-off-by: John Snow
>>
>> ---
>>
On Mon, Feb 04, 2019 at 07:41:38PM +0100, Laszlo Ersek wrote:
> On 02/04/19 18:47, Michael S. Tsirkin wrote:
> > On Mon, Feb 04, 2019 at 05:03:24PM +0100, Laszlo Ersek wrote:
> >> Introduce the following build scripts under "tests/uefi-test-tools":
> >>
> >> * "build.sh" builds a single module (a U
From: Ákos Kovács
CONFIG_LEON3 added to default-configs/sparc-softmmu.mak.
Signed-off-by: Ákos Kovács
Signed-off-by: Paolo Bonzini
Reviewed-by: Thomas Huth
Message-Id: <20190202072456.6468-15-yang.zh...@intel.com>
Signed-off-by: Paolo Bonzini
---
default-configs/sparc-softmmu.mak | 2 ++
hw
On Mon, Feb 04, 2019 at 05:59:16PM +, Peter Maydell wrote:
> On Mon, 4 Feb 2019 at 14:43, Michael S. Tsirkin wrote:
> >
> > The following changes since commit b3fc0af1ff5e922d4dd7c875394dbd26dc7313b4:
> >
> > Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into
> > staging (2
From: Yang Zhong
Add the new configs to default-configs/cris-sofmmu.mak.
Signed-off-by: Yang Zhong
Signed-off-by: Paolo Bonzini
Reviewed-by: Thomas Huth
Message-Id: <20190202072456.6468-22-yang.zh...@intel.com>
Signed-off-by: Paolo Bonzini
---
default-configs/cris-softmmu.mak | 1 +
hw/cris
From: Heiher
The machine that with hvf accelerator and smp sometimes boot hangs
because all processors are executing instructions at startup,
including early I/O emulations. We should just allow the bootstrap
processor to initialize the machine and then to wake up slave
processors by interrupt.
The iteration was stopping as soon as prev_var was set to NULL, and
therefore it skipped the first element. Fortunately, or unfortunately,
we have only one use of QTAILQ_FOREACH_REVERSE_SAFE. Thus this only
showed up as incorrect register preferences on the very first translation
block that was c
Hello,
On Tue, Dec 11, 2018 at 4:25 PM Aaron Lindsay
wrote:
>
> Add arrays to hold the registers, the definitions themselves, access
> functions, and logic to reset counters when PMCR.P is set. Update
> filtering code to support counters other than PMCCNTR. Support migration
> with raw read/write
Make hw/s390x configurable and add new CONFIG_* to the
default-configs/s390x*-softmmu.mak. This will be used to
enable/disable vfio-ccw.
Signed-off-by: Paolo Bonzini
Reviewed-by: Thomas Huth
Message-Id: <20190202072456.6468-14-yang.zh...@intel.com>
Signed-off-by: Paolo Bonzini
---
default-conf
On 04/02/19 16:45, Anthony PERARD wrote:
> I've tested the series, and here is the first issue:
> CC hw/9pfs/xen-9p-backend.o
> LINKi386-softmmu/qemu-system-i386
> /usr/bin/ld: ../hw/xen/xen-legacy-backend.o: in function
> `xen_be_register_common':
> xen-legacy-backend.c:(.text+0x1cb6
From: Yang Zhong
Add the new configs to default-configs/riscv*-sofmmu.mak.
Signed-off-by: Yang Zhong
Signed-off-by: Paolo Bonzini
Reviewed-by: Alistair Francis
Reviewed-by: Thomas Huth
Message-Id: <20190202072456.6468-19-yang.zh...@intel.com>
Signed-off-by: Paolo Bonzini
---
default-config
From: Yang Zhong
CONFIG_MOXIE added for moxiesim board.
Signed-off-by: Yang Zhong
Signed-off-by: Paolo Bonzini
Reviewed-by: Thomas Huth
Message-Id: <20190202072456.6468-24-yang.zh...@intel.com>
Signed-off-by: Paolo Bonzini
---
default-configs/moxie-softmmu.mak | 1 +
hw/moxie/Makefile.objs
From: Ákos Kovács
Add the new CONFIG_* values to default-config/xtensa*-softmmu.mak.
Signed-off-by: Ákos Kovács
Signed-off-by: Paolo Bonzini
Reviewed-by: Thomas Huth
Acked-by: Max Filippov
Message-Id: <20190202072456.6468-17-yang.zh...@intel.com>
Signed-off-by: Paolo Bonzini
---
default-co
On 02/04/19 18:47, Michael S. Tsirkin wrote:
> On Mon, Feb 04, 2019 at 05:03:24PM +0100, Laszlo Ersek wrote:
>> Introduce the following build scripts under "tests/uefi-test-tools":
>>
>> * "build.sh" builds a single module (a UEFI application) from
>> UefiTestToolsPkg, for a single QEMU emulation
From: Ákos Kovács
Make hw/sh4 configurable and add new CONFIG_* to the
default-configs/sh4*-softmmu.mak.
Signed-off-by: Ákos Kovács
Signed-off-by: Paolo Bonzini
Reviewed-by: Thomas Huth
Message-Id: <20190202072456.6468-13-yang.zh...@intel.com>
Signed-off-by: Paolo Bonzini
---
default-config
From: Yang Zhong
Add the new configs to default-configs/alpha-sofmmu.mak.
Signed-off-by: Yang Zhong
Signed-off-by: Paolo Bonzini
Reviewed-by: Thomas Huth
Reviewed-by: Richard Henderson
Message-Id: <20190202072456.6468-21-yang.zh...@intel.com>
Signed-off-by: Paolo Bonzini
---
default-config
From: David Hildenbrand
Let's avoid manually looking up the hotplug handler class. Use the
existing wrappers instead.
Signed-off-by: David Hildenbrand
Message-Id: <20181212095707.19358-1-da...@redhat.com>
Signed-off-by: Paolo Bonzini
---
hw/i386/pc.c | 30 --
1 fil
Create separate variables for these components, they are
used in many boards but not all. This allows finer-grain
selection of the included code with default-configs/*.mak.
Signed-off-by: Paolo Bonzini
Reviewed-by: Thomas Huth
Message-Id: <20190202072456.6468-27-yang.zh...@intel.com>
Signed-off
From: Ákos Kovács
CONFIG_AN5206, CONFIG_MCF5206 and CONFIG_MCF5208 make
variables created for m68k boards, and added to
default-configs/m86k-softmmu.mak.
Signed-off-by: Ákos Kovács
Signed-off-by: Paolo Bonzini
Reviewed-by: Thomas Huth
Message-Id: <20190202072456.6468-9-yang.zh...@intel.com>
S
Make hw/vfio configurable and add new CONFIG_VFIO_* to the
default-configs/s390x*-softmmu.mak. This allow a finer-grain
selection of the various VFIO backends.
Signed-off-by: Paolo Bonzini
Reviewed-by: Thomas Huth
Message-Id: <20190202072456.6468-28-yang.zh...@intel.com>
Signed-off-by: Paolo Bo
From: Ákos Kovács
Add the new configs to default-configs/mips*-sofmmu.mak.
Signed-off-by: Ákos Kovács
Signed-off-by: Paolo Bonzini
Signed-off-by: Yang Zhong
Reviewed-by: Thomas Huth
Message-Id: <20190202072456.6468-11-yang.zh...@intel.com>
Signed-off-by: Paolo Bonzini
---
default-configs/m
From: Ákos Kovács
CONFIG_PETALOGIX_* and CONFIG_XLNX_* configs added to
default-configs/microblaze-softmmu.mak and
default-configs/microblazeel-softmmu.mak.
Signed-off-by: Ákos Kovács
Signed-off-by: Paolo Bonzini
Reviewed-by: Thomas Huth
Message-Id: <20190202072456.6468-10-yang.zh...@intel.c
From: Yang Zhong
Add the new configs to default-configs/sparc64-sofmmu.mak.
Signed-off-by: Yang Zhong
Signed-off-by: Paolo Bonzini
Reviewed-by: Thomas Huth
Message-Id: <20190202072456.6468-20-yang.zh...@intel.com>
Signed-off-by: Paolo Bonzini
---
default-configs/sparc64-softmmu.mak | 2 ++
From: Yang Zhong
Add the new configs to default-configs/or1k-sofmmu.mak.
Signed-off-by: Yang Zhong
Signed-off-by: Paolo Bonzini
Reviewed-by: Thomas Huth
Message-Id: <20190202072456.6468-25-yang.zh...@intel.com>
Signed-off-by: Paolo Bonzini
---
default-configs/or1k-softmmu.mak | 1 +
hw/open
It's been deprecated since QEMU 3.0, and nobody complained so far, so
it is time to remove this option now.
Signed-off-by: Thomas Huth
Message-Id: <1544684731-18828-1-git-send-email-th...@redhat.com>
Signed-off-by: Paolo Bonzini
---
docs/qdev-device-use.txt | 4
include/hw/boards.h |
From: Ákos Kovács
CONFIG_PPC405, CONFIG_PPC440, CONFIG_MAC_OLDWORLD, CONFIG_MAX_NEWWORLD
and CONFIG_VIRTEX configuration options created for
default-configs/ppc*-softmmu.mak.
Signed-off-by: Ákos Kovács
Signed-off-by: Paolo Bonzini
Signed-off-by: Yang Zhong
Reviewed-by: Thomas Huth
Message-Id
From: Ákos Kovács
CONFIG_LM32 and CONFIG_MILKYMIST added for lm32 and milkmyst build.
Signed-off-by: Ákos Kovács
Signed-off-by: Paolo Bonzini
Reviewed-by: Thomas Huth
Message-Id: <20190202072456.6468-16-yang.zh...@intel.com>
Signed-off-by: Paolo Bonzini
---
hw/lm32/Makefile.objs | 4 ++--
1
Instead of wrapping the entire Makefile.objs with an ifeq/endif, just
include the directory only for Linux.
Signed-off-by: Paolo Bonzini
Reviewed-by: Thomas Huth
Message-Id: <20190202072456.6468-4-yang.zh...@intel.com>
Signed-off-by: Paolo Bonzini
---
hw/Makefile.objs | 2 +-
hw/vfio/Make
From: Yang Zhong
Make ARM virt code configurable and the new CONFIG_ARM_VIRT
definitions added to the default-configs/arm-softmmu.mak.
Signed-off-by: Yang Zhong
Signed-off-by: Paolo Bonzini
Reviewed-by: Richard Henderson
Reviewed-by: Thomas Huth
Message-Id: <20190202072456.6468-8-yang.zh...@
From: Yang Zhong
CONFIG_NIOS2_10M50 added for 10m50 dev board.
Signed-off-by: Yang Zhong
Signed-off-by: Paolo Bonzini
Reviewed-by: Thomas Huth
Message-Id: <20190202072456.6468-18-yang.zh...@intel.com>
Signed-off-by: Paolo Bonzini
---
default-configs/nios2-softmmu.mak | 1 +
hw/nios2/Makefil
From: Thomas Huth
Our command line interface is really quite overcrowded, we should avoid
duplicated options that do the same thing in just a slightly different
way. "-accel hax" is shorter and more generic that "-enable-hax", so
there is really no real usage for the latter option. "-enable-hax"
Do not link it unconditionally into all binaries.
Signed-off-by: Paolo Bonzini
Signed-off-by: Yang Zhong
Reviewed-by: Thomas Huth
Message-Id: <20190202072456.6468-6-yang.zh...@intel.com>
Signed-off-by: Paolo Bonzini
---
default-configs/i386-softmmu.mak | 1 +
hw/pci-host/Makefile.objs
From: Yang Zhong
Add the new configs to default-configs/hppa-sofmmu.mak.
Signed-off-by: Yang Zhong
Signed-off-by: Paolo Bonzini
Reviewed-by: Richard Henderson
Message-Id: <20190202072456.6468-23-yang.zh...@intel.com>
Signed-off-by: Paolo Bonzini
---
default-configs/hppa-softmmu.mak | 1 +
h
The Xen repository is failing to install, pick the right name for the release
package.
Signed-off-by: Paolo Bonzini
---
tests/docker/dockerfiles/centos7.docker | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/docker/dockerfiles/centos7.docker
b/tests/docker/docker
Suggested-by: Daniel P. Berrange
Signed-off-by: Paolo Bonzini
---
ui/vnc-enc-hextile-template.h | 268 ++--
ui/vnc-enc-zywrle.h | 394 +-
2 files changed, 331 insertions(+), 331 deletions(-)
diff --git a/ui/vnc-enc-hextil
This is not needed on ARM, and brings in ISA bus code which is otherwise not
necessary.
Signed-off-by: Paolo Bonzini
Reviewed-by: Thomas Huth
Message-Id: <20190202072456.6468-3-yang.zh...@intel.com>
Signed-off-by: Paolo Bonzini
---
hw/ide/Makefile.objs | 4 ++--
hw/ide/core.c| 25
From: Li Zhijian
Since linux commit: cf8fa920cb42 ("i386: handle an initrd in highmem (version
2)")
linux has supported initrd up to 4 GB, but the header field
ramdisk_max is still set to 2 GB to avoid "possible bootloader bugs".
When use '-kernel vmlinux -initrd initrd.cgz' to launch a VM,
the
From: Liam Merwick
This patch adds an optional function pointer, 'elf_note_fn', to
load_elf() which causes load_elf() to additionally parse any
ELF program headers of type PT_NOTE and check to see if the ELF
Note is of the type specified by the 'translate_opaque' arg.
If a matching ELF Note is fo
From: Yang Zhong
Change the CONFIGs for PCI EXPRESS and make module name more
clear for code files.
Signed-off-by: Yang Zhong
Cc: Michael S. Tsirkin
Signed-off-by: Paolo Bonzini
Reviewed-by: Thomas Huth
Message-Id: <20190202072456.6468-5-yang.zh...@intel.com>
Signed-off-by: Paolo Bonzini
--
From: Laurent Vivier
Signed-off-by: Laurent Vivier
Reviewed-by: Philippe Mathieu-Daudé
Tested-by: Philippe Mathieu-Daudé
Message-Id: <20181211163105.31834-2-lviv...@redhat.com>
Signed-off-by: Paolo Bonzini
---
hw/scsi/scsi-disk.c | 103 +--
hw
From: Li Zhijian
Some address/memory APIs have different type between
'hwaddr/target_ulong addr' and 'int len'. It is very unsafe, especially
some APIs will be passed a non-int len by caller which might cause
overflow quietly.
Below is an potential overflow case:
dma_memory_read(uint32_t len)
From: Viktor Prutyanov
After this patch contrib/elf2dmp can be built for Windows x86 and x86_64
hosts by mingw.
Signed-off-by: Viktor Prutyanov
Message-Id: <20181220012441.13694-7-viktor.prutya...@phystech.edu>
Signed-off-by: Paolo Bonzini
---
Makefile | 4 ++--
configure | 4 ++--
2 files c
From: Doug Gale
The machine description we send is being (silently) thrown on the floor
by GDB and GDB silently uses the default machine description, because
the xml parse fails on nested within .
Changes to the xml in qemu source code have no effect.
In addition, the default machine descriptio
From: Yang Zhong
Add the new configs to default-configs/tricore-sofmmu.mak.
Signed-off-by: Yang Zhong
Signed-off-by: Paolo Bonzini
Reviewed-by: Thomas Huth
Message-Id: <20190202072456.6468-26-yang.zh...@intel.com>
Signed-off-by: Paolo Bonzini
---
default-configs/tricore-softmmu.mak | 1 +
h
From: Viktor Prutyanov
Remove duplicate structures definitions in case of build for Windows hosts.
Signed-off-by: Viktor Prutyanov
Message-Id: <20181220012441.13694-5-viktor.prutya...@phystech.edu>
Signed-off-by: Paolo Bonzini
---
contrib/elf2dmp/kdbg.h | 12
contrib/elf2dmp/pdb.
From: Li Zhijian
it's from v4.20-rc5.
CC: Stefano Garzarella
CC: Michael S. Tsirkin
Signed-off-by: Li Zhijian
Reviewed-by: Michael S. Tsirkin
Reviewed-by: Stefano Garzarella
Signed-off-by: Paolo Bonzini
---
hw/i386/pc.c | 8 +--
include/standard-header
CONFIG_PIIX and CONFIG_Q35 created for the pc board object files. These
are enabled automatically at default-configs/i386-softmmu.mak and
default-configs/x86_64-softmmu.mak
Signed-off-by: Ákos Kovács
Signed-off-by: Paolo Bonzini
Reviewed-by: Thomas Huth
Message-Id: <20190202072456.6468-7-yang.z
Whenever the allocation length of a SCSI request is shorter than the size of the
VPD page list, page_idx is used blindly to index into r->buf. Even though
the stores in the insertion sort are protected against overflows, the same is
not
true of the reads and the final store of 0xb0.
This basical
From: Robert Hoo
This reverts commit 5131dc433df54b37e8e918d8fba7fe10344e7a7b.
For new instruction 'PCONFIG' will not be exposed to guest.
Signed-off-by: Robert Hoo
Message-Id: <1545227081-213696-3-git-send-email-robert...@linux.intel.com>
Signed-off-by: Paolo Bonzini
---
target/i386/cpu.c |
From: Stefano Garzarella
In order to allow other option roms to use these common
useful functions and definitions, this patch put them
in two new C header files called optrom.h and
optrom_fw_cfg.h. We also add useful out*() in*()
functions for different size, and new fw_cfg functions
to use when
ARM should not have an ISA bus, this device should not be enabled.
Kconfig allows to clean up the dependencies and remove CONFIG_ISA_BUS=y
from ARM, and then catches a contradiction between the hardcoded
CONFIG_SERIAL_ISA=y and CONFIG_ISA_BUS=n.
Signed-off-by: Paolo Bonzini
Reviewed-by: Thomas Hu
From: Roman Bolshakov
In 16-bit addressing mode, when Mod = 0 and R/M = 6, decoded displacement
doesn't reach decode_linear_addr and gets lost. Instructions that
involve the combination of ModRM always get a pointer with zero offset
from the beginning of DS segment.
The change fixes drawing in F
The virt machine cannot run the vhost-user qtests because they hardcode
the presence of memory at address 0. Report the tests as a skip so that
they can be converted to use qgraph.
Reviewed-by: Marc-André Lureau
Signed-off-by: Paolo Bonzini
Message-Id: <1543851204-41186-11-git-send-email-pbonz.
MPX support is being phased out by Intel and actually I am not sure that
OS X has ever enabled it in XCR0. Drop it from the Hypervisor.framework
acceleration.
Signed-off-by: Paolo Bonzini
---
target/i386/hvf/x86_cpuid.c | 18 +-
1 file changed, 1 insertion(+), 17 deletions(-)
d
Suggested-by: Daniel P. Berrange
Signed-off-by: Paolo Bonzini
---
crypto/aes.c| 414 +++
crypto/desrfb.c | 594
2 files changed, 504 insertions(+), 504 deletions(-)
diff --git a/crypto/aes.c b/crypt
monitor_qmp_requests_pop_any_with_lock cannot modify the monitor list
concurrently with monitor_cleanup, since the dispatch bottom half
runs in the main thread, but anyway it is a bit ugly to keep
"next" live across critical sections of monitor_lock and Coverity
complains (CID 1397072).
Replace QT
From: Liam Merwick
The x86/HVM direct boot ABI permits Qemu to be able to boot directly
into the uncompressed Linux kernel binary with minimal firmware involvement.
https://xenbits.xen.org/docs/unstable/misc/pvh.html
This commit adds the header file that defines the start_info struct
th
From: Stefano Garzarella
In order to avoid migration issues, we enable PVH only for
machine type >= 4.0
Suggested-by: Michael S. Tsirkin
Signed-off-by: Stefano Garzarella
Signed-off-by: Paolo Bonzini
---
hw/i386/pc.c | 4 +++-
hw/i386/pc_piix.c| 3 +++
hw/i386/pc_q35.c | 3 ++
From: Li Zhijian
Don't expect read(2) can always read as many as it's told.
CC: Richard Henderson
CC: Stefano Garzarella
Signed-off-by: Li Zhijian
Reviewed-by: Richard Henderson
Reviewed-by: Stefano Garzarella
Signed-off-by: Paolo Bonzini
---
hw/core/loader.c | 11 +--
1 file chan
From: Stefano Garzarella
If we found initrd through fw_cfg, we can load it and use the
first module of hvm_start_info to pass initrd address and size
to the kernel.
Signed-off-by: Stefano Garzarella
Reviewed-by: Stefan Hajnoczi
Reviewed-by: Liam Merwick
Based-on: <1547554687-12687-1-git-send-
From: Viktor Prutyanov
Replace POSIX mmap with GLib g_mapped_file_new in ELF processing module
to make elf2dmp cross-platform.
Signed-off-by: Viktor Prutyanov
Message-Id: <20181220012441.13694-3-viktor.prutya...@phystech.edu>
Signed-off-by: Paolo Bonzini
---
contrib/elf2dmp/qemu_elf.c | 27 ++
From: Stefano Garzarella
Use pvh.bin option rom when we are booting an uncompressed
kernel using the x86/HVM direct boot ABI.
Signed-off-by: Stefano Garzarella
Reviewed-by: Stefan Hajnoczi
Reviewed-by: Liam Merwick
Based-on: <1547554687-12687-1-git-send-email-liam.merw...@oracle.com>
Signed-o
From: Stefano Garzarella
When initrd is specified, load and expose it to the guest firmware
through fw_cfg. The firmware will fill the hvm_start_info for the
kernel.
Signed-off-by: Stefano Garzarella
Based-on: <1545422632-2-5-git-send-email-liam.merw...@oracle.com>
Signed-off-by: Liam Merwi
From: Viktor Prutyanov
Replace POSIX mmap with GLib g_mapped_file_new in PDB processing stage
to make elf2dmp cross-platform. There are no direct POSIX in elf2dmp
after this patch.
Signed-off-by: Viktor Prutyanov
Message-Id: <20181220012441.13694-4-viktor.prutya...@phystech.edu>
Signed-off-by:
From: Liam Merwick
These changes (along with corresponding Linux kernel and qboot changes)
enable a guest to be booted using the x86/HVM direct boot ABI.
This commit adds a load_elfboot() routine to pass the size and
location of the kernel entry point to qboot (which will fill in
the start_info
From: Liam Merwick
Introduce a routine which, given a pointer to a range of ELF Notes,
searches through them looking for a note matching the type specified
and returns a pointer to the matching ELF note.
get_elf_note_type() is used by elf_load[32|64]() to find the
specified note type required by
Processor tracing is not yet implemented for KVM and it will be an
opt in feature requiring a special module parameter.
Disable it, because it is wrong to enable it by default and
it is impossible that no one has ever used it.
Cc: qemu-sta...@nongnu.org
Signed-off-by: Paolo Bonzini
---
target/i3
From: Stefano Garzarella
FW_CFG_DMA_CTL_* bits and struct fw_cfg_dma_access are
defined in the qemu_fw_cfg.h header file already included
in linuxboot_dma.c, so we can remove the definition of
BIOS_CFG_DMA_CTL_* and struct FWCfgDmaAccess.
Signed-off-by: Stefano Garzarella
Reviewed-by: Stefan Ha
From: Stefano Garzarella
The new pvh.bin option rom can be used with SeaBIOS to boot
uncompressed kernel using the x86/HVM direct boot ABI.
pvh.S contains the entry point of the option rom. It runs
in real mode, loads the e820 table querying the BIOS, and
then it switches to 32bit protected mode
From: "Emilio G. Cota"
Just like we do in cpu_exec().
Reported-by: Max Filippov
Tested-by: Max Filippov
Signed-off-by: Emilio G. Cota
Reviewed-by: Richard Henderson
Signed-off-by: Paolo Bonzini
---
accel/tcg/cpu-exec.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/accel/tcg/cpu-ex
vhost-user already has a way to communicate the endianness of the guest
via the vring endianness messages. The vring endianness always matches
the vnet header endianness so there is no need to do anything else in
the backend.
Reviewed-by: Marc-André Lureau
Signed-off-by: Paolo Bonzini
Message-I
From: Robert Hoo
PCONFIG is not available to guests; it must be specifically enabled
using the PCONFIG_ENABLE execution control. Disable it, because
no one can ever use it.
Signed-off-by: Robert Hoo
Message-Id: <1545227081-213696-2-git-send-email-robert...@linux.intel.com>
Cc: qemu-sta...@nong
From: Viktor Prutyanov
Before this patch QEMU elf.h was not actually included.
Signed-off-by: Viktor Prutyanov
Message-Id: <20181220012441.13694-2-viktor.prutya...@phystech.edu>
Signed-off-by: Paolo Bonzini
---
contrib/elf2dmp/qemu_elf.h | 8
1 file changed, 4 insertions(+), 4 deleti
This makes it easier to follow what is going on.
Signed-off-by: Paolo Bonzini
---
scripts/tap-driver.pl | 1 +
scripts/tap-merge.pl | 1 +
2 files changed, 2 insertions(+)
diff --git a/scripts/tap-driver.pl b/scripts/tap-driver.pl
index 5e59b5d..6621a5c 100755
--- a/scripts/tap-driver.pl
+++ b
From: "Emilio G. Cota"
We forgot to add this check in faa9372c07 ("translate-all:
introduce assert_no_pages_locked", 2018-06-15); we only added
it after returning from a longjmp in cpu_exec_step_atomic. Fix it.
Signed-off-by: Emilio G. Cota
Reviewed-by: Richard Henderson
Signed-off-by: Paolo B
From: Thomas Huth
On Linux (and maybe some BSDs), we require libutil for the openpty()
function. However, this library is not available on some other systems, so
we currently use a fragile if-statement in the configure script to check
whether we need the library or not. Unfortunately, we also har
From: Laurent Vivier
We can have a race condition between qemu_cpu_kick_thread() and
qemu_kvm_cpu_thread_fn() when we hotunplug a CPU. In this case,
qemu_cpu_kick_thread() can try to kick a thread that is exiting.
pthread_kill() returns an error and qemu is stopped by an exit(1).
qemu:qemu_cp
g_cond_signal is rarely the right thing to do, it works now because
vhost-user-test only has two threads but it is not correct in general.
Fix it before adding more calls.
Reviewed-by: Marc-André Lureau
Signed-off-by: Paolo Bonzini
Message-Id: <1543851204-41186-7-git-send-email-pbonz...@redhat.c
This speeds up wait_for_rings_started, which currently is just waiting for
the timeout before checking s->rings.
Reviewed-by: Marc-André Lureau
Signed-off-by: Paolo Bonzini
Message-Id: <1543851204-41186-8-git-send-email-pbonz...@redhat.com>
---
tests/vhost-user-test.c | 2 ++
1 file changed, 2
The following changes since commit 773c4a6228fd910556cee2d477ee56c591a3:
test-filter-mirror: pass UNIX domain socket through fd (2019-02-04 16:03:20
+)
are available in the git repository at:
git://github.com/bonzini/qemu.git tags/for-upstream
for you to fetch changes up to 338412d
This will be useful to run the qtest for ppc64 targets on (for example)
x86_64 hosts.
Reviewed-by: Marc-André Lureau
Signed-off-by: Paolo Bonzini
Reviewed-by: Thomas Huth
Message-Id: <1543851204-41186-10-git-send-email-pbonz...@redhat.com>
---
tests/vhost-user-test.c | 8 +---
1 file chang
101 - 200 of 471 matches
Mail list logo