On 7/15/22 12:18, Xiaojuan Yang wrote:
We should config cpucfg[20] to set value for the scache's ways, sets,
and size arguments when loongarch cpu init. However, the old code
wirte 'sets argument' twice, so we change one of them to 'size argument'.
Signed-off-by: Xiaojuan Yang
Queued.
r~
Since below KVM commit, KVM hided BTS as it's not supported yet.
b9181c8ef356 ("KVM: x86/pmu: Avoid exposing Intel BTS feature")
After below KVM commit, it gave control of MSR_IA32_MISC_ENABLES to userspace.
9fc222967a39 ("KVM: x86: Give host userspace full control of
MSR_IA32_MISC_ENABLES")
So
From: Philippe Mathieu-Daudé
Per
https://discourse.gnome.org/t/port-your-module-from-g-memdup-to-g-memdup2-now/5538
The old API took the size of the memory to duplicate as a guint,
whereas most memory functions take memory sizes as a gsize. This
made it easy to accidentally pass a gsize t
From: John Snow
In some container environments, there may be references to block devices
witnessable from a container through /proc/self/mountinfo that reference
devices we simply don't have access to in the container, and cannot
provide information about.
Instead of failing the entire fsinfo co
Hi!
The following changes since commit 782378973121addeb11b13fd12a6ac2e69faa33f:
Merge tag 'pull-target-arm-20220718' of
https://git.linaro.org/people/pmaydell/qemu-arm into staging (2022-07-18
16:29:32 +0100)
are available in the Git repository at:
https://gitlab.com/thuth/qemu.git tags
From: John Snow
18.04 has fallen out of our support window, so move ubuntu.aarch64
forward to ubuntu 20.04, which is now our oldest supported Ubuntu
release.
Notes:
This checksum changes periodically; use a fixed point image with a known
checksum so that the image isn't re-downloaded on every s
'returns-whitelist' has been renamed to 'command-returns-exceptions' in
commit b86df3747848 ("qapi: Rename pragma *-whitelist to *-exceptions").
Message-Id: <20220711095721.61280-1-th...@redhat.com>
Reviewed-by: John Snow
Signed-off-by: Thomas Huth
---
python/qemu/qmp/legacy.py | 2 +-
1 file c
From: John Snow
If the initial setup fails, you've permanently altered the state of the
downloaded image in an unknowable way. Use 'cp' like our other test
setup scripts do.
Signed-off-by: John Snow
Reviewed-by: Thomas Huth
Reviewed-by: Daniel P. Berrangé
Reviewed-by: Richard Henderson
Messa
From: John Snow
The old CentOS image didn't work anymore because it was already EOL at
the beginning of 2022.
Signed-off-by: John Snow
Reviewed-by: Thomas Huth
Reviewed-by: Daniel P. Berrangé
Reviewed-by: Richard Henderson
Message-Id: <20220708153503.18864-4-js...@redhat.com>
Signed-off-by:
From: John Snow
If you try to run a 16 or 32 threaded test, you're going to run out of
memory very quickly with qom-test and a few others. Bump the memory
limit to try to scale with larger-core machines.
Granted, this means that a 16 core processor is going to ask for 16GB,
but you *probably* me
Het Gala writes:
> On 18/07/22 8:03 pm, Markus Armbruster wrote:
>> Het Gala writes:
>>
>>> On 18/07/22 2:05 pm, Markus Armbruster wrote:
Het Gala writes:
> i) Modified the format of the qemu monitor command : 'migrate' by adding
> a list,
> each element in the list
From: John Snow
This is listed twice by accident; we require genisoimage to run the
test, so remove the unconditional entry.
Signed-off-by: John Snow
Reviewed-by: Thomas Huth
Reviewed-by: Daniel P. Berrangé
Reviewed-by: Richard Henderson
Message-Id: <20220708153503.18864-8-js...@redhat.com>
From: Song Gao
Update the cpu_maps[] to support the LoongArch target.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20220713020258.601424-1-gaos...@loongson.cn>
Signed-off-by: Thomas Huth
---
tests/qtest/machine-none-test.c | 1 +
1 file changed, 1 insertion(+)
diff --
From: John Snow
The fedora container has since been split apart, so there's no suitable
nearby target that would support "test-mingw" as it requires both x32
and x64 support -- so either fedora-cross-win32 nor fedora-cross-win64
would be truly suitable.
Just remove this test as superfluous with
On Sun, Jul 17, 2022 at 8:17 PM Alexey Baturo wrote:
>
> From: Alexey Baturo
>
> Signed-off-by: Alexey Baturo
Thanks!
Applied to riscv-to-apply.next
Alistair
> ---
> target/riscv/translate.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/target/riscv/translate.c b/
On 7/16/22 14:24, Song Gao wrote:
LoongArch system follows IEEE754-2008 specificationa. The (inf,zero,nan)
case sets InvalidOp and returns the input value 'c', and Prefer sNaN
over qNaN, in the c, a, b order.
Signed-off-by: Song Gao
Yep, matches paragraph 3 of 3.1.1.3. Non-numerical Result of
A recent commit moved some Haiku-specific code parts from oslib-posix.c
to cutils.c, but failed to move the corresponding header #include
statement, too, so "make vm-build-haiku.x86_64" is currently broken.
Fix it by moving the header #include, too.
Fixes: 06680b15b4 ("include: move qemu_*_exec_di
Let's use more inclusive language here and avoid terms
that are frowned upon nowadays.
Message-Id: <20220711095300.60462-1-th...@redhat.com>
Reviewed-by: John Snow
Reviewed-by: Alex Bennée
Signed-off-by: Thomas Huth
---
docs/devel/submitting-a-patch.rst | 2 +-
docs/tools/qemu-nbd.rst
From: John Snow
Ubuntu 18.04 is out of our support window, and Ubuntu 20.04 does not
support i386 anymore. The debian project does, but they do not provide
any cloud images for it, a new expect-style script would have to be
written.
Since we have i386 cross-compiler tests hosted on GitLab CI, we
On 7/16/22 14:24, Song Gao wrote:
We should result zero when exception is invalid and operation is nan
Signed-off-by: Song Gao
---
target/loongarch/fpu_helper.c | 143 +++---
1 file changed, 80 insertions(+), 63 deletions(-)
diff --git a/target/loongarch/fpu_help
marcandre.lur...@redhat.com writes:
> From: Marc-André Lureau
>
> Remove the direct dependency from error-report to monitor code.
> This will allow to move error-report to a subproject.
>
> Signed-off-by: Marc-André Lureau
Reviewed-by: Markus Armbruster
marcandre.lur...@redhat.com writes:
> From: Marc-André Lureau
>
> Signed-off-by: Marc-André Lureau
> ---
> stubs/error-printf.c | 5 -
> 1 file changed, 5 deletions(-)
>
> diff --git a/stubs/error-printf.c b/stubs/error-printf.c
> index 0e326d801059..1afa0f62ca26 100644
> --- a/stubs/error-
On 7/19/22 12:42, Richard Henderson wrote:
On 7/16/22 14:24, Song Gao wrote:
We should result zero when exception is invalid and operation is nan
Signed-off-by: Song Gao
---
target/loongarch/fpu_helper.c | 143 +++---
1 file changed, 80 insertions(+), 63 deletion
On 7/16/22 14:24, Song Gao wrote:
Hi, All
This series adds some float reference files, fixes some
float_convd/float_convs/float_madds bugs, and adds some
instructions tests.
Thanks.
Song Gao
Queued all of these. I added the #ifdef for pickNaN to patch 2, and I have left patch 3
as is. (My
On 7/13/22 07:32, Song Gao wrote:
Update the cpu_maps[] to support the LoongArch target.
Signed-off-by: Song Gao
---
tests/qtest/machine-none-test.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/qtest/machine-none-test.c b/tests/qtest/machine-none-test.c
index d0f8cd9902..f92fab4
在 2022/7/16 01:05, Eugenio Perez Martin 写道:
On Fri, Jul 15, 2022 at 10:48 AM Jason Wang wrote:
On Fri, Jul 15, 2022 at 1:39 PM Eugenio Perez Martin
wrote:
On Fri, Jul 15, 2022 at 5:59 AM Jason Wang wrote:
On Fri, Jul 15, 2022 at 12:32 AM Eugenio Pérez wrote:
It allows the Shadow Control
On 7/12/22 14:02, Xiaojuan Yang wrote:
Add fw_cfg table for loongarch virt machine, including memmap table.
Signed-off-by: Xiaojuan Yang
---
hw/loongarch/fw_cfg.c | 33 ++
hw/loongarch/fw_cfg.h | 15
hw/loongarch/loongson3.c| 47 ++
On 19/07/22 12:36 pm, Markus Armbruster wrote:
Het Gala writes:
On 18/07/22 8:03 pm, Markus Armbruster wrote:
Het Gala writes:
On 18/07/22 2:05 pm, Markus Armbruster wrote:
Het Gala writes:
i) Modified the format of the qemu monitor command : 'migrate' by adding a list,
each el
The following changes since commit d2066bc50d690a6605307eaf0e72a9cf51e6fc25:
target/ppc: Check page dir/table base alignment (2022-07-18 13:59:43 -0300)
are available in the Git repository at:
g...@github.com:aik/qemu.git tags/qemu-slof-20220719
for you to fetch changes up to
...@github.com:aik/qemu.git tags/qemu-slof-20220719
for you to fetch changes up to 17c1ad657904787b1d986fb4c85431fee006a6ea:
pseries: Update SLOF firmware image (2022-07-19 17:50:46 +1000)
Alexey Kardashevskiy (1):
pseries: Update SLOF
Originally we have to get all the vCPU registers and parse the
specified one. To improve the performance of this usage, allow user
specified vCPU id to query registers.
Run a VM with 16 vCPU, use bcc tool to track the latency of
'hmp_info_registers':
'info registers -a' uses about 3ms;
'info regis
On 7/12/22 14:02, Xiaojuan Yang wrote:
Add uefi bios loading support, now only uefi bios is porting to
loongarch virt machine.
Signed-off-by: Xiaojuan Yang
---
hw/loongarch/loongson3.c| 34 ++
include/hw/loongarch/virt.h | 4
2 files changed, 38 inse
On 7/12/22 14:02, Xiaojuan Yang wrote:
Add smbios support for loongarch virt machine, and put them into fw_cfg
table so that bios can parse them quickly. The weblink of smbios spec:
https://www.dmtf.org/dsp/DSP0134, the version is 3.6.0.
Signed-off-by: Xiaojuan Yang
---
hw/loongarch/Kconfig
It's possible to create non-working configurations by attaching a device
to a derivative of PCIe slot (pcie-root-port, ioh3420, etc) and
specifying a slot number other that zero, e.g.:
-device pcie-root-port,id=s0,... \
-device virtio-blk-pci,bus=s0,addr=4,...
Make QEMU reject such config
Hi Chao,
Some comments below:
If CONFIG_HAVE_KVM_PRIVATE_MEM=y, userspace can register/unregister the
guest private memory regions through KVM_MEMORY_ENCRYPT_{UN,}REG_REGION
ioctls. The patch reuses existing SEV ioctl but differs that the
address in the region for private memory is gpa while SE
On 7/12/22 14:02, Xiaojuan Yang wrote:
There are two situations to start system by kernel file. If exists bios
option, system will boot from loaded bios file, else system will boot
from hardcoded auxcode, and jump to kernel elf entry.
Signed-off-by: Xiaojuan Yang
---
hw/loongarch/loongson3.c |
On 7/12/22 14:02, Xiaojuan Yang wrote:
Loongarch virt machine uses general hardware reduces acpi method, rather
than LS7A acpi device. Now only power management function is used in
acpi ged device, memory hotplug will be added later. Also acpi tables
such as RSDP/RSDT/FADT etc.
The acpi table ha
Hi Michael,
Would you help review these patches, I wonder if this is ok to merge?
please let me know if there is anything I need to do.
Thanks
Cindy
On Mon, Jul 11, 2022 at 11:53 PM Cindy Lu wrote:
>
> These patches introduced the support for configure interrupt
>
> These codes are tested on x
On 7/12/22 14:02, Xiaojuan Yang wrote:
Add LoongArch flatted device tree, adding cpu device node, firmware cfg node,
pcie node into it, and create fdt rom memory region. Now fdt info is not
full since only uefi bios uses fdt, linux kernel does not use fdt.
Loongarch Linux kernel uses acpi table w
On 7/12/22 14:02, Xiaojuan Yang wrote:
This series add some new funcitons for LoongArch virt machine.
Support loading uefi bios and linux kernel to boot system, and
add fw_cfg table, smbios table, acpi table, fdt table to transmit
information for the system.
We could get the uefi bios and linux
On Mon, Jul 18, 2022 at 03:14:37PM -0400, Peter Xu wrote:
> Hi, Thomas,
>
> On Mon, Jul 18, 2022 at 08:23:26PM +0200, Thomas Huth wrote:
> > On 07/07/2022 20.46, Peter Xu wrote:
> > > We used to stop running all tests if uffd is not detected. However
> > > logically that's only needed for postcop
On 19/07/2022 10.26, Bin Meng wrote:
Since commit fbf43c7dbf18 ("target/riscv: enable riscv kvm accel"),
KVM accelerator is supported on RISC-V. Let's document it.
Signed-off-by: Bin Meng
---
docs/about/build-platforms.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/
On Tue, 19 Jul 2022 12:22:14 +0530
Richard Henderson wrote:
> On 7/19/22 12:16, Richard Henderson wrote:
> > On 7/15/22 11:37, Xiaojuan Yang wrote:
> >> In loongarch_cpu_class_by_name(char *cpu_model) function,
> >> the argument cpu_model already has the suffix '-loongarch-cpu',
> >> so we shou
On Tue, Jul 19, 2022 at 9:38 AM Jason Wang wrote:
>
>
> 在 2022/7/16 01:05, Eugenio Perez Martin 写道:
> > On Fri, Jul 15, 2022 at 10:48 AM Jason Wang wrote:
> >> On Fri, Jul 15, 2022 at 1:39 PM Eugenio Perez Martin
> >> wrote:
> >>> On Fri, Jul 15, 2022 at 5:59 AM Jason Wang wrote:
> On Fri,
On Tue, Jul 19, 2022 at 4:42 PM Eugenio Perez Martin
wrote:
>
> On Tue, Jul 19, 2022 at 9:38 AM Jason Wang wrote:
> >
> >
> > 在 2022/7/16 01:05, Eugenio Perez Martin 写道:
> > > On Fri, Jul 15, 2022 at 10:48 AM Jason Wang wrote:
> > >> On Fri, Jul 15, 2022 at 1:39 PM Eugenio Perez Martin
> > >> w
On Mon, 18 Jul 2022 at 18:22, Daniel Henrique Barboza
wrote:
>
> The following changes since commit 782378973121addeb11b13fd12a6ac2e69faa33f:
>
> Merge tag 'pull-target-arm-20220718' of
> https://git.linaro.org/people/pmaydell/qemu-arm into staging (2022-07-18
> 16:29:32 +0100)
>
> are availab
在 2022/7/11 23:52, Cindy Lu 写道:
To support configure interrupt for vhost-vdpa
Introduce VIRTIO_CONFIG_IRQ_IDX -1 as configure interrupt's queue index,
Then we can reuse the functions guest_notifier_mask and guest_notifier_pending.
Add the check of queue index in these drivers, if the driver doe
On Tue, Jul 19, 2022 at 10:49 AM Jason Wang wrote:
>
> On Tue, Jul 19, 2022 at 4:42 PM Eugenio Perez Martin
> wrote:
> >
> > On Tue, Jul 19, 2022 at 9:38 AM Jason Wang wrote:
> > >
> > >
> > > 在 2022/7/16 01:05, Eugenio Perez Martin 写道:
> > > > On Fri, Jul 15, 2022 at 10:48 AM Jason Wang wrote:
Queued, thanks.
Paolo
The following changes since commit 0ebf76aae58324b8f7bf6af798696687f5f4c2a9:
Merge tag 'nvme-next-pull-request' of git://git.infradead.org/qemu-nvme into
staging (2022-07-15 15:38:13 +0100)
are available in the Git repository at:
https://gitlab.com/bonzini/qemu.git tags/for-upstream
for yo
The next version of Linux will introduce boolean statistics, which
can only have 0 or 1 values. Support them in the schema and in
the HMP command.
Suggested-by: Amneesh Singh
Signed-off-by: Paolo Bonzini
---
monitor/hmp-cmds.c | 2 ++
qapi/stats.json| 4 +++-
2 files changed, 5 insertions(
From: Thomas Huth
A recent commit moved some Haiku-specific code parts from oslib-posix.c
to cutils.c, but failed to move the corresponding header #include
statement, too, so "make vm-build-haiku.x86_64" is currently broken.
Fix it by moving the header #include, too.
Fixes: 06680b15b4 ("include:
The next version of Linux will introduce boolean statistics, which
can only have 0 or 1 values. Convert them to the new QAPI fields
added in the previous commit.
Signed-off-by: Paolo Bonzini
---
accel/kvm/kvm-all.c | 10 +-
linux-headers/linux/kvm.h | 1 +
2 files changed, 10 ins
Het Gala writes:
> On 19/07/22 12:36 pm, Markus Armbruster wrote:
>> Het Gala writes:
>>
>>> On 18/07/22 8:03 pm, Markus Armbruster wrote:
Het Gala writes:
> On 18/07/22 2:05 pm, Markus Armbruster wrote:
>> Het Gala writes:
>>
>>> i) Modified the format of the qemu mo
This patchset adds support for AArch64/HMAT including a test.
It relies on other two patch sets from:
Brice Goglin: to support -numa without initiators on q35/x86.
https://lore.kernel.org/all/ed23accb-2c8b-90f4-a7a3-f81cc57bf...@inria.fr/
Xiang Chen: to enable/support HMAT on AArch64.
https:/
From: Brice Goglin
The "Memory Proximity Domain Attributes" structure of the ACPI HMAT
has a "Processor Proximity Domain Valid" flag that is currently
always set because Qemu -numa requires an initiator=X value
when hmat=on. Unsetting this flag allows to create more complex
memory topologies by h
From: Brice Goglin
expected HMAT:
[000h 4]Signature : "HMAT"[Heterogeneous Memory
Attributes Table]
[004h 0004 4] Table Length : 0120
[008h 0008 1] Revision : 02
[009h 0009 1] Checksum : 4F
[00Ah 0
From: Xiang Chen
Since the patchset ("Build ACPI Heterogeneous Memory Attribute Table (HMAT)"),
HMAT is supported, but only x86 is enabled. Enable HMAT on arm virt machine.
Signed-off-by: Xiang Chen
Signed-off-by: Hesham Almatary
Reviewed-by: Igor Mammedov
---
hw/arm/Kconfig | 1 +
Signed-off-by: Hesham Almatary
---
tests/data/acpi/virt/APIC.acpihmatvirt | 0
tests/data/acpi/virt/DSDT.acpihmatvirt | 0
tests/data/acpi/virt/HMAT.acpihmatvirt | 0
tests/data/acpi/virt/PPTT.acpihmatvirt | 0
tests/data/acpi/virt/SRAT.acpihmatvirt | 0
tests/qtest/bios-
From: Brice Goglin
.. which will be used by follow up hmat-noinitiator test-case.
Signed-off-by: Brice Goglin
Signed-off-by: Hesham Almatary
---
tests/data/acpi/q35/APIC.acpihmat-noinitiator | 0
tests/data/acpi/q35/DSDT.acpihmat-noinitiator | 0
tests/data/acpi/q35/HMAT.acpihmat-noinitiator
* Expected ACPI Data Table [HMAT]
[000h 4]Signature : "HMAT"[Heterogeneous
Memory Attributes Table]
[004h 0004 4] Table Length : 0120
[008h 0008 1] Revision : 02
[009h 0009 1] Checksum : 4F
[00Ah 0010
This patch imitates the "tests: acpi: q35: add test for hmat nodes
without initiators" commit to test numa nodes with different HMAT
attributes, but on AArch64/virt.
Tested with:
qemu-system-aarch64 -accel tcg \
-machine virt,hmat=on,gic-version=3 -cpu cortex-a57 \
-bios qemu-efi-aarch64/QEMU_EFI
From: Brice Goglin
expected HMAT:
[000h 4]Signature : "HMAT"[Heterogeneous Memory
Attributes Table]
[004h 0004 4] Table Length : 0120
[008h 0008 1] Revision : 02
[009h 0009 1] Checksum : 4F
[00Ah 00
vhost-vdpa control virtqueue needs to know the maximum entries supported
by the virtio-net device, so we know if it is possible to apply the
filter.
Signed-off-by: Eugenio Pérez
---
include/hw/virtio/virtio-net.h | 3 +++
hw/net/virtio-net.c| 1 -
2 files changed, 3 insertions(+), 1
On 12.07.22 18:46, Jason A. Donenfeld wrote:
> In order for hosts running inside of TCG to initialize the kernel's
> random number generator, we should support the PRNO_TRNG instruction,
> backed in the usual way with the qemu_guest_getrandom helper. This is
> confirmed working on Linux 5.19-rc6.
>
It's done for both in and out descriptors so it's better placed here.
Acked-by: Jason Wang
Signed-off-by: Eugenio Pérez
---
hw/virtio/vhost-shadow-virtqueue.c | 38 +-
1 file changed, 27 insertions(+), 11 deletions(-)
diff --git a/hw/virtio/vhost-shadow-virtqueue.c
It allows the Shadow Control VirtQueue to wait for the device to use the
available buffers.
Signed-off-by: Eugenio Pérez
---
hw/virtio/vhost-shadow-virtqueue.h | 1 +
hw/virtio/vhost-shadow-virtqueue.c | 27 +++
2 files changed, 28 insertions(+)
diff --git a/hw/virtio/v
Control virtqueue is used by networking device for accepting various
commands from the driver. It's a must to support advanced configurations.
Rx filtering event is issues by qemu when device's MAC address changed once and
the previous one has not been queried by external agents.
Shadow VirtQueue
Shadow CVQ will copy buffers on qemu VA, so we avoid TOCTOU attacks from
the guest that could set a different state in qemu device model and vdpa
device.
To do so, it needs to be able to map these new buffers to the device.
Signed-off-by: Eugenio Pérez
Acked-by: Jason Wang
---
include/hw/virti
Register private memslot to fd-based memory backing store and handle the
memfile notifiers to zap the existing mappings.
Currently the register is happened at memslot creating time and the
initial support does not include page migration/swap.
KVM_MEM_PRIVATE is not exposed by default, architectu
This allows external vhost-net devices to modify the state of the
VirtIO device model once the vhost-vdpa device has acknowledged the
control commands.
Signed-off-by: Eugenio Pérez
---
include/hw/virtio/virtio-net.h | 4 ++
hw/net/virtio-net.c| 84 --
This allows external parts of SVQ to forward custom buffers to the
device.
Signed-off-by: Eugenio Pérez
---
hw/virtio/vhost-shadow-virtqueue.h | 3 +++
hw/virtio/vhost-shadow-virtqueue.c | 6 +++---
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/hw/virtio/vhost-shadow-virtqueue.h
Introduce the control virtqueue support for vDPA shadow virtqueue. This
is needed for advanced networking features like rx filtering.
Virtio-net control VQ copies the descriptors to qemu's VA, so we avoid
TOCTOU with the guest's or device's memory every time there is a device
model change. Otherw
The series needs to expose vhost_svq_add with full functionality,
including kick
Signed-off-by: Eugenio Pérez
---
hw/virtio/vhost-shadow-virtqueue.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/virtio/vhost-shadow-virtqueue.c
b/hw/virtio/vhost-shadow-virtqueue.c
index
In the next patch we will allow busypolling of this value. The compiler
have a running path where shadow_used_idx, last_used_idx, and vring used
idx are not modified within the same thread busypolling.
This was not an issue before since we always cleared device event
notifier before checking it, a
This will allow SVQ to add context to the different queue elements.
This patch only store the actual element, no functional change intended.
Signed-off-by: Eugenio Pérez
---
hw/virtio/vhost-shadow-virtqueue.h | 8 ++--
hw/virtio/vhost-shadow-virtqueue.c | 16
2 files chang
This function allows external SVQ users to return guest's available
buffers.
Signed-off-by: Eugenio Pérez
---
hw/virtio/vhost-shadow-virtqueue.h | 3 +++
hw/virtio/vhost-shadow-virtqueue.c | 16
2 files changed, 19 insertions(+)
diff --git a/hw/virtio/vhost-shadow-virtqueue.h
To know the device features is needed for CVQ SVQ, so SVQ knows if it
can handle all commands or not. Extract from
vhost_vdpa_get_max_queue_pairs so we can reuse it.
Signed-off-by: Eugenio Pérez
Acked-by: Jason Wang
---
net/vhost-vdpa.c | 30 --
1 file changed, 20 in
Future code needs to call it from vhost_svq_add.
No functional change intended.
Signed-off-by: Eugenio Pérez
---
hw/virtio/vhost-shadow-virtqueue.c | 28 ++--
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/hw/virtio/vhost-shadow-virtqueue.c
b/hw/virtio/
The series need to expose vhost_svq_add with full functionality,
including checking for full queue.
Signed-off-by: Eugenio Pérez
---
hw/virtio/vhost-shadow-virtqueue.c | 59 +-
1 file changed, 33 insertions(+), 26 deletions(-)
diff --git a/hw/virtio/vhost-shadow-virt
Finally offering the possibility to enable SVQ from the command line.
Signed-off-by: Eugenio Pérez
Acked-by: Markus Armbruster
---
qapi/net.json| 9 +-
net/vhost-vdpa.c | 72 ++--
2 files changed, 77 insertions(+), 4 deletions(-)
diff --git
VirtQueueElement comes from the guest, but we're heading SVQ to be able
to modify the element presented to the device without the guest's
knowledge.
To do so, make SVQ accept sg buffers directly, instead of using
VirtQueueElement.
Add vhost_svq_add_element to maintain element convenience.
Signed
A guest's buffer continuos on GPA may need multiple descriptors on
qemu's VA, so SVQ should track its length sepparatedly.
Signed-off-by: Eugenio Pérez
---
hw/virtio/vhost-shadow-virtqueue.h | 6 ++
hw/virtio/vhost-shadow-virtqueue.c | 4 ++--
2 files changed, 8 insertions(+), 2 deletions(-)
This allows external handlers to be aware of new buffers that the guest
places in the virtqueue.
When this callback is defined the ownership of the guest's virtqueue
element is transferred to the callback. This means that if the user
wants to forward the descriptor it needs to manually inject it.
On Tue, Jul 19, 2022 at 12:01 PM Eugenio Pérez wrote:
>
> Control virtqueue is used by networking device for accepting various
> commands from the driver. It's a must to support advanced configurations.
>
> Rx filtering event is issues by qemu when device's MAC address changed once
> and
> the pr
Am 18/07/2022 um 18:39 schrieb Paolo Bonzini:
> On 7/12/22 23:19, Emanuele Giuseppe Esposito wrote:
>> diff --git a/block/block-backend.c b/block/block-backend.c
>> index 674eaaa2bf..6e90ac3a6a 100644
>> --- a/block/block-backend.c
>> +++ b/block/block-backend.c
>> @@ -2184,8 +2184,12 @@ static
Do a simple forwarding of CVQ buffers, the same work SVQ could do but
through callbacks. No functional change intended.
Signed-off-by: Eugenio Pérez
---
include/hw/virtio/vhost-vdpa.h | 3 ++
hw/virtio/vhost-vdpa.c | 3 +-
net/vhost-vdpa.c | 58 +++
Hi Jason,
thanks for you patch! Additionally to the things that David already
mentioned, please have also a look at my comments below...
On 12/07/2022 18.46, Jason A. Donenfeld wrote:
In order for hosts running inside of TCG to initialize the kernel's
random number generator, we should sup
Since the vhost-vdpa device is exposing _F_LOG, adding a migration blocker if
it uses CVQ.
However, qemu is able to migrate simple devices with no CVQ as long as
they use SVQ. To allow it, add a placeholder error to vhost_vdpa, and
only add to vhost_dev when used. vhost_dev machinery place the mig
On 18/07/2022 21.14, Peter Xu wrote:
Hi, Thomas,
On Mon, Jul 18, 2022 at 08:23:26PM +0200, Thomas Huth wrote:
On 07/07/2022 20.46, Peter Xu wrote:
We used to stop running all tests if uffd is not detected. However
logically that's only needed for postcopy not the rest of tests.
Keep running
On Tue, Jul 19, 2022 at 12:28:24PM +0200, Thomas Huth wrote:
> On 18/07/2022 21.14, Peter Xu wrote:
> > Hi, Thomas,
> >
> > On Mon, Jul 18, 2022 at 08:23:26PM +0200, Thomas Huth wrote:
> > > On 07/07/2022 20.46, Peter Xu wrote:
> > > > We used to stop running all tests if uffd is not detected. Ho
On 19/07/22 3:18 pm, Markus Armbruster wrote:
Het Gala writes:
On 19/07/22 12:36 pm, Markus Armbruster wrote:
Het Gala writes:
On 18/07/22 8:03 pm, Markus Armbruster wrote:
Het Gala writes:
On 18/07/22 2:05 pm, Markus Armbruster wrote:
Het Gala writes:
i) Modified the format of t
On 19/07/2022 10.01, Roman Kagan wrote:
It's possible to create non-working configurations by attaching a device
to a derivative of PCIe slot (pcie-root-port, ioh3420, etc) and
specifying a slot number other that zero, e.g.:
-device pcie-root-port,id=s0,... \
-device virtio-blk-pci,bus
On 13/07/2022 20.26, Ilya Leoshkevich wrote:
Hi,
Uli has found an issue with finding maximum of different kinds of 0s; I
wrote a test and found another one with finding maximum of different
kinds of NaNs.
Patches 1 and 2 fix those issues, patch 3 adds a vfmin/vfmax test.
Best regards,
Ilya
v1
On Fri, May 06, 2022 at 10:09:30AM -0700, Dongwon Kim wrote:
> On Fri, May 06, 2022 at 11:53:22AM +0400, Marc-André Lureau wrote:
> > Hi
> >
> > On Fri, May 6, 2022 at 1:46 AM Dongwon Kim wrote:
> >
> > > It only needs to update the scanouts containing the rect area
> > > coming with the resourc
Hi David,
Thanks for your feedback. I'll CC you on v+1. Note that I don't know
very much about s390x, so I may require some slight hand holding, but
let's see how far I can get...
On Tue, Jul 19, 2022 at 11:54:04AM +0200, David Hildenbrand wrote:
> How is that warning avoided now? We have to sort
Hi Thomas,
On Tue, Jul 19, 2022 at 12:00 PM Thomas Huth wrote:
> > +{
> > +uint64_t addr = wrap_address(env, buf);
>
> I think you have to limit "len" to the lower 32-bit if not running in 64-bit
> mode.
Will do.
> According to the Principles of Operation:
>
> "A specification exception
On Fri, Jul 15, 2022 at 07:18:15PM +0200, Eugenio Pérez wrote:
> Control virtqueue is used by networking device for accepting various
> commands from the driver. It's a must to support advanced configurations.
>
> Rx filtering event is issues by qemu when device's MAC address changed once
> and
>
On Mon, Jul 18, 2022 at 11:32:57AM +0800, Jason Wang wrote:
> On Sat, Jul 16, 2022 at 1:18 AM Eugenio Pérez wrote:
> >
> > Control virtqueue is used by networking device for accepting various
> > commands from the driver. It's a must to support advanced configurations.
> >
> > Rx filtering event i
On Tue, Jul 19, 2022 at 10:46:38AM +0800, Robert Hoo wrote:
> Ping...
Igor could you respond? It's been 3 weeks ...
1 - 100 of 312 matches
Mail list logo