On 14.04.21 19:03, Emanuele Giuseppe Esposito wrote:
Add a new _qmp_timer field to the QEMUMachine class.
The default timer is 15 sec, as per the default in the
qmp accept() function.
Signed-off-by: Emanuele Giuseppe Esposito
---
python/qemu/machine.py | 3 ++-
1 file changed, 2 insertions(+
On Fri, Apr 30, 2021 at 12:17:06PM +0200, Philippe Mathieu-Daudé wrote:
> Refactor qemu_xkeymap_mapping_table() to have a single exit point,
> so we can easily free the memory allocated by XGetAtomName(),
>
> This fixes when running a binary configured with --enable-sanitizers:
>
> Direct leak
Now that we have separated the gl and non-gl code flows to two different
devices there is little reason turn on and off virglrenderer usage at
runtime. The gl code can simply use virglrenderer unconditionally.
So drop use_virgl_renderer field and just do that.
Signed-off-by: Gerd Hoffmann
---
On 14.04.21 19:03, Emanuele Giuseppe Esposito wrote:
Signed-off-by: Emanuele Giuseppe Esposito
---
python/qemu/qtest.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/python/qemu/qtest.py b/python/qemu/qtest.py
index 39a0cf62fe..c18eae96c6 100644
--- a/python/qemu/qtes
On 14.04.21 19:03, Emanuele Giuseppe Esposito wrote:
Introduce the "Debugging a test case" section, in preparation
to the additional flags that will be added in the next patches.
Signed-off-by: Emanuele Giuseppe Esposito
---
docs/devel/testing.rst | 8
1 file changed, 8 insertions(+
Currently we have one virtio-gpu device. Problem with this approach is
that if you compile a full-featured qemu you'll get a virtio-gpu device
which depends on opengl and virgl, so these dependencies must be
installed and the libraries will be loaded into memory even if you don't
use virgl. Also
Signed-off-by: Gerd Hoffmann
---
hw/display/virtio-gpu-gl.c | 13 +
hw/display/virtio-gpu.c| 15 ---
2 files changed, 13 insertions(+), 15 deletions(-)
diff --git a/hw/display/virtio-gpu-gl.c b/hw/display/virtio-gpu-gl.c
index 6d0ce5bcd6f1..e976fb8d04c4 100644
--- a/h
From: John Snow
Casts are instructions to the type checker only, they aren't "safe" and
should probably be avoided in general. In this case, when we perform
type checking on a nested structure, the type of each field does not
"stick".
(See PEP 647 for an example of "type narrowing" that does "st
Signed-off-by: Gerd Hoffmann
---
include/hw/virtio/virtio-gpu.h | 1 +
hw/display/virtio-gpu-gl.c | 17 +
hw/display/virtio-gpu.c| 19 +--
3 files changed, 19 insertions(+), 18 deletions(-)
diff --git a/include/hw/virtio/virtio-gpu.h b/include/hw/virt
Add pci proxy for virtio-gpu-gl-device.
Signed-off-by: Gerd Hoffmann
---
hw/display/virtio-gpu-pci-gl.c | 55 ++
util/module.c | 2 ++
hw/display/meson.build | 5
3 files changed, 62 insertions(+)
create mode 100644 hw/display/virt
From: John Snow
The linter yaps after 0825f62c842. Fix this trivial issue to restore the
linter baseline.
(Yes, ideally -- and soon -- the linter will be part of CI so we don't
clutter up the log with fixups. For now, though, the baseline is useful
for testing intermediate commits as types are a
Drops last virgl/opengl dependency from virtio-gpu-device.
Signed-off-by: Gerd Hoffmann
---
hw/display/virtio-gpu.c | 17 -
1 file changed, 17 deletions(-)
diff --git a/hw/display/virtio-gpu.c b/hw/display/virtio-gpu.c
index 2c0065277ffd..34cf35127a3d 100644
--- a/hw/display/vir
Introduce a symbol which can be used to prevent display modules which
need vga support being loaded into system emulators with CONFIG_VGA=n.
Signed-off-by: Gerd Hoffmann
---
include/hw/display/vga.h | 6 ++
hw/display/vga.c | 2 ++
2 files changed, 8 insertions(+)
diff --git a/inclu
The following changes since commit ccdf06c1db192152ac70a1dd974c624f566cb7d4:
Open 6.1 development tree (2021-04-30 11:15:40 +0100)
are available in the Git repository at:
git://repo.or.cz/qemu/armbru.git tags/pull-qapi-2021-04-30
for you to fetch changes up to b54626e0b8f423e91b2e31fa7741e4
Signed-off-by: Gerd Hoffmann
---
include/hw/virtio/virtio-gpu.h | 6 ++
hw/display/virtio-gpu-gl.c | 30 +++
hw/display/virtio-gpu.c| 38 ++
3 files changed, 42 insertions(+), 32 deletions(-)
diff --git a/include/hw/virtio/
From: John Snow
Missed in commit 2cae67bcb5 "qapi: Use super() now we have Python 3".
Signed-off-by: John Snow
Reviewed-by: Markus Armbruster
Message-Id: <20210421192233.3542904-3-js...@redhat.com>
Signed-off-by: Markus Armbruster
---
scripts/qapi/error.py | 2 +-
1 file changed, 1 insertion
Add pci proxy for virtio-gpu-gl-device, with vga compatibility.
Signed-off-by: Gerd Hoffmann
---
hw/display/virtio-vga-gl.c | 47 ++
util/module.c | 2 ++
hw/display/meson.build | 5
3 files changed, 54 insertions(+)
create mode 100644
Move two virglrenderer state variables to struct VirtIOGPUGL.
Signed-off-by: Gerd Hoffmann
---
include/hw/virtio/virtio-gpu.h | 5 +++--
hw/display/virtio-gpu-gl.c | 15 +--
2 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/include/hw/virtio/virtio-gpu.h b/include/
"3d" -> "virgl" as 3d is a rather broad term.
Hopefully a bit less confusing.
Signed-off-by: Gerd Hoffmann
---
hw/display/{virtio-gpu-3d.c => virtio-gpu-virgl.c} | 0
hw/display/meson.build | 2 +-
2 files changed, 1 insertion(+), 1 deletion(-)
rename hw/display/{vir
From: John Snow
Now with more :words:!
Signed-off-by: John Snow
Message-Id: <20210421182032.3521476-16-js...@redhat.com>
Reviewed-by: Markus Armbruster
Signed-off-by: Markus Armbruster
---
scripts/qapi/expr.py | 256 ++-
1 file changed, 251 insertions(
On 14.04.21 19:03, Emanuele Giuseppe Esposito wrote:
Add -gdb flag and GDB_QEMU environmental variable
to python tests to attach a gdbserver to each qemu instance.
Well, this patch doesn’t do this, but OK.
Out of interest: Why gdbserver and not “just” gdb? On Fedora, those are
separate packa
Just a skeleton for starters, following patches will add more code.
Signed-off-by: Gerd Hoffmann
---
include/hw/virtio/virtio-gpu.h | 7 ++
hw/display/virtio-gpu-gl.c | 41 ++
util/module.c | 1 +
hw/display/meson.build | 2 +-
From: John Snow
Signed-off-by: John Snow
Message-Id: <20210421182032.3521476-18-js...@redhat.com>
Reviewed-by: Markus Armbruster
Signed-off-by: Markus Armbruster
---
scripts/qapi/expr.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/qapi/expr.py b/scripts/qapi/
From: John Snow
This is a small rewrite to address some minor style nits.
Don't compare against the empty list to check for the empty condition, and
move the normalization forward to unify the check on the now-normalized
structure.
With the check unified, the local nested function isn't needed
Public bug reported:
Hi
I refer to the WFI instruction. The bytecode is 0xe320f003. After the
execution, qemu exit with the following crash log.
qemu: unhandled CPU exception 0x10001 - aborting
R00=0001 R01=40800b34 R02=40800b3c R03=000102ec
R04=00010a28 R05=00010158 R06=00087460 R07=000101
Move device init (realize) and properties.
Drop the virgl property, the virtio-gpu-gl-device has virgl enabled no
matter what. Just use virtio-gpu-device instead if you don't want
enable virgl and opengl. This simplifies the logic and reduces the test
matrix.
Signed-off-by: Gerd Hoffmann
---
From: John Snow
Keeping it in error.py will create some cyclic import problems when we
add types to the QAPISchemaParser. Callers don't need to know the
details of QAPIParseError unless they are parsing or dealing directly
with the parser, so this won't create any harsh new requirements for
calle
From: John Snow
mypy isn't fond of allowing you to check for bool membership in a
collection of str elements. Guard this lookup for precisely when we were
given a name.
Signed-off-by: John Snow
Reviewed-by: Eduardo Habkost
Reviewed-by: Cleber Rosa
Message-Id: <20210421182032.3521476-6-js...@r
Signed-off-by: Gerd Hoffmann
---
include/hw/virtio/virtio-gpu.h | 8 +++-
hw/display/virtio-gpu.c| 12 +---
2 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/include/hw/virtio/virtio-gpu.h b/include/hw/virtio/virtio-gpu.h
index a7b7d78310ea..380aa7dd6322 100644
From: John Snow
Signed-off-by: John Snow
Tested-by: Eduardo Habkost
Reviewed-by: Eduardo Habkost
Reviewed-by: Cleber Rosa
Tested-by: Cleber Rosa
Message-Id: <20210421182032.3521476-14-js...@redhat.com>
Reviewed-by: Markus Armbruster
Signed-off-by: Markus Armbruster
---
scripts/qapi/pylint
From: John Snow
Built-in stuff is not parsed from a source file, and therefore have no
QAPISourceInfo. If such None info was used for reporting an error,
built-in stuff would be broken. Programming error. Instead of reporting
a confusing error with bogus source location then, we better crash.
We
On 14.04.21 19:03, Emanuele Giuseppe Esposito wrote:
Attaching a gdbserver implies that the qmp socket
should wait indefinitely for an answer from QEMU.
Signed-off-by: Emanuele Giuseppe Esposito
---
python/qemu/machine.py| 3 +++
tests/qemu-iotests/iotests.py | 10 +-
2 fil
Signed-off-by: Gerd Hoffmann
---
hw/display/virtio-gpu-gl.c | 33 +
hw/display/virtio-gpu.c| 13 -
2 files changed, 33 insertions(+), 13 deletions(-)
diff --git a/hw/display/virtio-gpu-gl.c b/hw/display/virtio-gpu-gl.c
index c3e562f835f7..6d0ce5bcd
From: John Snow
Annotations do not change runtime behavior.
This commit *only* adds annotations.
Signed-off-by: John Snow
Message-Id: <20210421182032.3521476-11-js...@redhat.com>
Reviewed-by: Markus Armbruster
Signed-off-by: Markus Armbruster
---
scripts/qapi/expr.py | 68 ++
On 14.04.21 19:03, Emanuele Giuseppe Esposito wrote:
Add -gdb flag and GDB_QEMU environmental variable
to python tests to attach a gdbserver to each qemu instance.
if -gdb is not provided but $GDB_QEMU is set, ignore the
environmental variable.
Signed-off-by: Emanuele Giuseppe Esposito
---
t
Signed-off-by: Gerd Hoffmann
---
include/hw/virtio/virtio-gpu.h | 2 ++
hw/display/virtio-gpu-gl.c | 11 +++
hw/display/virtio-gpu.c| 9 +
3 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/include/hw/virtio/virtio-gpu.h b/include/hw/virtio/virtio-gpu.h
From: John Snow
Signed-off-by: John Snow
Message-Id: <20210421182032.3521476-13-js...@redhat.com>
Reviewed-by: Markus Armbruster
Signed-off-by: Markus Armbruster
---
scripts/qapi/expr.py | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/scripts/qapi/expr.py b/
On 14.04.21 19:03, Emanuele Giuseppe Esposito wrote:
Currently, the check script only parses the option and sets the
VALGRIND_QEMU environmental variable to "y".
Add another local python variable that prepares the command line,
identical to the one provided in the test scripts.
Because the pytho
On 14.04.21 19:03, Emanuele Giuseppe Esposito wrote:
The only limitation here is that running a script with gdbserver
will make the test output mismatch with the expected
results, making the test fail.
Signed-off-by: Emanuele Giuseppe Esposito
---
tests/qemu-iotests/common.rc | 8 +++-
1
Signed-off-by: Gerd Hoffmann
---
util/module.c | 4 +++-
hw/display/meson.build | 9 ++---
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/util/module.c b/util/module.c
index 47bba1182841..c8f3e5a0a736 100644
--- a/util/module.c
+++ b/util/module.c
@@ -182,6 +182,8 @@
From: John Snow
Signed-off-by: John Snow
Message-Id: <20210421192233.3542904-9-js...@redhat.com>
Reviewed-by: Markus Armbruster
Signed-off-by: Markus Armbruster
---
scripts/qapi/mypy.ini | 5 -
1 file changed, 5 deletions(-)
diff --git a/scripts/qapi/mypy.ini b/scripts/qapi/mypy.ini
ind
Hi,
> [Kasireddy, Vivek] Right, we don't. I was also going to slightly change the
> names of some
> of the new functions in v3 to keep them consistent with the rest of the code.
> Do you have
> any additional feedback for the other patches that I can include in v3?
Looks fine to me otherwise.
From: John Snow
This is a minor adjustment that lets parameters @required and
@optional take tuple arguments, in particular (). Later patches will
make use of that.
(Iterable would also have worked, but Iterable also includes things like
generator expressions which are consumed upon iteration,
tree (2021-04-30 11:15:40 +0100)
>
> are available in the Git repository at:
>
> https://git.linaro.org/people/pmaydell/qemu-arm.git
> tags/pull-target-arm-20210430
>
> for you to fetch changes up to a6091108aa44e9017af4ca13c43f55a629e3744c:
>
> hw/pci-host/gpex: Don
From: John Snow
Prior to this commit, specifying a non-object value here causes the QAPI
parser to crash in expr.py with a stack trace with (likely) an
AttributeError when we attempt to call that value's items() method.
This member needs to be an object (Dict), and not anything else. Add a
check
From: Richard Henderson
> From: Luis Fernando Fujita Pires
>
> Allow '64' to be specified for the instruction width command line params and
> use
> the appropriate extract and deposit functions in that case.
>
> This will be used to implement the new 64-bit Power ISA 3.1 instructions.
>
> Rev
From: John Snow
mypy does not know the types of values stored in Dicts that masquerade
as objects. Help the type checker out by constraining the type.
Signed-off-by: John Snow
Message-Id: <20210421182032.3521476-5-js...@redhat.com>
Reviewed-by: Markus Armbruster
Signed-off-by: Markus Armbruste
On 14.04.21 19:03, Emanuele Giuseppe Esposito wrote:
Signed-off-by: Emanuele Giuseppe Esposito
---
tests/qemu-iotests/iotests.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Reviewed-by: Max Reitz
From: John Snow
OrderedDict is a subtype of dict, so we can check for a more general
form. These functions do not themselves depend on it being any
particular type.
Signed-off-by: John Snow
Reviewed-by: Eduardo Habkost
Reviewed-by: Cleber Rosa
Message-Id: <20210421182032.3521476-4-js...@redha
On 30/04/2021 01:21, David Gibson wrote:
On Thu, Apr 29, 2021 at 01:21:26PM -0300, Bruno Larsen (billionai) wrote:
Moved all SPR read/write callback, and some related functions, to a
new file specific for it. These callbacks are TCG only, so separating
them is required to support the flag disabl
From: John Snow
Per list review: qapi-code-gen.txt reserves suffixes Kind and
List only for type names, but the code rejects them for events and
commands, too.
It turns out we reject them earlier anyway: In check_name_upper() for
event names, and in check_name_lower() for command names.
Still,
Patchew URL:
https://patchew.org/QEMU/20210430113547.1816178-1-kra...@redhat.com/
Hi,
This series seems to have some coding style problems. See output below for
more information:
Type: series
Message-id: 20210430113547.1816178-1-kra...@redhat.com
Subject: [PATCH v2 00/16] virtio-gpu: split in
From: John Snow
For readability purposes only, shimmy the early return upwards to the
top of the function, so cases proceed in order from least to most
complex.
Signed-off-by: John Snow
Reviewed-by: Eduardo Habkost
Reviewed-by: Cleber Rosa
Message-Id: <20210421182032.3521476-7-js...@redhat.co
On 14.04.21 19:03, Emanuele Giuseppe Esposito wrote:
As with gdbserver, valgrind delays the test execution, so
the default QMP socket timeout timeout too soon.
I’m curious: The default timeouts should be long enough for slow
systems, too, though (e.g. heavily-loaded CI systems). I would expec
Hi,
I work on NVDIMM support in oVirt/RHV, I think other virtualization
management software built on top of QEMU may have similar concerns.
When a virtual NVDIMM device size is specified, it's not necessarily the
eventual NVDIMM device size visible to the guest OS. As seen in
https://github.com/
Le 28/04/2021 à 16:24, David Edmondson a écrit :
> When dumping the extra exit data provided by KVM, make it clear that
> the data is hexadecimal.
>
> At the same time, zero-pad the output.
>
> Signed-off-by: David Edmondson
> ---
> accel/kvm/kvm-all.c | 2 +-
> 1 file changed, 1 insertion(+),
From: John Snow
It is -- maybe -- possibly -- three nanoseconds faster.
Signed-off-by: John Snow
Reviewed-by: Eduardo Habkost
Reviewed-by: Cleber Rosa
Message-Id: <20210421182032.3521476-17-js...@redhat.com>
Reviewed-by: Markus Armbruster
Signed-off-by: Markus Armbruster
---
scripts/qapi/e
Le 25/04/2021 à 00:20, Philippe Mathieu-Daudé a écrit :
> The Intel XScale PXA chipsets provide a PCMCIA controller,
> which expose a PCMCIA (IDE) bus. Express this dependency using
> the Kconfig 'select' expression.
>
> Signed-off-by: Philippe Mathieu-Daudé
> ---
> hw/arm/Kconfig | 1 +
> 1 fil
From: John Snow
The function can just use the argument from the scope above. Otherwise,
we get shadowed argument errors because the parameter name clashes with
the name of a variable already in-scope.
Signed-off-by: John Snow
Reviewed-by: Eduardo Habkost
Reviewed-by: Cleber Rosa
Message-Id: <
On 14.04.21 19:03, Emanuele Giuseppe Esposito wrote:
When using -valgrind on the script tests, it generates a log file
in $TEST_DIR that is either read (if valgrind finds problems) or
otherwise deleted. Provide the same exact behavior when using
-valgrind on the python tests.
Signed-off-by: Eman
Le 22/04/2021 à 10:33, Serge Guelton a écrit :
> From: serge-sans-paille
>
> Signed-off-by: Serge Guelton
"If you wrote the patch, make sure your "From:" and "Signed-off-by:" lines use
the same spelling."
https://wiki.qemu.org/Contribute/SubmitAPatch#Patch_emails_must_include_a_Signed-off-by:
From: John Snow
Signed-off-by: John Snow
Message-Id: <20210421192233.3542904-7-js...@redhat.com>
Reviewed-by: Markus Armbruster
Signed-off-by: Markus Armbruster
---
scripts/qapi/pylintrc | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/scripts/qapi/pylintrc b/scripts/qapi
From: John Snow
It's already treated as optional, with one direct caller and some
subclass callers passing 'None'. Make it officially optional, which
requires moving the position of the argument to come after all required
parameters.
QAPISemError becomes functionally identical to QAPISourceError
On 14.04.21 19:03, Emanuele Giuseppe Esposito wrote:
Signed-off-by: Emanuele Giuseppe Esposito
---
docs/devel/testing.rst | 7 +++
1 file changed, 7 insertions(+)
diff --git a/docs/devel/testing.rst b/docs/devel/testing.rst
index 2ee77a057b..62902cfd2d 100644
--- a/docs/devel/testing.rst
cmd: ~/qemu-5.1.0/arm-linux-user/qemu-arm ~/test2
QEMU version: qemu-arm version 5.1.0
Sorry that I didn't test it on the latest version of QEMU.
** Attachment added: "test2"
https://bugs.launchpad.net/qemu/+bug/1926759/+attachment/5493873/+files/test2
--
You received this bug notification
From: John Snow
No functional change.
Note: QAPISourceError's info parameter is Optional[] because schema.py
treats the info property of its various classes as Optional to
accommodate built-in types, which have no source. See prior commit
'qapi/error: assert QAPISourceInfo is not None'.
Signed-
Currently the trans functions for m-nocp.decode all live in
translate-vfp.inc.c; move them out into their own translation unit,
translate-m-nocp.c.
The trans_* functions here are pure code motion with no changes.
Signed-off-by: Peter Maydell
Reviewed-by: Richard Henderson
---
target/arm/transl
From: John Snow
Rename QAPIError to QAPISourceError, and then create a new QAPIError
class that serves as the basis for all of our other custom exceptions,
without specifying any class properties.
This leaves QAPIError as a package-wide error class that's suitable for
any current or future error
We want to split out the .c.inc files which are currently included
into translate.c so they are separate compilation units. To do this
we need to make some functions which are currently file-local to
translate.c have global scope; create a translate-a32.h paralleling
the existing translate-a64.h a
From: Richard Henderson
> Rather than force all structure members to be 'int', allow the type of the
> member to be specified.
>
> Signed-off-by: Richard Henderson
> ---
> docs/devel/decodetree.rst | 11 ---
> tests/decode/succ_argset_type1.decode | 1 +
> scripts/decodetree.py
Some of the constant expanders defined in translate.c are generically
useful and will be used by the separate C files for VFP and Neon once
they are created; move the expander definitions to translate.h.
Signed-off-by: Peter Maydell
Reviewed-by: Philippe Mathieu-Daudé
Reviewed-by: Richard Hender
Oh, and the QEMU version you're using as well, please.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1926759
Title:
WFI instruction results in unhandled CPU exception
Status in QEMU:
New
Bug de
Make the remaining functions needed by the translate-neon code
global.
Signed-off-by: Peter Maydell
Reviewed-by: Philippe Mathieu-Daudé
Reviewed-by: Richard Henderson
---
target/arm/translate-a32.h | 8
target/arm/translate.c | 10 ++
2 files changed, 10 insertions(+), 8
Please provide a test case binary and your QEMU command line.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1926759
Title:
WFI instruction results in unhandled CPU exception
Status in QEMU:
New
Hey,
On Fri, Apr 30, 2021, at 7:58 AM, Markus Armbruster wrote:
> > I did not add a Since: here because I wasn't sure how that is handled.
> > Should I add something or is that taken care of at the time of release
> > somehow?
>
> You should add (since 6.1) at the end, like this
>
> # @full-gr
On 14.04.21 19:03, Emanuele Giuseppe Esposito wrote:
The priority will be given to gdb command line, meaning if the -gdb
parameter and -valgrind are given, gdb will be wrapped around
the qemu binary.
Signed-off-by: Emanuele Giuseppe Esposito
---
tests/qemu-iotests/iotests.py | 3 ++-
1 file
The set_vm_arg method is added to avocado_qemu.Test class on this
change. Use that method to set (or replace) an argument to the list of
arguments given to the QEMU binary.
Suggested-by: Cleber Rosa
Signed-off-by: Wainer dos Santos Moschetta
---
tests/acceptance/avocado_qemu/__init__.py | 21 ++
There are test cases on machine_mips_malta.py and tcg_plugins.py files
where the cpu tag does not correspond to the value actually given to the QEMU
binary. This fixed those tests tags.
Reviewed-by: Cleber Rosa
Tested-by: Cleber Rosa
Reviewed-by: Willian Rampazzo
Signed-off-by: Wainer dos Santo
On 14.04.21 19:03, Emanuele Giuseppe Esposito wrote:
Signed-off-by: Emanuele Giuseppe Esposito
---
docs/devel/testing.rst | 7 +++
1 file changed, 7 insertions(+)
diff --git a/docs/devel/testing.rst b/docs/devel/testing.rst
index b7e2370e7e..2ee77a057b 100644
--- a/docs/devel/testing.rst
Move the various gen_aa32* functions and macros out of translate.c
and into translate-a32.h.
Signed-off-by: Peter Maydell
---
target/arm/translate-a32.h | 53 ++
target/arm/translate.c | 51
2 files changed, 69 insertio
This introduces a new feature to the functional tests: automatic setting of
the '-cpu VALUE' option to the created vm if the test is tagged with
'cpu:VALUE'. The 'cpu' property is made available to the test object as well.
For example, for a simple test as:
def test(self):
"""
The SEV userspace header[1] exports a couple of other error conditions that
aren't listed in QEMU's SEV implementation, so let's just round out the
list.
[1] linux-headers/linux/psp-sev.h
Signed-off-by: Connor Kuehl
Reviewed-by: Philippe Mathieu-Daudé
---
target/i386/sev.c | 2 ++
1 file chang
The function vfp_reg_ptr() is used only in translate-neon.c.inc;
move it there.
Signed-off-by: Peter Maydell
Reviewed-by: Philippe Mathieu-Daudé
Reviewed-by: Richard Henderson
---
target/arm/translate.c | 7 ---
target/arm/translate-neon.c.inc | 7 +++
2 files changed, 7 inser
On 29/04/2021 22:15, Richard Henderson wrote:
Now that we have removed all of the fake exceptions, and all real
exceptions exit via DISAS_NORETURN, we can remove this field.
Signed-off-by: Richard Henderson
---
target/ppc/translate.c | 22 ++
1 file changed, 2 insertions(
This added the args property to QEMUMachine so that users of the class
can access and handle the list of arguments to be given to the QEMU
binary.
Reviewed-by: Cleber Rosa
Reviewed-by: Willian Rampazzo
Signed-off-by: Wainer dos Santos Moschetta
---
python/qemu/machine.py | 5 +
1 file chan
Move the NeonGenThreeOpEnvFn typedef to translate.h together
with the other similar typedefs.
Signed-off-by: Peter Maydell
Reviewed-by: Richard Henderson
---
target/arm/translate.h | 2 ++
target/arm/translate.c | 3 ---
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/target/arm/
Some test cases on x86_cpu_model_versions.py are corner cases because they
need to pass extra options to the -cpu argument. Once the avocado_qemu
framework will set -cpu automatically, the value should be reset. This changed
those tests so to call set_vm_arg() to overwrite the -cpu value.
Signed-o
The contents of this patch were initially developed and posted by Han
Han[1], however, it appears the original patch was not applied. Since
then, the relevant documentation has been moved and adapted to a new
format.
I've taken most of the original wording and tweaked it according to
some of the f
From: Richard Henderson
> Form a hex constant of the appropriate insnwidth.
> Begin using f-strings on changed lines.
>
> Signed-off-by: Richard Henderson
> ---
> scripts/decodetree.py | 66 +--
> 1 file changed, 38 insertions(+), 28 deletions(-)
Reviewe
The tests that are already tagged with "cpu:VALUE" don't need to add
"-cpu VALUE" to the list of arguments of the vm object because the avocado_qemu
framework is able to handle it automatically.
Reviewed-by: Cleber Rosa
Tested-by: Cleber Rosa
Reviewed-by: Willian Rampazzo
Signed-off-by: Wainer
Connor Kuehl (2):
sev: use explicit indices for mapping firmware error codes to strings
sev: add missing firmware error conditions
target/i386/sev.c | 48 ---
1 file changed, 25 insertions(+), 23 deletions(-)
--
2.30.2
From: Richard Henderson
> Signed-off-by: Richard Henderson
> ---
> scripts/decodetree.py | 50 ---
> 1 file changed, 23 insertions(+), 27 deletions(-)
Reviewed-by: Luis Pires
On Wed, 28 Apr 2021 at 14:13, Alex Bennée wrote:
>
> A trailing _ makes all the difference to the rendered link.
>
> Signed-off-by: Alex Bennée
> ---
> docs/system/arm/sbsa.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to target-arm.next, thanks.
-- PMM
Crash repros on current QEMU.
This is a bug, in that we shouldn't crash like this. However, it doesn't
really make any sense for a userspace program (which is what a binary
run by qemu-arm is) to execute the WFI instruction, which is largely
intended for OSes to use. If your guest binary needs to
The aarch64 kernel traps and handles WFI as a NOP:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c219bc4e9205
-- so that's probably the most sensible implementation for our linux-user
mode. (The aarch32 kernel doesn't trap it, yet, but
"WFI is a NOP" is a valid a
On 14.04.21 19:03, Emanuele Giuseppe Esposito wrote:
Using the flag -p, allow the qemu binary to print to stdout.
This helps especially when doing print-debugging.
I think this shouldn’t refer to prints but to qemu’s stdout/stderr in
general, i.e
Signed-off-by: Emanuele Giuseppe Esposit
On Tue, 27 Apr 2021 at 22:41, Richard Henderson
wrote:
>
> These three features are already enabled by TCG, but are missing
> their hwcap bits. Update HWCAP2 from linux v5.12.
>
> Cc: qemu-sta...@nongnu.org (for 6.0.1)
> Buglink: https://bugs.launchpad.net/bugs/1926044
> Signed-off-by: Richard He
On 14.04.21 19:03, Emanuele Giuseppe Esposito wrote:
Signed-off-by: Emanuele Giuseppe Esposito
---
docs/devel/testing.rst | 4
1 file changed, 4 insertions(+)
diff --git a/docs/devel/testing.rst b/docs/devel/testing.rst
index 62902cfd2d..0c18fc4571 100644
--- a/docs/devel/testing.rst
++
On 29/04/2021 22:15, Richard Henderson wrote:
Signed-off-by: Richard Henderson
---
target/ppc/insn32.decode | 12 +++
target/ppc/insn64.decode | 15 +
target/ppc/translate.c | 29
target/ppc/translate/fixed
Le 25/04/2021 à 00:20, Philippe Mathieu-Daudé a écrit :
> The Microdrive Compact Flash can be plugged on a PCMCIA bus.
> Express the dependency using the 'depends on' Kconfig expression.
>
> Signed-off-by: Philippe Mathieu-Daudé
> ---
> hw/ide/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
>
201 - 300 of 584 matches
Mail list logo