On 2019-01-22 at 22:53:36 -0500, Michael S. Tsirkin wrote:
> On Wed, Jan 23, 2019 at 11:10:07AM +0800, Yi Zhang wrote:
> > On 2019-01-22 at 22:01:58 -0500, Michael S. Tsirkin wrote:
> > > On Wed, Jan 23, 2019 at 10:59:27AM +0800, Zhang, Yi wrote:
> > > > From: "Zhang,Yi"
> > > >
> > > > Linux
add CONFIG_VHOST_USER and CONFIG_LINUX in Kconfig.host, the
current Makefile only support defconfig because of randconfig
does not work.
Signed-off-by: Yang Zhong
---
Kconfig.host | 6 ++
Makefile | 16
hw/block/Kconfig | 2 ++
hw/scsi/Kconfig | 2 ++
Signed-off-by: Yang Zhong
Reviewed-by: Thomas Huth
---
default-configs/i386-softmmu.mak | 1 -
default-configs/s390x-softmmu.mak | 1 -
default-configs/virtio.mak| 15 ---
hw/9pfs/Kconfig | 2 ++
hw/block/Kconfig | 2 ++
From: Paolo Bonzini
Apart from defconfig (which is a no-op), the others are implemented
implemented simply by ignoring the RHS of assignments and "default"
statements. The RHS is replaced respectively by "true", "false" or
a random value.
Signed-off-by: Paolo Bonzini
---
Makefile
%-softmmu.mak only keep boards definitions in Kconfig mode.
Signed-off-by: Yang Zhong
---
default-configs/i386-softmmu.mak | 22 --
hw/acpi/Kconfig | 5 +
hw/i386/Kconfig | 5 +
hw/ipmi/Kconfig | 8
From: Paolo Bonzini
Signed-off-by: Paolo Bonzini
Signed-off-by: Yang Zhong
---
default-configs/i386-softmmu.mak | 9 -
hw/audio/Kconfig | 2 ++
hw/block/Kconfig | 2 ++
hw/char/Kconfig | 6 ++
hw/display/Kconfig | 3
From: Paolo Bonzini
Instead of including the same list of devices for each target,
let the host controllers select CONFIG_USB and make the devices
default to present whenever USB is available.
Done with the following script:
while read i; do
i=${i%=y}; i=${i#CONFIG_}
sed -i
Signed-off-by: Yang Zhong
Reviewed-by: Thomas Huth
---
hw/display/Kconfig | 2 ++
hw/i2c/Kconfig | 1 +
2 files changed, 3 insertions(+)
diff --git a/hw/display/Kconfig b/hw/display/Kconfig
index 7a9d121772..933793cc13 100644
--- a/hw/display/Kconfig
+++ b/hw/display/Kconfig
@@ -38,6 +38,7
From: Paolo Bonzini
Signed-off-by: Paolo Bonzini
Signed-off-by: Yang Zhong
Reviewed-by: Thomas Huth
---
hw/Makefile.objs | 2 +-
hw/usb/Kconfig | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/Makefile.objs b/hw/Makefile.objs
index 39d882af6f..b95b0c74a1 100644
---
From: Paolo Bonzini
Signed-off-by: Paolo Bonzini
Signed-off-by: Yang Zhong
Acked-by: Thomas Huth
---
default-configs/i386-softmmu.mak | 1 -
hw/Makefile.objs | 2 +-
hw/audio/Kconfig | 1 +
hw/display/Kconfig | 3 +++
hw/gpio/Kconfig
Make pcie splited from pci and make it configurable.
Signed-off-by: Yang Zhong
Cc: Michael S. Tsirkin
Reviewed-by: Thomas Huth
---
default-configs/pci.mak | 1 +
hw/pci/Kconfig | 3 +++
hw/pci/Makefile.objs| 5 +++--
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git
On 2019-01-22 at 23:02:22 -0500, Michael S. Tsirkin wrote:
> On Wed, Jan 23, 2019 at 11:10:07AM +0800, Yi Zhang wrote:
> > On 2019-01-22 at 22:01:58 -0500, Michael S. Tsirkin wrote:
> > > On Wed, Jan 23, 2019 at 10:59:27AM +0800, Zhang, Yi wrote:
> > > > From: "Zhang,Yi"
> > > >
> > > > Linux
From: Paolo Bonzini
This way, the default-configs file only need to specify the boards
and any optional devices.
Signed-off-by: Paolo Bonzini
Signed-off-by: Yang Zhong
---
default-configs/i386-softmmu.mak | 39
hw/acpi/Kconfig | 3 ++
hw/display/Kconfig
From: Paolo Bonzini
The make_device_config.sh script is replaced by minikconf, which
is modified to support the same command line as its predecessor.
The roots of the parsing are default-configs/*.mak, Kconfig.host and
hw/Kconfig. One difference with make_device_config.sh is that all symbols
From: Paolo Bonzini
This automatically removes the SCSI subsystem from the
binary altogether if no controllers are selected.
Signed-off-by: Paolo Bonzini
Signed-off-by: Yang Zhong
---
hw/scsi/Kconfig | 12
hw/scsi/Makefile.objs | 2 +-
hw/usb/Kconfig| 2 ++
3
From: Paolo Bonzini
Signed-off-by: Paolo Bonzini
Signed-off-by: Yang Zhong
Reviewed-by: Thomas Huth
---
hw/Kconfig | 2 ++
hw/net/Kconfig | 2 ++
hw/timer/Kconfig | 6 ++
3 files changed, 10 insertions(+)
diff --git a/hw/Kconfig b/hw/Kconfig
index 906143a816..0d836b527e 100644
From: Paolo Bonzini
The Kconfig files were generated mostly with this script:
for i in `grep -ho CONFIG_[A-Z0-9_]* default-configs/* | sort -u`; do
set fnord `git grep -lw $i -- 'hw/*/Makefile.objs' `
shift
if test $# = 1; then
cat >> $(dirname $1)/Kconfig << EOF
config
From: Paolo Bonzini
Instead of including the same list of devices for each target,
set CONFIG_PCI to true, and make the devices default to present
whenever PCI is available.
Done mostly with the following script:
while read i; do
i=${i%=y}; i=${i#CONFIG_}
sed -i -e'/^config
From: Paolo Bonzini
Signed-off-by: Paolo Bonzini
Reviewed-by: Thomas Huth
---
default-configs/alpha-softmmu.mak | 2 --
default-configs/pci.mak | 3 ---
hw/ide/Kconfig| 15 +++
3 files changed, 15 insertions(+), 5 deletions(-)
diff --git
remove default-configs/hyperv.mak and make dependencies
with Kconfig.
Signed-off-by: Yang Zhong
Reviewed-by: Thomas Huth
---
default-configs/hyperv.mak | 2 --
default-configs/i386-softmmu.mak | 1 -
hw/hyperv/Kconfig| 4
3 files changed, 4 insertions(+), 3
From: Paolo Bonzini
There is really nothing special in these devices; they are just
ISA devices. Instead of including them for each target,
set CONFIG_ISA_BUS to true, and make the devices default to present
whenever ISA is available. More conversion of ISA devices will
follow.
Done with the
Add the new configs to default-configs/tricore-sofmmu.mak.
Signed-off-by: Yang Zhong
---
default-configs/tricore-softmmu.mak | 1 +
hw/tricore/Makefile.objs| 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/default-configs/tricore-softmmu.mak
Use CONFIG_EDID to make edid-generate.c and edid-region.c
configurable.
Signed-off-by: Yang Zhong
Reviewed-by: Thomas Huth
---
default-configs/pci.mak | 1 +
hw/display/Makefile.objs | 4 +---
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/default-configs/pci.mak
From: Paolo Bonzini
This implements a scanner and recursive descent parser for Kconfig-like
configuration files. The only "action" of the parser is for now to
detect undefined variables and process include files.
The main differences between Kconfig and this are:
* only the "bool" type is
Add the new configs to default-configs/hppa-sofmmu.mak.
Signed-off-by: Yang Zhong
---
default-configs/hppa-softmmu.mak | 2 ++
hw/hppa/Makefile.objs| 4 +++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/default-configs/hppa-softmmu.mak
From: Paolo Bonzini
There are three parts in the semantic analysis:
1) evaluating expressions. This is done as a simple visit
of the Expr nodes.
2) ordering clauses. This is done by constructing a graph of variables.
There is an edge from X to Y if Y depends on X, if X selects Y, or if
X
Add the new configs to default-configs/alpha-sofmmu.mak.
Signed-off-by: Yang Zhong
---
default-configs/alpha-softmmu.mak | 2 ++
hw/alpha/Makefile.objs| 4 +++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/default-configs/alpha-softmmu.mak
Add the new configs to default-configs/cris-sofmmu.mak.
Signed-off-by: Yang Zhong
---
default-configs/cris-softmmu.mak | 1 +
hw/cris/Makefile.objs| 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/default-configs/cris-softmmu.mak
Add the new configs to default-configs/or1k-sofmmu.mak.
Signed-off-by: Yang Zhong
---
default-configs/or1k-softmmu.mak | 1 +
hw/openrisc/Makefile.objs| 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/default-configs/or1k-softmmu.mak
From: Paolo Bonzini
Add Python classes that represent the Kconfig abstract syntax tree.
The abstract syntax tree is stored as a list of clauses. For example:
config FOO
depends on BAR
select BAZ
is represented as three clauses:
FOO depends on BAR
FOO default n
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
---
hw/lm32/Makefile.objs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/lm32/Makefile.objs
CONFIG_MOXIE added for moxiesim board.
Signed-off-by: Yang Zhong
---
default-configs/moxie-softmmu.mak | 1 +
hw/moxie/Makefile.objs| 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/default-configs/moxie-softmmu.mak
b/default-configs/moxie-softmmu.mak
index
Add the new configs to default-configs/riscv*-sofmmu.mak.
Signed-off-by: Yang Zhong
---
default-configs/riscv32-softmmu.mak | 7 +++
default-configs/riscv64-softmmu.mak | 7 +++
hw/riscv/Makefile.objs | 22 +++---
3 files changed, 25 insertions(+), 11
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
---
default-configs/xtensa-softmmu.mak | 3 +++
default-configs/xtensaeb-softmmu.mak | 3 +++
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
---
default-configs/sparc-softmmu.mak | 2 ++
hw/sparc/Makefile.objs| 4 +++-
2 files changed, 5 insertions(+), 1
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
---
default-configs/microblaze-softmmu.mak | 3 +++
Add the new configs to default-configs/sparc64-sofmmu.mak.
Signed-off-by: Yang Zhong
Reviewed-by: Thomas Huth
---
default-configs/sparc64-softmmu.mak | 2 ++
hw/sparc64/Makefile.objs| 6 +++---
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git
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
---
default-configs/mips-softmmu-common.mak | 3 +++
hw/mips/Makefile.objs | 6 --
2 files changed, 7
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
---
default-configs/sh4-softmmu.mak | 2 ++
default-configs/sh4eb-softmmu.mak | 2 ++
hw/sh4/Makefile.objs | 4 ++--
From: Paolo Bonzini
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
---
CONFIG_NIOS2_10M50 added for 10m50 dev board.
Signed-off-by: Yang Zhong
Reviewed-by: Thomas Huth
---
default-configs/nios2-softmmu.mak | 1 +
hw/nios2/Makefile.objs| 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/default-configs/nios2-softmmu.mak
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
---
default-configs/m68k-softmmu.mak | 2 ++
hw/m68k/Makefile.objs| 4
make virt code configurable and the new CONFIG_VIRT definitions
added to the default-configs/arm-softmmu.mak to replace CONFIG_ACPI
in arm board.
Signed-off-by: Yang Zhong
Reviewed-by: Thomas Huth
---
default-configs/arm-softmmu.mak | 1 +
hw/arm/Makefile.objs| 3 ++-
2 files
This Kconfig implementation is rebased from Paolo's branch
https://github.com/bonzini/qemu/commits/kconfig
I rebased most of patches except non-x86 ARCHs dependency definitions
this time.
https://github.com/yangzhon/qemu/commits/topic/upstream/Kconfig
The current RFC patches only support
(*)
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
---
From: Paolo Bonzini
Do not link it unconditionally into all binaries.
Signed-off-by: Paolo Bonzini
Signed-off-by: Yang Zhong
Reviewed-by: Thomas Huth
---
default-configs/i386-softmmu.mak | 1 +
hw/pci-host/Makefile.objs| 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff
Change the CONFIGs for PCI EXPRESS and make module name more
clear for code files.
Signed-off-by: Yang Zhong
Cc: Michael S. Tsirkin
---
default-configs/arm-softmmu.mak | 4 ++--
default-configs/i386-softmmu.mak | 2 +-
default-configs/mips64el-softmmu.mak | 2 +-
On 2019-01-22 17:29, Stefan Hajnoczi wrote:
> New source files were added without corresponding ./MAINTAINERS file
> entries. Let's get things up to date.
>
> Signed-off-by: Stefan Hajnoczi
> ---
> This also includes the I2C/TWI stub which Peter has merged into his
> target-arm.next tree but
> > + * the corresponding key-down event wasn't send to the guest,
>
> s/send/sent/
Fixed.
> > +void kbd_state_lift_all_keys(KbdState *kbd)
> > +{
> > +int qcode;
> > +
> > +for (qcode = 0; qcode < Q_KEY_CODE__MAX; qcode++) {
> > +if (test_bit(qcode, kbd->keys)) {
> > +
On 2019-01-23 04:07, ksourav wrote:
> Hi All,
>
> I am trying to learn how qemu implements different soc.
> While reading the source code, I found that in some socs, object owner
> is passed as NULL to the routine memory_region_init_ram() (for example
> in nrf51 soc) and in some socs(for example
On 2018-12-13 14:18, Paolo Bonzini wrote:
> On 13/12/18 08:05, Thomas Huth wrote:
>> 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
>
> Queued (for the next pull request, not this one).
Ping? ...
On 2018-12-14 13:21, Thomas Huth wrote:
> 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
On 1/22/19 1:39 AM, Philippe Mathieu-Daudé wrote:
> Hi Ben,
>
> On 1/22/19 6:43 AM, Michael Tokarev wrote:
>> Forwarding to qemu-devel@
>> http://bugs.debian.org/919921
>>
>> Thanks!
>>
>> 20.01.2019 20:55, Ben Hutchings wrote:
>>> Package: qemu-user
>>> Version: 1:3.1+dfsg-2
>>> Severity: normal
On 1/7/19 5:11 AM, Mark Cave-Ayland wrote:
> #7 0x55852e53 in expand_4_vec (vece=2, dofs=197872,
> aofs=198288, bofs=197776, cofs=197792, oprsz=16, tysz=16,
> type=TCG_TYPE_V128, write_aofs=true, fni=0x5599182a
> ) at
> /home/hsp/src/qemu-altivec-55/tcg/tcg-op-gvec.c:903
> t0
On Wed, Jan 23, 2019 at 11:10:07AM +0800, Yi Zhang wrote:
> On 2019-01-22 at 22:01:58 -0500, Michael S. Tsirkin wrote:
> > On Wed, Jan 23, 2019 at 10:59:27AM +0800, Zhang, Yi wrote:
> > > From: "Zhang,Yi"
> > >
> > > Linux 4.15 introduces a new mmap flag MAP_SYNC, which can be used to
> > >
On Wed, Jan 23, 2019 at 11:10:07AM +0800, Yi Zhang wrote:
> On 2019-01-22 at 22:01:58 -0500, Michael S. Tsirkin wrote:
> > On Wed, Jan 23, 2019 at 10:59:27AM +0800, Zhang, Yi wrote:
> > > From: "Zhang,Yi"
> > >
> > > Linux 4.15 introduces a new mmap flag MAP_SYNC, which can be used to
> > >
On 1/21/19 5:15 AM, Yoshinori Sato wrote:
> +/* PSW condition operation */
> +typedef struct {
> +TCGv op_mode;
> +TCGv op_a1[13];
> +TCGv op_a2[13];
> +TCGv op_r[13];
> +} CCOP;
> +CCOP ccop;
Why does this have different array sizes than cpu.h?
Indeed, why does this have array
On 2019-01-22 at 22:01:58 -0500, Michael S. Tsirkin wrote:
> On Wed, Jan 23, 2019 at 10:59:27AM +0800, Zhang, Yi wrote:
> > From: "Zhang,Yi"
> >
> > Linux 4.15 introduces a new mmap flag MAP_SYNC, which can be used to
> > guarantee the write persistence to mmap'ed files supporting DAX (e.g.,
> >
Hi All,
I am trying to learn how qemu implements different soc.
While reading the source code, I found that in some socs, object owner
is passed as NULL to the routine memory_region_init_ram() (for example
in nrf51 soc) and in some socs(for example in Allwinner A10) an
object(non NULL) is passed
The windows 7 guest on linux host had networking out of the box.
It now lost it for some reason.
The qemu string remained the same
It now want to do DHCP and fails.
It has an intel nic as nic device in device manager.
What i cant understand is how to dop a static network config in this
On Wed, Jan 23, 2019 at 10:59:27AM +0800, Zhang, Yi wrote:
> From: "Zhang,Yi"
>
> Linux 4.15 introduces a new mmap flag MAP_SYNC, which can be used to
> guarantee the write persistence to mmap'ed files supporting DAX (e.g.,
> files on ext4/xfs file system mounted with '-o dax').
>
> A
On Tue, Jan 22, 2019 at 08:07:41PM +, Dr. David Alan Gilbert wrote:
> Hi,
> I noticed that the acpi_1_compatible flag was misspelt as
> apci_1_compatible
>
> so have a trivial patch to fix that, but looking at it - are
> thre any cases where a[cp]i_1_compatible can
From: "Zhang,Yi"
Linux 4.15 introduces a new mmap flag MAP_SYNC, which can be used to
guarantee the write persistence to mmap'ed files supporting DAX (e.g.,
files on ext4/xfs file system mounted with '-o dax').
A description of MAP_SYNC and MAP_SHARED_VALIDATE can be found at
From: Zhang Yi
As more flag parameters besides the existing 'shared' are going to be
added to qemu_ram_mmap() and qemu_ram_alloc_from_{file,fd}(), let's
switch 'shared' to a 'flags' parameter in advance, so as to ease the
further additions.
Signed-off-by: Haozhong Zhang
Signed-off-by: Zhang Yi
From: Zhang Yi
When a file supporting DAX is used as vNVDIMM backend, mmap it with
MAP_SYNC flag in addition which can ensure file system metadata
synced in each guest writes to the backend file, without other QEMU
actions (e.g., periodic fsync() by QEMU).
Current, We have below different
From: Zhang Yi
Signed-off-by: Zhang Yi
---
docs/nvdimm.txt | 29 -
qemu-options.hx | 4
2 files changed, 32 insertions(+), 1 deletion(-)
diff --git a/docs/nvdimm.txt b/docs/nvdimm.txt
index 5f158a6..166c395 100644
--- a/docs/nvdimm.txt
+++ b/docs/nvdimm.txt
From: Zhang Yi
When there are multiple memory backends in use, including the object type
name and the property name in the error message can help users to locate
the error.
Signed-off-by: Haozhong Zhang
Signed-off-by: Zhang Yi
Reviewed-by: Eduardo Habkost
Reviewed-by: Stefano Garzarella
---
On 2019/1/22 上午2:56, Peter Maydell wrote:
On Thu, 17 Jan 2019 at 09:46, Jason Wang wrote:
On 2019/1/15 上午12:33, Zhang Chen wrote:
On Sat, Jan 12, 2019 at 12:15 AM Dr. David Alan Gilbert
mailto:dgilb...@redhat.com>> wrote:
* Peter Maydell (peter.mayd...@linaro.org
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
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: 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
The following changes since commit cce871c504694cf1034adf525556e3ca3c7eebb6:
hw/block/xen: use proper format string for printing sectors (2019-01-21
14:45:49 +)
are available in the git repository at:
git://github.com/bonzini/qemu.git tags/for-upstream
for you to fetch changes up to
On Tue, Jan 22, 2019 at 1:55 AM Bastian Koppelmann
wrote:
>
> Reviewed-by: Richard Henderson
> Signed-off-by: Bastian Koppelmann
> Signed-off-by: Peer Adelt
Acked-by: Alistair Francis
Alistair
> ---
> target/riscv/insn32.decode| 15 +++
>
On 22/01/19 17:36, Peter Maydell wrote:
>> +void memory_region_flush_rom_device(MemoryRegion *mr, hwaddr addr, hwaddr
>> size)
>> +{
>> +/* In principle this function would work on other memory region types
>> too,
>> + * but the ROM device use case is the only one where this operation
On Tue, Jan 22, 2019 at 1:45 AM Bastian Koppelmann
wrote:
>
> Reviewed-by: Richard Henderson
> Signed-off-by: Bastian Koppelmann
> Signed-off-by: Peer Adelt
Acked-by: Alistair Francis
Alistair
> ---
> target/riscv/insn32-64.decode | 8 +
>
On Tue, Jan 22, 2019 at 1:57 AM Bastian Koppelmann
wrote:
>
> Reviewed-by: Richard Henderson
> Signed-off-by: Bastian Koppelmann
> Signed-off-by: Peer Adelt
Acked-by: Alistair Francis
Alistair
> ---
> target/riscv/insn32.decode | 28 +++
>
On Tue, Jan 22, 2019 at 1:49 AM Bastian Koppelmann
wrote:
>
> Reviewed-by: Richard Henderson
> Signed-off-by: Bastian Koppelmann
> Signed-off-by: Peer Adelt
Acked-by: Alistair Francis
Alistair
> ---
> target/riscv/insn32-64.decode | 6 +++
>
On Tue, Jan 22, 2019 at 1:52 AM Bastian Koppelmann
wrote:
>
> Reviewed-by: Richard Henderson
> Signed-off-by: Bastian Koppelmann
> Signed-off-by: Peer Adelt
Acked-by: Alistair Francis
Alistair
> ---
> target/riscv/insn32.decode | 35 +++
>
On Mon, Jan 21, 2019 at 7:50 AM Cédric Le Goater wrote:
>
> The m25p80 models dummy cycles using byte transfers. This works well
> when the transfers are initiated by the QEMU model of a SPI controller
> but when these are initiated by the OS, it breaks emulation.
>
> Snoop the SPI transfer to
On Tue, Jan 22, 2019 at 2:07 AM Bastian Koppelmann
wrote:
>
> Reviewed-by: Richard Henderson
> Signed-off-by: Bastian Koppelmann
> Signed-off-by: Peer Adelt
Acked-by: Alistair Francis
Alistair
> ---
> target/riscv/insn32.decode | 10 ++
>
On Tue, Jan 22, 2019 at 21:50:14 +, Alex Bennée wrote:
> Wire up test/fp-test into the main testing Makefile. Currently we skip
> some of the extF80 and f128 related tests. Once we re-factor and fix
> these tests the plumbing should get simpler.
>
> Signed-off-by: Alex Bennée
(snip)
> +# FPU
On Tue, Jan 22, 2019 at 21:50:16 +, Alex Bennée wrote:
> This adds a rule to run all of our softfloat tests. It is included as
> a pre-requisite to check-tcg and check-unit as well.
>
> Signed-off-by: Alex Bennée
> Reviewed-by: Richard Henderson
> ---
You might want to fix the commit title
On Tue, Jan 22, 2019 at 2:03 AM Bastian Koppelmann
wrote:
>
> Reviewed-by: Richard Henderson
> Signed-off-by: Bastian Koppelmann
> Signed-off-by: Peer Adelt
Acked-by: Alistair Francis
Alistair
> ---
> target/riscv/insn32.decode | 17 +++
>
On Tue, Jan 22, 2019 at 2:12 AM Bastian Koppelmann
wrote:
>
> Reviewed-by: Palmer Dabbelt
> Reviewed-by: Richard Henderson
> Signed-off-by: Bastian Koppelmann
> Signed-off-by: Peer Adelt
Acked-by: Alistair Francis
Alistair
> ---
> target/riscv/insn32.decode | 19 ++
>
On Fri, Jan 18, 2019 at 10:25 AM Paolo Bonzini wrote:
> On 18/01/19 14:41, Mark Mielke wrote:
> > It is useful to understand the risk. However, this is the same risk we
> > have been successfully living with for several years now, and it seems
> > abrupt to declare 3.1 and 3.2 as the Qemu
Use BSP reset PC as a place for the mini-bootloader because in SMP
configurations APs and BSP may have different boot addresses.
This fixes SMP linux uImage boot on xtfpga boards.
Signed-off-by: Max Filippov
---
hw/xtensa/xtfpga.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
XTFPGA board FPGA peripheral exposes hard-coded 10MHz frequency
regardless of the actual used core frequency. Expose actual core
frequency instead.
Signed-off-by: Max Filippov
---
hw/xtensa/xtfpga.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git
Hello,
this series adds two improvements for the XTFPGA board:
- use BSP core reset vector to place mini bootloader, because AP
cores may have different reset vector address;
- expose actual core frequency in the FPGA register instead of the
fixed 10MHz value.
Max Filippov (2):
hw/xtensa:
On 1/22/19 8:41 AM, Pankaj Gupta wrote:
> Hotplugging existing char chardev with qmp, dereferences(removes)
> existing chardev. This patch avoids adding a chardev if a chardev
> with same id exists.
>
> +++ b/chardev/char.c
> @@ -985,6 +985,12 @@ ChardevReturn *qmp_chardev_add(const char *id,
On 1/22/19 6:19 AM, Kevin Wolf wrote:
> If QEMU was configured with a driver in --block-drv-ro-whitelist, trying
> to use that driver read-write resulted in an error message even if
> auto-read-only=on was set.
>
> Consider auto-read-only=on for the whitelist checking and use it to
>
On Fri, Dec 28, 2018 at 2:20 PM Jim Wilson wrote:
>
> Signed-off-by: Jim Wilson
Acked-by: Alistair Francis
Alistair
> ---
> configure | 1 +
> gdb-xml/riscv-64bit-cpu.xml | 43
> gdb-xml/riscv-64bit-csr.xml | 250
>
This adds a rule to run all of our softfloat tests. It is included as
a pre-requisite to check-tcg and check-unit as well.
Signed-off-by: Alex Bennée
Reviewed-by: Richard Henderson
---
tests/Makefile.include | 17 +++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git
From: "Emilio G. Cota"
To match the type in testfloat.
Signed-off-by: Emilio G. Cota
Signed-off-by: Alex Bennée
---
tests/fp/fp-test.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/fp/fp-test.c b/tests/fp/fp-test.c
index fca576309c..2a35ef601d 100644
---
On Fri, Dec 28, 2018 at 2:20 PM Jim Wilson wrote:
>
> Signed-off-by: Jim Wilson
> ---
> target/riscv/cpu.c | 9 ++-
> target/riscv/gdbstub.c | 73
> --
> 2 files changed, 73 insertions(+), 9 deletions(-)
>
> diff --git
From: Thomas Huth
Clang v7.0.1 does not like the __int128 variable type for inline
assembly on s390x:
In file included from fpu/softfloat.c:97:
include/fpu/softfloat-macros.h:647:9: error: inline asm error:
This value type register class is not natively supported!
asm("dlgr %0, %1" :
On 1/22/19 1:29 PM, Bharadwaj Rayala wrote:
> Hi,
>
> TL(Cant)R: I am trying to figure out a workflow for doing incremental
> drive-backups using dirty-bitmaps. Feels qemu lacks some essential features
> to achieve it.
>
> I am trying to build a backup workflow(program) using drive-backup along
Wire up test/fp-test into the main testing Makefile. Currently we skip
some of the extF80 and f128 related tests. Once we re-factor and fix
these tests the plumbing should get simpler.
Signed-off-by: Alex Bennée
---
v3
- tweak test function
- always call fp-test build
---
From: "Emilio G. Cota"
At this point random_ops[] only contains normals, so there's
no need to do anything to them. In fact, raising the exponent
here can make the output !normal, which is precisely
what the comment says we want to avoid.
Signed-off-by: Emilio G. Cota
Reviewed-by: Richard
On Fri, Dec 28, 2018 at 2:24 PM Jim Wilson wrote:
>
> Signed-off-by: Jim Wilson
Acked-by: Alistair Francis
Alistair
> ---
> configure | 1 +
> gdb-xml/riscv-32bit-cpu.xml | 43
> gdb-xml/riscv-32bit-csr.xml | 250
>
From: "Emilio G. Cota"
We get HOST_WORDS_BIGENDIAN from config-host.h, but the include
is missing. Fix it.
This fixes `make check-softfloat' on big endian hosts.
Reported-by: Peter Maydell
Signed-off-by: Emilio G. Cota
Signed-off-by: Alex Bennée
---
tests/fp/platform.h | 1 +
1 file
1 - 100 of 362 matches
Mail list logo