The VIRTIO_F_IN_ORDER feature is implemented by DPDK virtio_net driver
but not by the Linux kernel's virtio_net driver.
However, this feature can't be tested using vhost-vdpa even with HW devices
that implement it as VIRTIO_F_IN_ORDER isn't defined in kernel's
virtio_config.h header file yet and h
On 13/2/22 12:11, BALATON Zoltan wrote:
On Sun, 13 Feb 2022, Akihiko Odaki wrote:
Signed-off-by: Akihiko Odaki
---
ui/cocoa.m | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/ui/cocoa.m b/ui/cocoa.m
index ac18e14ce01..fdf52a7c2f7 100644
--- a/ui/cocoa.m
+++ b/ui/cocoa.m
@@
We can pass C/CPP/LD flags via CFLAGS/CXXFLAGS/LDFLAGS environment
variables, or via configure --extra-cflags / --extra-cxxflags /
--extra-ldflags options. Provide similar behavior for Objective C:
use existing flags from $OBJCFLAGS, or passed via --extra-objcflags.
Signed-off-by: Philippe Mathieu
Both hvf_get_segments/hvf_put_segments() functions are only
used within x86hvf.c: do not declare them as public API.
Reviewed-by: Roman Bolshakov
Tested-by: Roman Bolshakov
Signed-off-by: Philippe Mathieu-Daudé
---
target/i386/hvf/x86hvf.c | 4 ++--
target/i386/hvf/x86hvf.h | 2 --
2 files cha
From: Cameron Esfahani
No need to have our own definitions of these registers.
Signed-off-by: Cameron Esfahani
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé
---
target/i386/hvf/vmx.h | 17 +
target/i386/hvf/x86.c | 6 +++---
target/i386/
Few patches to be able to build QEMU on macOS 12 (Monterey).
Since v5:
- Fixed failed rebase between patches 10 and 16 (Akihiko)
- Include "ui/cocoa: Fix the leak of qemu_console_get_label"
Since v4:
- Use MAC_OS_X_VERSION_MIN_REQUIRED definition (Akihiko)
- Include patches from Akihiko
Since v3
Since we already use -Wno-unknown-pragmas, we can also use
-Wno-ignored-pragmas. This silences hundred of warnings using
clang 13 on macOS Monterey:
[409/771] Compiling C object
tests/fp/libtestfloat.a.p/berkeley-testfloat-3_source_test_az_f128_rx.c.o
../tests/fp/berkeley-testfloat-3/source/t
From: Akihiko Odaki
Signed-off-by: Akihiko Odaki
Message-Id: <20220213021418.2155-1-akihiko.od...@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé
---
ui/cocoa.m | 5 -
1 file changed, 5 deletions(-)
diff --git a/ui/cocoa.m b/ui/cocoa.m
index becca58cb7..6cadd43309 100644
--- a/ui/cocoa.m
From: Akihiko Odaki
Signed-off-by: Akihiko Odaki
Reviewed-by: Christian Schoenebeck
Reviewed-by: Philippe Mathieu-Daudé
Message-Id: <20220213021215.1974-1-akihiko.od...@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé
---
MAINTAINERS | 2 ++
1 file changed, 2 insertions(+)
diff --git a/MAIN
Run 'make lcitool-refresh' again.
Signed-off-by: Philippe Mathieu-Daudé
---
tests/docker/dockerfiles/ubuntu1804.docker | 2 --
tests/docker/dockerfiles/ubuntu2004.docker | 2 --
2 files changed, 4 deletions(-)
diff --git a/tests/docker/dockerfiles/ubuntu1804.docker
b/tests/docker/dockerfiles/u
When building on macOS 12 we get:
block/file-posix.c:3335:18: warning: 'IOMasterPort' is deprecated: first
deprecated in macOS 12.0 [-Wdeprecated-declarations]
kernResult = IOMasterPort( MACH_PORT_NULL, &masterPort );
^~~~
IOMainPort
Replace
When building on macOS 11 [*], we get:
In file included from ../target/i386/hvf/hvf.c:59:
../target/i386/hvf/vmx.h:174:5: error: 'hv_vcpu_flush' is deprecated: first
deprecated in macOS 11.0 - This API has no effect and always returns
HV_UNSUPPORTED [-Werror,-Wdeprecated-declarations]
When configuring QEMU with --enable-modules we get on macOS:
--- stderr ---
Dependency ui-dbus cannot be satisfied
ui-dbus depends on pixman and opengl, so add these dependencies
to audio-dbus.
Fixes: 739362d420 ("audio: add "dbus" audio backend")
Reviewed-by: Li Zhang
Signed-off-by: Philip
On 2/14/22 18:52, Daniel Henrique Barboza wrote:
On 2/14/22 14:34, Cédric Le Goater wrote:
On 2/11/22 19:33, Daniel Henrique Barboza wrote:
PPC_INTERRUPT_EBB is a new interrupt that will be used to deliver EBB
exceptions that had to be postponed because the thread wasn't in problem
state at t
When building on macOS 12 we get:
audio/coreaudio.c:50:5: error: 'kAudioObjectPropertyElementMaster' is
deprecated: first deprecated in macOS 12.0 [-Werror,-Wdeprecated-declarations]
kAudioObjectPropertyElementMaster
^
kAudioObjectPropertyElemen
From: Akihiko Odaki
Services menu functionality of Cocoa is described at:
https://developer.apple.com/design/human-interface-guidelines/macos/extensions/services/
Signed-off-by: Akihiko Odaki
Reviewed-by: Philippe Mathieu-Daudé
Tested-by: Philippe Mathieu-Daudé
Message-Id: <20220214091320.517
setAllowedFileTypes is deprecated in macOS 12.
Per Akihiko Odaki [*]:
An image file, which is being chosen by the panel, can be a
raw file and have a variety of file extensions and many are not
covered by the provided list (e.g. "udf"). Other platforms like
GTK can provide an option to op
From: Akihiko Odaki
Signed-off-by: Akihiko Odaki
Reviewed-by: Philippe Mathieu-Daudé
Message-Id: <20220213021329.2066-1-akihiko.od...@gmail.com>
[PMD: Use g_autofree, suggested by Zoltan BALATON]
Signed-off-by: Philippe Mathieu-Daudé
---
ui/cocoa.m | 4 +++-
1 file changed, 3 insertions(+), 1
Add support for macOS 12 build on Cirrus-CI, similarly to commit
0e103a65ba1 ("gitlab: support for ... macOS 11 via cirrus-run"),
but with the following differences:
- Enable modules (configure --enable-modules)
- Do not run softfloat3 tests (make check-softfloat)
- Run Aarch64 qtests instead of
On Tue, Feb 15, 2022 at 1:25 PM David Hildenbrand wrote:
>
> On 15.02.22 08:00, Ani Sinha wrote:
> >
> >
> > On Mon, 14 Feb 2022, David Hildenbrand wrote:
> >
> >> On 14.02.22 13:36, Igor Mammedov wrote:
> >>> On Mon, 14 Feb 2022 10:54:22 +0530 (IST)
> >>> Ani Sinha wrote:
> >>>
> Hi Igor:
>
On 2/15/22 04:16, Nicholas Piggin wrote:
Invalid or missing partition table entry exceptions should cause HV
interrupts. HDSISR is set to bad MMU config, which is consistent with
the ISA and experimentally matches what POWER9 generates.
Signed-off-by: Nicholas Piggin
Adding the previous R-b f
On Tue, Feb 15, 2022 at 04:19:01PM +0800, Gavin Shan wrote:
> The issue isn't related to CPU topology directly. It's actually related
> to the fact: the default NUMA node ID will be picked for one particular
> CPU if the associated NUMA node ID isn't provided by users explicitly.
> So it's related
On 1/28/22 3:05 PM, wangyanan (Y) via wrote
On 2022/1/26 17:14, Igor Mammedov wrote:
On Wed, 26 Jan 2022 13:24:10 +0800
Gavin Shan wrote:
The default CPU-to-NUMA association is given by mc->get_default_cpu_node_id()
when it isn't provided explicitly. However, the CPU topology isn't fully
cons
On 2/9/22 11:15, Thomas Huth wrote:
When running in TAP mode, stdout is reserved for the TAP protocol.
To see the "diff" of the failed test, we have to print it to
stderr instead.
Signed-off-by: Thomas Huth
---
tests/qemu-iotests/testrunner.py | 5 -
1 file changed, 4 insertions(+), 1 de
On 15.02.22 09:12, Ani Sinha wrote:
> On Tue, Feb 15, 2022 at 1:25 PM David Hildenbrand wrote:
>>
>> On 15.02.22 08:00, Ani Sinha wrote:
>>>
>>>
>>> On Mon, 14 Feb 2022, David Hildenbrand wrote:
>>>
On 14.02.22 13:36, Igor Mammedov wrote:
> On Mon, 14 Feb 2022 10:54:22 +0530 (IST)
> A
On 2/14/22 19:31, Philippe Mathieu-Daudé via wrote:
HexagonCPU field parent_class is of type CPUClass, which
is declared in "hw/core/cpu.h".
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Damien Hedde
---
target/hexagon/cpu.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/tar
Am 11.02.22 um 17:42 schrieb Hanna Reitz:
> On 11.02.22 17:31, Eric Blake wrote:
>> On Thu, Feb 10, 2022 at 02:31:19PM +0100, Fabian Ebner wrote:
>>> Adds support for reading from stdin and writing to stdout (when raw
>>> format is used), as well as overriding the size of the output and
>>> input i
This update is done to bring in the definition of VIRTIO_F_IN_ORDER
from Linux kernel's include/uapi/linux/virtio_config.h.
A patch was recently published to add VIRTIO_F_IN_ORDER's definition
in the Linux kernel on top of version 5.17-rc4
Signed-off-by: Gautam Dawar
---
include/standard-headers
Append the available ISA extensions to the "riscv,isa" string if it
is enabled so that kernel can process it.
Signed-off-by: Atish Patra
---
target/riscv/cpu.c | 23 ++-
1 file changed, 22 insertions(+), 1 deletion(-)
diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c
inde
On Mon, 14 Feb 2022 13:27:22 -0500
Vivek Goyal wrote:
> On Mon, Feb 14, 2022 at 02:58:20PM +0100, Greg Kurz wrote:
> > This adds the missing bits to support FUSE_SYNCFS in the case submounts
> > aren't announced to the client.
> >
> > Iterate over all inodes and call syncfs() on the ones marked
Hi Connie,
On 2/14/22 6:34 PM, Cornelia Huck wrote:
> On Mon, Feb 14 2022, Jean-Philippe Brucker wrote:
>
>> Replace the VIRTIO_IOMMU_F_BYPASS feature with
>> VIRTIO_IOMMU_F_BYPASS_CONFIG, which enables a config space bit to switch
>> global bypass on and off.
>>
>> Add a boot-bypass option, whic
On Mon, 14 Feb 2022 14:09:47 -0500
Vivek Goyal wrote:
> On Mon, Feb 14, 2022 at 01:56:08PM -0500, Vivek Goyal wrote:
> > On Mon, Feb 14, 2022 at 01:27:22PM -0500, Vivek Goyal wrote:
> > > On Mon, Feb 14, 2022 at 02:58:20PM +0100, Greg Kurz wrote:
> > > > This adds the missing bits to support FUSE
Ping ?
Thanks,
Laurent
On 03/02/2022 15:15, Laurent Vivier wrote:
This series adds more qtest test cases to test virtio-net failover feature.
New tests are focused on the behavior when the feature is not available.
Laurent Vivier (7):
tests/qtest: failover: clean up pathname of tests
te
Hi Jean,
On 2/14/22 1:43 PM, Jean-Philippe Brucker wrote:
> Replace the VIRTIO_IOMMU_F_BYPASS feature with
> VIRTIO_IOMMU_F_BYPASS_CONFIG, which enables a config space bit to switch
> global bypass on and off.
>
> Add a boot-bypass option, which defaults to 'on' to be in line with
> other vIOMMUs
Rohit Kumar writes:
> Qemu might crash when provided incomplete '-global' option.
> For example:
> qemu-system-x86_64 -global driver=isa-fdc
> qemu-system-x86_64: ../../devel/qemu/qapi/string-input-visitor.c:394:
> string_input_visitor_new: Assertion `str' failed.
>
The following changes since commit 2d88a3a595f1094e3ecc6cd2fd1e804634c84b0f:
Merge remote-tracking branch 'remotes/kwolf-gitlab/tags/for-upstream' into
staging (2022-02-14 19:54:00 +)
are available in the Git repository at:
https://gitlab.com/bonzini/qemu.git tags/for-upstream
for you
From: Gareth Webb
Signed-off-by: Gareth Webb
Message-Id: <164425598317.21902.425775915932975614...@git.sr.ht>
Signed-off-by: Paolo Bonzini
---
target/i386/cpu.c | 2 +-
target/i386/cpu.h | 4 +++-
target/i386/helper.c| 8 +++-
target/i386/tcg/translate.c | 15
Signed-off-by: Paolo Bonzini
---
block/meson.build | 47 +++---
configure | 73 ---
meson.build | 16
meson_options.txt | 16
scripts/meson-buildoptions.sh | 24
From: Peter Xu
QEMU can now easily crash with two continuous migration carried out:
(qemu) migrate -d exec:cat>out
(qemu) migrate_cancel
(qemu) migrate -d exec:cat>out
[crash] ../softmmu/memory.c:2782: memory_global_dirty_log_start: Assertion
`!(global_dirty_tracking & flags)' failed.
It's beca
From: Thomas Huth
When running in TAP mode, stdout is reserved for the TAP protocol.
To see the "diff" of the failed test, we have to print it to
stderr instead.
Signed-off-by: Thomas Huth
Message-Id: <20220209101530.3442837-8-th...@redhat.com>
Signed-off-by: Paolo Bonzini
---
tests/qemu-iote
The method is now in 0.59, using it simplifies some boolean conditions.
The other new methods .require() and .disable_auto_if() can be used too,
but introducing them is not just a matter of search-and-replace.
Signed-off-by: Paolo Bonzini
---
meson.build | 42 +-
For consistency with other tests, --enable-avx2 and --enable-avx512f
fail to compile on x86 systems if cpuid.h is not available.
Reviewed-by: Richard Henderson
Signed-off-by: Paolo Bonzini
---
configure | 103 --
meson.build
The check is simply for a POSIX system.
Signed-off-by: Paolo Bonzini
---
backends/tpm/meson.build | 14 ++
configure | 25 -
docs/devel/kconfig.rst| 2 +-
hw/acpi/meson.build | 4 +++-
meson.build
The method is now in 0.59, using it simplifies some conditionals.
There is a small change, which is to build virtfs-proxy-helper in a
tools-only build. This is done for consistency with other tools,
which are not culled by the absence of system emulator binaries.
.disable_auto_if() would also be
The test is a bit different from the others, in that it does not run
if $membarrier is empty. For meson, the default can simply be disabled;
if one day we will toggle the default, no change is needed in meson.build.
Signed-off-by: Paolo Bonzini
---
configure | 40 ---
Signed-off-by: Paolo Bonzini
---
configure | 36 ---
crypto/meson.build| 4 +++-
meson.build | 16 +++-
meson_options.txt | 2 ++
scripts/meson-buildoptions.sh | 3 +++
5 files changed, 23
Prepare for moving more compiler tests to Meson. If the full set
of compiler flags is needed in a cc.compiles/cc.links test, it will
be handy to have a variable analogous to QEMU_CFLAGS.
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Paolo Bonzini
---
meson.build | 13 +++--
1 file
Unlike image formats, these also require an entry in config-host.h.
Signed-off-by: Paolo Bonzini
---
block/meson.build | 4 +++-
configure | 20
meson.build | 11 ---
meson_options.txt | 4
migratio
Signed-off-by: Paolo Bonzini
---
configure | 26 ++
meson.build | 15 +--
meson_options.txt | 4
net/slirp.c | 16
scripts/meson-buildoptions.py | 1 +
scripts/meson-bui
Signed-off-by: Paolo Bonzini
---
configure | 31 ---
meson.build | 25 -
meson_options.txt | 2 ++
scripts/meson-buildoptions.sh | 3 +++
4 files changed, 25 insertions(+), 36 deletions(-)
dif
Signed-off-by: Paolo Bonzini
---
configure | 31 ---
meson.build | 11 +--
meson_options.txt | 4
scripts/meson-buildoptions.sh | 7 +++
4 files changed, 20 insertions(+), 33 deletions(-)
diff --git
Move LIBS_QGA to meson.build, remove dead QGA_VSS_PROVIDER variable.
Signed-off-by: Paolo Bonzini
---
configure | 7 ---
qga/meson.build | 25 +
2 files changed, 17 insertions(+), 15 deletions(-)
diff --git a/configure b/configure
index 54eb954296..ee7c4aed0a
The check should be performed even if !have_system, as long as there is some
hope that
vhost-user-gpu will be built. Store into have_vhost_user_gpu whether
vhost-user-gpu
will be built; we will also use the variable to decide whether to look for
libepoxy.
Signed-off-by: Paolo Bonzini
---
con
Signed-off-by: Paolo Bonzini
---
configure | 48 ++--
contrib/vhost-user-gpu/meson.build | 2 +-
docs/meson.build | 2 --
meson.build| 50 --
meson_options.txt
These do not depend on --with-default-features, so they become
booleans in meson too.
Signed-off-by: Paolo Bonzini
---
configure | 61 +-
crypto/meson.build | 2 +-
meson.build| 23 +
meson_options.
From: Marc-André Lureau
Signed-off-by: Marc-André Lureau
Reviewed-by: Konstantin Kostiuk
Signed-off-by: Paolo Bonzini
---
configure| 23 ---
meson.build | 18 +-
qga/commands-win32.c | 6 +++---
qga/meson.build | 2 +-
4 files ch
Signed-off-by: Paolo Bonzini
---
configure | 40 ---
meson.build | 16 +-
meson_options.txt | 2 ++
scripts/meson-buildoptions.sh | 3 +++
ui/meson.build| 16 +++---
5 files cha
On 15.02.22 10:48, Ani Sinha wrote:
> On Tue, Feb 15, 2022 at 3:14 PM David Hildenbrand wrote:
>>
>> On 15.02.22 10:40, Ani Sinha wrote:
>>> On Tue, Feb 15, 2022 at 2:08 PM David Hildenbrand wrote:
On 15.02.22 09:12, Ani Sinha wrote:
> On Tue, Feb 15, 2022 at 1:25 PM David Hildenbra
From: Marc-André Lureau
widl from mingw64-tools and wine can compile a TLB file.
Signed-off-by: Marc-André Lureau
Reviewed-by: Konstantin Kostiuk
Signed-off-by: Paolo Bonzini
---
qga/vss-win32/meson.build | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/qga/vss-wi
From: Marc-André Lureau
Microsoft midl compiler doesn't take "-options" form, nor does it take
OUTPUT filename. The -I option seems needless as well (at least with
VS15).
It's not clear what was actually used when it was introduced in commit
b39297aedfabe9.
strings says "Created by MIDL version
On Tue, Feb 15, 2022 at 3:14 PM David Hildenbrand wrote:
>
> On 15.02.22 10:40, Ani Sinha wrote:
> > On Tue, Feb 15, 2022 at 2:08 PM David Hildenbrand wrote:
> >>
> >> On 15.02.22 09:12, Ani Sinha wrote:
> >>> On Tue, Feb 15, 2022 at 1:25 PM David Hildenbrand
> >>> wrote:
>
> On 15.02
From: Marc-André Lureau
It's no longer used.
Signed-off-by: Marc-André Lureau
Signed-off-by: Paolo Bonzini
---
configure | 29 -
meson.build | 5 -
2 files changed, 34 deletions(-)
diff --git a/configure b/configure
index 4c9f3f7cb4..20968ca7ac 100755
--- a
Hi,
> I don't know what behavior should be if firmware tries to program
> PCI64 hole beyond supported phys-bits.
Well, you are basically f*cked.
Unfortunately there is no reliable way to figure what phys-bits actually
is. Because of that the firmware (both seabios and edk2) tries to place
the
On Tue, Feb 15, 2022 at 10:16:40AM +0100, Eric Auger wrote:
> Hi Connie,
>
> On 2/14/22 6:34 PM, Cornelia Huck wrote:
> > On Mon, Feb 14 2022, Jean-Philippe Brucker wrote:
> >
> >> Replace the VIRTIO_IOMMU_F_BYPASS feature with
> >> VIRTIO_IOMMU_F_BYPASS_CONFIG, which enables a config space bit t
From: Marc-André Lureau
The VSS headers are part of standard MS VS SDK, at least since version
15, and probably before that.
They are also included with MinGW, although currently broken.
Let's streamline a bit the options, by not making it so special, and
instead rely on proper system headers c
From: Marc-André Lureau
Stop using special paths with outdated headers from an old SDK.
Instead, use standard include paths.
You can still build against the old SDK by running configure with
--extra-cxxflags="-isystem /path/to/inc/win2003/"
(this also allows to build against MinGW headers, whi
This patch adds the ability to negotiate VIRTIO_F_IN_ORDER bit
for vhost-vdpa backend when the underlying device supports this
feature.
This would aid in reaping performance benefits with HW devices
that implement this feature. At the same time, it shouldn't have
any negative impact as vhost-vdpa b
On Tue, Feb 15, 2022 at 10:25:21AM +0100, Eric Auger wrote:
> Hi Jean,
>
> On 2/14/22 1:43 PM, Jean-Philippe Brucker wrote:
> > Replace the VIRTIO_IOMMU_F_BYPASS feature with
> > VIRTIO_IOMMU_F_BYPASS_CONFIG, which enables a config space bit to switch
> > global bypass on and off.
> >
> > Add a bo
From: Marc-André Lureau
There are no good reason anymore to keep a pre-built file in the repository.
Signed-off-by: Marc-André Lureau
Reviewed-by: Philippe Mathieu-Daudé
Reviewed-by: Konstantin Kostiuk
Signed-off-by: Paolo Bonzini
---
meson.build | 4
qga/meson.build
From: Marc-André Lureau
C++ presence is checked by the qga/ directory, so it can be assumed
when building VSS module.
Signed-off-by: Marc-André Lureau
Reviewed-by: Konstantin Kostiuk
Signed-off-by: Paolo Bonzini
---
qga/vss-win32/meson.build | 41 +++
1 fi
Hi Atish,
Am Dienstag, 15. Februar 2022, 10:05:30 CET schrieb Atish Patra:
> Append the available ISA extensions to the "riscv,isa" string if it
> is enabled so that kernel can process it.
For people glancing at these patches, a bit more insight into
how the isa string comes together might be hel
Signed-off-by: Paolo Bonzini
---
configure | 4 +---
meson.build | 12
meson_options.txt | 2 ++
scripts/meson-buildoptions.py | 1 +
4 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/configure b/configure
index 33002
On 2/15/22 04:16, Nicholas Piggin wrote:
In prepartion for implementing a full partition table option for
vhyp, update the get_pate method to take an lpid and return a
success/fail indicator.
The spapr implementation currently just asserts lpid is always 0
and always return success.
Signed-off-
From: Marc-André Lureau
The glib_dynamic detection does not work because the dependency is
overridden in the main meson.build.
Signed-off-by: Marc-André Lureau
[Rewritten commit message, added requirement in qga/meson.build - Paolo]
Reviewed-by: Philippe Mathieu-Daudé
Reviewed-by: Konstantin K
On 2/15/22 04:16, Nicholas Piggin wrote:
The radix on vhyp MMU uses a single-level radix table walk, with the
partition scope mapping provided by the flat QEMU machine memory.
A subsequent change will use the two-level radix walk on vhyp in some
situations, so provide a helper which can abstract
On Tue, Feb 15, 2022 at 2:08 PM David Hildenbrand wrote:
>
> On 15.02.22 09:12, Ani Sinha wrote:
> > On Tue, Feb 15, 2022 at 1:25 PM David Hildenbrand wrote:
> >>
> >> On 15.02.22 08:00, Ani Sinha wrote:
> >>>
> >>>
> >>> On Mon, 14 Feb 2022, David Hildenbrand wrote:
> >>>
> On 14.02.22 13:3
On 2/15/22 04:16, Nicholas Piggin wrote:
The virtual hypervisor currently always intercepts and handles
hypercalls but with a future change this will not always be the case.
Add a helper for the test so the logic is abstracted from the mechanism.
Signed-off-by: Nicholas Piggin
Reviewed-by: C
On Mon, Feb 14, 2022 at 8:28 PM Eugenio Pérez wrote:
>
> This allows qemu to inject packets to the device without guest's notice.
>
> This will be use to inject net CVQ messages to restore status in the
> destination
>
> Signed-off-by: Eugenio Pérez
> ---
> hw/virtio/vhost-shadow-virtqueue.h |
On 15.02.22 10:40, Ani Sinha wrote:
> On Tue, Feb 15, 2022 at 2:08 PM David Hildenbrand wrote:
>>
>> On 15.02.22 09:12, Ani Sinha wrote:
>>> On Tue, Feb 15, 2022 at 1:25 PM David Hildenbrand wrote:
On 15.02.22 08:00, Ani Sinha wrote:
>
>
> On Mon, 14 Feb 2022, David Hildenbr
Hi,
I'm wondering if there are rules or convention about what we put in the
instance_init() vs realize() for simple devices ? (For complex ones we
generally have no choice to put everything in realize())
For example we can declare irqs and mmios in instance_init() or
realize() if they do not
On 2/15/22 04:16, Nicholas Piggin wrote:
This moves the logic to reset the QEMU exception state into its own
function.
Signed-off-by: Nicholas Piggin
Reviewed-by: Cédric Le Goater
Thanks,
C.
---
target/ppc/excp_helper.c | 41
1 file changed,
Hi,
In an SMP system like the sifive_u machine which has a RISCV e_cpu as
hart0 and a set of u_cpus as hart 1-N, is there a way to start just the
hart0 and hold the other CPUs in reset until explicitly released by hart0
SW?
I am working on a machine similar to the sifive_u machine that has a se
On Tue, Feb 15, 2022 at 09:38:34AM +0100, David Hildenbrand wrote:
> On 15.02.22 09:12, Ani Sinha wrote:
> > On Tue, Feb 15, 2022 at 1:25 PM David Hildenbrand wrote:
> >>
> >> On 15.02.22 08:00, Ani Sinha wrote:
> >>>
> >>>
> >>> On Mon, 14 Feb 2022, David Hildenbrand wrote:
> >>>
> On 14.02.
This adds vduse header to linux headers so that the
relevant VDUSE API can be used in subsequent patches.
Signed-off-by: Xie Yongji
---
linux-headers/linux/vduse.h | 306
scripts/update-linux-headers.sh | 2 +-
2 files changed, 307 insertions(+), 1 deletion
This supports passing NULL ops to blk_set_dev_ops()
so that we can remove stale ops in some cases.
Signed-off-by: Xie Yongji
---
block/block-backend.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/block/block-backend.c b/block/block-backend.c
index 4ff6b4d785..08dd0a3093 10
Hi all,
Last few months ago, VDUSE (vDPA Device in Userspace) [1] has
been merged into Linux kernel as a framework that make it
possible to emulate a vDPA device in userspace. This series
aimed at implementing a VDUSE block backend based on the
qemu-storage-daemon infrastructure.
To support that,
To support block resize, this uses vduse_dev_update_config()
to update the capacity field in configuration space and inject
config interrupt on the block resize callback.
Signed-off-by: Xie Yongji
---
block/export/vduse-blk.c | 20
1 file changed, 20 insertions(+)
diff --gi
VDUSE [1] is a linux framework that makes it possible to implement
software-emulated vDPA devices in userspace. This adds a library
as a subproject to help implementing VDUSE backends in QEMU.
[1] https://www.kernel.org/doc/html/latest/userspace-api/vduse.html
Signed-off-by: Xie Yongji
---
meso
To support reconnecting after restart or crash, VDUSE backend
might need to resubmit inflight I/Os. This stores the metadata
such as the index of inflight I/O's descriptors to a shm file so
that VDUSE backend can restore them during reconnecting.
Signed-off-by: Xie Yongji
---
block/export/vduse-
This implements a VDUSE block backends based on
the libvduse library. We can use it to export the BDSs
for both VM and container (host) usage.
The new command-line syntax is:
$ qemu-storage-daemon \
--blockdev file,node-name=drive0,filename=test.img \
--export vduse-blk,node-name=drive0,i
On Tue, 15 Feb 2022 at 10:30, vysakh pillai wrote:
>
> Hi,
> In an SMP system like the sifive_u machine which has a RISCV e_cpu as hart0
> and a set of u_cpus as hart 1-N, is there a way to start just the hart0 and
> hold the other CPUs in reset until explicitly released by hart0 SW?
>
> I am
On 15/2/22 11:19, Damien Hedde wrote:
Hi,
I'm wondering if there are rules or convention about what we put in the
instance_init() vs realize() for simple devices ? (For complex ones we
generally have no choice to put everything in realize())
See Peter's recommendations here:
https://www.mail
On Tue, 15 Feb 2022 at 10:32, Damien Hedde wrote:
> I'm wondering if there are rules or convention about what we put in the
> instance_init() vs realize() for simple devices ? (For complex ones we
> generally have no choice to put everything in realize())
>
> For example we can declare irqs and mm
On Sat, 12 Feb 2022 at 00:07, Alistair Francis
wrote:
>
> From: Alistair Francis
>
> The following changes since commit 0a301624c2f4ced3331ffd5bce85b4274fe132af:
>
> Merge remote-tracking branch
> 'remotes/pmaydell/tags/pull-target-arm-20220208' into staging (2022-02-08
> 11:40:08 +)
>
>
Looking for QEMU support in emulating ATC inside pcie EP (emulated). So
that ATC behaviour can be modelled, deriving right set of ATC parameters
and the right caching algorithm.
Looked at patches
https://lists.nongnu.org/archive/html/qemu-devel/2016-11/msg00642.html
where ATS support has been ad
On Tue, Feb 15 2022, Jean-Philippe Brucker wrote:
> On Tue, Feb 15, 2022 at 10:16:40AM +0100, Eric Auger wrote:
>> Hi Connie,
>>
>> On 2/14/22 6:34 PM, Cornelia Huck wrote:
>> > On Mon, Feb 14 2022, Jean-Philippe Brucker
>> > wrote:
>> >
>> >> Replace the VIRTIO_IOMMU_F_BYPASS feature with
>>
Few fixes to be able to use GCC extensions which are not
available on Clang.
Philippe Mathieu-Daudé (4):
osdep: Avoid using Clang-specific __builtin_available()
osdep: Un-inline qemu_thread_jit_execute/write
audio: Rename coreaudio extension to use Objective-C compiler
ui/cocoa: Ignore 'in
Replace MAC_OS_X_VERSION_MAX_ALLOWED upper check by the lower
one (MAC_OS_X_VERSION_MIN_REQUIRED) and remove the Clang specific
__builtin_available() to allow building with GCC.
Remove the Clang specific __builtin_available() to allow building
with GCC, otherwise we get:
include/qemu/osdep.h: I
qemu_thread_jit_execute() and qemu_thread_jit_write() call
pthread_jit_write_protect_np() which is declared in "pthread.h".
Since we don't want all C files to preprocess unused headers,
avoid adding yet another header here and move the function
definitions to osdep.c, un-inlining them.
Signed-off-
We globally ignore the 'initializer overrides' warnings in C code
since commit c1556a812a ("configure: Disable (clang)
initializer-overrides warnings"). Unfortunately the ${gcc_flags}
variable is not propagated to Objective-C flags ($OBJCFLAGS).
Instead of reworking the configure script to test all
1 - 100 of 391 matches
Mail list logo