On 7/19/21 1:21 PM, Yang Zhong wrote:
> From: Sean Christopherson
>
> On real hardware, on systems that supports SGX Launch Control, those
> MSRs are initialized to digest of Intel's signing key; on systems that
> don't support SGX Launch Control, those MSRs are not available but
> hardware
On 7/19/21 1:21 PM, Yang Zhong wrote:
> From: Sean Christopherson
>
> SGX EPC is enumerated through CPUID, i.e. EPC "devices" need to be
> realized prior to realizing the vCPUs themselves, which occurs long
> before generic devices are parsed and realized. Because of this,
> do not allow
On Tue, Sep 14, 2021 at 07:41:47AM +0200, Thomas Huth wrote:
> On 13/09/2021 20.25, Philippe Mathieu-Daudé wrote:
> > Add a page listing QEMU sponsors and displaying their logos.
> >
> > Logo sources:
> > - https://www.rackspace.com/es/newsroom/media-kit
> > -
On 24.05.21 16:20, Vladimir Sementsov-Ogievskiy wrote:
- use g_autofree for l1_table
- better name for size in bytes variable
- reduce code blocks nesting
- whitespaces, braces, newlines
Signed-off-by: Vladimir Sementsov-Ogievskiy
---
block/qcow2-refcount.c | 98
On 9/14/21 12:05 AM, Richard Henderson wrote:
> Split out a function to adjust the raw signal pc into a
> value that could be passed to cpu_restore_state.
>
> Signed-off-by: Richard Henderson
> ---
> include/exec/exec-all.h | 8 +++
> accel/tcg/user-exec.c | 50
On 9/14/21 7:41 AM, Thomas Huth wrote:
> On 13/09/2021 20.25, Philippe Mathieu-Daudé wrote:
>> Add a page listing QEMU sponsors and displaying their logos.
>>
>> Logo sources:
>> - https://www.rackspace.com/es/newsroom/media-kit
>> - https://developer.arm.com/solutions/infrastructure/works-on-arm
On Fri, Sep 10, 2021 at 05:52:55PM +0100, Peter Maydell wrote:
> On Fri, 10 Sept 2021 at 14:19, Gerd Hoffmann wrote:
> >
> > The following changes since commit bd662023e683850c085e98c8ff8297142c2dd9f2:
> >
> > Merge remote-tracking branch
> > 'remotes/mcayland/tags/qemu-openbios-20210908' into
On Mon, Sep 13, 2021 at 02:39:13PM +0200, Markus Armbruster wrote:
> Simple unions predate flat unions. Having both complicates the QAPI
> schema language and the QAPI generator. We haven't been using simple
> unions in new code for a long time, because they are less flexible and
> somewhat
On Tue, Sep 14, 2021 at 07:17:11AM +0200, Thomas Huth wrote:
> On 13/09/2021 20.29, Philippe Mathieu-Daudé wrote:
> > Without the webrick bundle, jekyll fails to start:
> >
> >$ bundle exec jekyll serve
> >Ignoring ffi-1.11.1 because its extensions are not built. Try: gem
> > pristine
On 9/14/21 12:05 AM, Richard Henderson wrote:
> This is the major portion of handle_cpu_signal which is specific
> to tcg, handling the page protections for the translations.
> Most of the rest will migrate to linux-user/ shortly.
>
> Signed-off-by: Richard Henderson
> ---
>
13.09.2021 14:16, Hanna Reitz wrote:
On 20.07.21 13:38, Vladimir Sementsov-Ogievskiy wrote:
Move the logic to more generic qemu_img_pipe_and_status(). Also behave
better when we have several -o options. And reuse argument parser of
course.
Signed-off-by: Vladimir Sementsov-Ogievskiy
---
On 14.09.21 09:44, Vladimir Sementsov-Ogievskiy wrote:
13.09.2021 14:16, Hanna Reitz wrote:
On 20.07.21 13:38, Vladimir Sementsov-Ogievskiy wrote:
Move the logic to more generic qemu_img_pipe_and_status(). Also behave
better when we have several -o options. And reuse argument parser of
course.
Hi
On Mon, Sep 13, 2021 at 6:28 PM Peter Maydell
wrote:
> On Mon, 13 Sept 2021 at 14:10, wrote:
> >
> > From: Marc-André Lureau
> >
> > I was looking for such documentation, but couldn't find it. Add it to
> > the build-platform.rst document.
> >
> > Signed-off-by: Marc-André Lureau
> > ---
Kevin Wolf writes:
> Am 06.09.2021 um 17:16 hat Markus Armbruster geschrieben:
>> Kevin Wolf writes:
>>
>> > When looking for an object in a struct in the external representation,
>> > check not only the currently visited struct, but also whether an alias
>> > in the current StackObject
On 9/14/21 10:20 AM, Daniel P. Berrangé wrote:
> On Tue, Sep 14, 2021 at 07:41:47AM +0200, Thomas Huth wrote:
>> On 13/09/2021 20.25, Philippe Mathieu-Daudé wrote:
>>> Add a page listing QEMU sponsors and displaying their logos.
>>>
>>> Logo sources:
>>> -
On Fri, 10 Sep 2021 16:55:35 -0300
Daniel Henrique Barboza wrote:
> When first introduced, 'legacy_numa' was a way to refer to guests that
> either wouldn't be affected by associativity domain calculations, namely
> the ones with only 1 NUMA node, and pre 5.2 guests that shouldn't be
> affected
On 9/14/21 12:05 AM, Richard Henderson wrote:
> There is nothing target specific about this. The implementation
> is host specific, but the declaration is 100% common.
Same as v3 ;)
https://www.mail-archive.com/qemu-devel@nongnu.org/msg830412.html
Reviewed-by: Philippe Mathieu-Daudé
>
On 7/19/21 1:21 PM, Yang Zhong wrote:
> This series is Qemu SGX virtualization implementation rebased on latest
> Qemu release. The numa support for SGX will be sent in another patchset
> once this basic SGX patchset are merged.
> backends/hostmem-epc.c | 118 ++
>
Hi all,
This patch has been reviewed by Peter. who can help merge it?
Thanks,
Alex
On 2020/11/2 18:55, AlexChen wrote:
> As we can see from the following function call stack, amaster and aslave
> can not be NULL: char_pty_open() -> qemu_openpty_raw() -> openpty().
> In addition, according to
On 24.05.21 16:20, Vladimir Sementsov-Ogievskiy wrote:
We'll reuse the function to fix wrong L2 entry bitmap. Support it now.
Signed-off-by: Vladimir Sementsov-Ogievskiy
Reviewed-by: Eric Blake
---
block/qcow2-refcount.c | 18 +++---
1 file changed, 15 insertions(+), 3
On 24.05.21 16:20, Vladimir Sementsov-Ogievskiy wrote:
Check subcluster bitmap of the l2 entry for different types of
clusters:
- for compressed it must be zero
- for allocated check consistency of two parts of the bitmap
- for unallocated all subclusters should be unallocated
(or
Kevin Wolf writes:
> Am 06.09.2021 um 17:28 hat Markus Armbruster geschrieben:
>> Kevin Wolf writes:
>> > +/* Can still specify the real member name with alias support */
>> > +v = visitor_input_test_init(data, "{ 'foo': 42 }");
>> > +visit_type_AliasStruct1(v, NULL, , _abort);
>> >
The current way the mask is built can overflow with a 64-bit decrementer.
Use sextract64() instead.
Cc: Luis Fernando Fujita Pires
Fixes: a8dafa525181 ("target/ppc: Implement large decrementer support for TCG")
Signed-off-by: Cédric Le Goater
---
v2: replaced MAKE_64BIT_MASK by sextract64
On 24.05.21 16:20, Vladimir Sementsov-Ogievskiy wrote:
Signed-off-by: Vladimir Sementsov-Ogievskiy
Reviewed-by: Eric Blake
Tested-by: Kirill Tkhai
---
block/qcow2.h | 1 +
block/qcow2-refcount.c | 12 +++-
2 files changed, 12 insertions(+), 1 deletion(-)
Reviewed-by:
On 9/14/21 7:17 AM, Thomas Huth wrote:
> On 13/09/2021 20.29, Philippe Mathieu-Daudé wrote:
>> Without the webrick bundle, jekyll fails to start:
>>
>> $ bundle exec jekyll serve
>> Ignoring ffi-1.11.1 because its extensions are not built. Try: gem
>> pristine ffi --version 1.11.1
>>
On 7/19/21 1:21 PM, Yang Zhong wrote:
> If the VM is reset, we need make sure sgx virt epc in clean status.
> Once the VM is reset, and sgx epc virt device will be reseted by
> reset callback registered by qemu_register_reset(). Since this epc
> virt device depend on backend, this reset will call
On Fri, 10 Sep 2021 16:55:34 -0300
Daniel Henrique Barboza wrote:
> The upcoming FORM2 NUMA affinity will support asymmetric NUMA topologies
> and doesn't need be concerned with all the legacy support for older
> pseries FORM1 guests.
>
> We're also not going to calculate associativity domains
These series makes tests pass with
IMGOPTS='compression_type=zstd'
Also, python iotests start to support IMGOPTS (they didn't before).
v3:
02-04,06,08,14,17: add Hanna's r-b
07 iotests.py: filter out successful output of qemu-img create
fix subject
handle 149, 237 and 296
Instead of qemu_img_log("info", ..) use generic helper img_info_log().
img_info_log() has smarter logic. For example it use filter_img_info()
to filter output, which in turns filter a compression type. So it will
help us in future when we implement a possibility to use zstd
compression by default
We want iotests pass with both the default zlib compression and with
IMGOPTS='compression_type=zstd'.
Actually the only test that is interested in real compression type in
test output is 287 (test for qcow2 compression type) and it's in bash.
So for now we can safely filter out compression type
We are going to add filtering in _qcow2_dump_header and want all tests
use it.
The patch is generated by commands:
cd tests/qemu-iotests
sed -ie 's/$PYTHON qcow2.py "$TEST_IMG" dump-header\($\|
\)/_qcow2_dump_header\1/' ??? tests/*
(the difficulty is to avoid converting dump-header-exts)
On Mon, Sep 13, 2021 at 09:46:48AM -0400, Michael S. Tsirkin wrote:
On Mon, Sep 13, 2021 at 02:51:42PM +0200, Stefano Garzarella wrote:
On Fri, Sep 10, 2021 at 02:35:53AM -0400, Michael S. Tsirkin wrote:
> On Thu, Sep 09, 2021 at 10:02:12AM +0100, Daniel P. Berrangé wrote:
> > On Thu, Sep 09,
The test-case "Corrupted size field in compressed cluster descriptor"
heavily depends on zlib compression type. So, make it explicit. This
way test passes with IMGOPTS='compression_type=zstd'.
Signed-off-by: Vladimir Sementsov-Ogievskiy
Reviewed-by: Max Reitz
---
tests/qemu-iotests/214 | 2 +-
Hello Peter D,
> +static void aspeed_machine_fuji_class_init(ObjectClass *oc, void *data)
> +{
> +MachineClass *mc = MACHINE_CLASS(oc);
> +AspeedMachineClass *amc = ASPEED_MACHINE_CLASS(oc);
> +
> +mc->desc = "Facebook Fuji BMC (Cortex-A7)";
> +amc->soc_name = "ast2600-a3";
> +
The following changes since commit c6f5e042d89e79206cd1ce5525d3df219f13c3cc:
Merge remote-tracking branch
'remotes/pmaydell/tags/pull-target-arm-20210913-3' into staging (2021-09-13
21:06:15 +0100)
are available in the Git repository at:
https://github.com/juanquintela/qemu.git
> On Sep 14, 2021, at 3:56 AM, Cédric Le Goater wrote:
>
>
> Hello Peter D,
>
>> +static void aspeed_machine_fuji_class_init(ObjectClass *oc, void *data)
>> +{
>> +MachineClass *mc = MACHINE_CLASS(oc);
>> +AspeedMachineClass *amc = ASPEED_MACHINE_CLASS(oc);
>> +
>> +mc->desc =
14.09.2021 14:46, Hanna Reitz wrote:
On 14.09.21 13:22, Vladimir Sementsov-Ogievskiy wrote:
14.09.2021 11:54, Hanna Reitz wrote:
On 24.05.21 16:20, Vladimir Sementsov-Ogievskiy wrote:
Check subcluster bitmap of the l2 entry for different types of
clusters:
- for compressed it must be zero
Currently all of the M-profile specific code in arm_cpu_reset() is
inside a !defined(CONFIG_USER_ONLY) ifdef block. This is
unintentional: it happened because originally the only
M-profile-specific handling was the setup of the initial SP and PC
from the vector table, which is system-emulation
Split checking for reserved bits out of aligned offset check.
Signed-off-by: Vladimir Sementsov-Ogievskiy
Reviewed-by: Eric Blake
Tested-by: Kirill Tkhai
Reviewed-by: Hanna Reitz
---
block/qcow2.h | 1 +
block/qcow2-refcount.c | 10 +-
2 files changed, 10 insertions(+), 1
On Tue, 14 Sep 2021 10:24:09 +0530
Ani Sinha wrote:
> Change caf108bc58790 ("hw/i386/acpi-build: Add ACPI PCI hot-plug methods to
> Q35")
> selects an IO address range for acpi based PCI hotplug for q35 arbitrarily. It
> starts at address 0x0cc4 and ends at 0x0cdb. At the time when the patch
On Tue, 14 Sep 2021 10:24:10 +0530
Ani Sinha wrote:
> We have modified the IO address range for ACPI pci hotplug in q35. See change:
>
> 36f98d0d4f ("hw/i386/acpi: fix conflicting IO address range for acpi pci
> hotplug in q35")
>
> The ACPI DSDT table golden blobs must be regenrated in order
From: Marc-André Lureau
The following changes since commit c6f5e042d89e79206cd1ce5525d3df219f13c3cc:
Merge remote-tracking branch
'remotes/pmaydell/tags/pull-target-arm-20210913-3' into staging (2021-09-13
21:06:15 +0100)
are available in the Git repository at:
From: Michal Privoznik
If a chardev has a logfile the file is opened using
qemu_open_old() which does the job, but since @errp is not
propagated into qemu_open_internal() we lose much more accurate
error and just report "Unable to open logfile $errno". When
using plain files, it's probably okay
Move the logic to more generic qemu_img_pipe_and_status(). Also behave
better when we have several -o options. And reuse argument parser of
course.
Signed-off-by: Vladimir Sementsov-Ogievskiy
Reviewed-by: Hanna Reitz
---
tests/qemu-iotests/iotests.py | 36 +--
1
The test checks different options. It of course fails if set
IMGOPTS='compression_type=zstd'. So, let's be explicit in what
compression type we want and independent of IMGOPTS. Test both existing
compression types.
Signed-off-by: Vladimir Sementsov-Ogievskiy
Reviewed-by: Hanna Reitz
---
Don't touch other incompatible bits, like compression-type. This makes
the test pass with IMGOPTS='compression_type=zstd'.
Signed-off-by: Vladimir Sementsov-Ogievskiy
Reviewed-by: Max Reitz
---
tests/qemu-iotests/060 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
14.09.2021 11:54, Hanna Reitz wrote:
On 24.05.21 16:20, Vladimir Sementsov-Ogievskiy wrote:
Check subcluster bitmap of the l2 entry for different types of
clusters:
- for compressed it must be zero
- for allocated check consistency of two parts of the bitmap
- for unallocated all
Hi Paolo
On Mon, Sep 13, 2021 at 9:18 PM Paolo Bonzini wrote:
> On 07/09/21 14:19, marcandre.lur...@redhat.com wrote:
> > From: Marc-André Lureau
> >
> > This crates provides common bindings and facilities for QEMU C API
> > shared by various projects.
> >
> > Most importantly, it defines the
On 14.09.21 13:22, Vladimir Sementsov-Ogievskiy wrote:
14.09.2021 11:54, Hanna Reitz wrote:
On 24.05.21 16:20, Vladimir Sementsov-Ogievskiy wrote:
Check subcluster bitmap of the l2 entry for different types of
clusters:
- for compressed it must be zero
- for allocated check consistency of
On Fri, 10 Sep 2021 16:55:36 -0300
Daniel Henrique Barboza wrote:
> Introducing a new NUMA affinity, FORM2, requires a new mechanism to
> switch between affinity modes after CAS. Also, we want FORM2 data
> structures and functions to be completely separated from the existing
> FORM1 code,
- don't use same name for size in bytes and in entries
- use g_autofree for l2_table
- add whitespace
- fix block comment style
Signed-off-by: Vladimir Sementsov-Ogievskiy
Reviewed-by: Eric Blake
Reviewed-by: Hanna Reitz
---
block/qcow2-refcount.c | 47
Add helper to parse compressed l2_entry and use it everywhere instead
of open-coding.
Note, that in most places we move to precise coffset/csize instead of
sector-aligned. Still it should work good enough for updating
refcounts.
Signed-off-by: Vladimir Sementsov-Ogievskiy
Reviewed-by: Eric
On Tue, Sep 14, 2021 at 10:26:45AM +0200, Philippe Mathieu-Daudé wrote:
> On 9/14/21 10:20 AM, Daniel P. Berrangé wrote:
> > On Tue, Sep 14, 2021 at 07:41:47AM +0200, Thomas Huth wrote:
> >> On 13/09/2021 20.25, Philippe Mathieu-Daudé wrote:
> >>> Add a page listing QEMU sponsors and displaying
This patch implement fixed point shift instruction translation.
This includes:
- SLL.W, SRL.W, SRA.W, ROTR.W
- SLLI.W, SRLI.W, SRAI.W, ROTRI.W
- SLL.D, SRL.D, SRA.D, ROTR.D
- SLLI.D, SRLI.D, SRAI.D, ROTRI.D
Signed-off-by: Song Gao
Signed-off-by: XiaoJuan Yang
---
This patch implement fixed point atomic instruction translation.
This includes:
- LL.{W/D}, SC.{W/D}
- AM{SWAP/ADD/AND/OR/XOR/MAX/MIN}[_DB].{W/D}
- AM{MAX/MIN}[_DB].{WU/DU}
Signed-off-by: Song Gao
Signed-off-by: XiaoJuan Yang
---
target/loongarch/insn_trans/trans_atomic.c | 133
This patch implement fixed point arithemtic instruction translation.
This includes:
- ADD.{W/D}, SUB.{W/D}
- ADDI.{W/D}, ADDU16ID
- ALSL.{W[U]/D}
- LU12I.W, LU32I.D LU52I.D
- SLT[U], SLT[U]I
- PCADDI, PCADDU12I, PCADDU18I, PCALAU12I
- AND, OR, NOR, XOR, ANDN, ORN
- MUL.{W/D}, MULH.{W[U]/D[U]}
-
Implementation of linux user emulation for LoongArch.
Signed-off-by: Song Gao
Signed-off-by: XiaoJuan Yang
---
accel/tcg/user-exec.c | 15 ++
configure | 5 +
include/elf.h | 2 +
linux-user/elfload.c
This patch implement floating point arithmetic instruction translation.
This includes:
- F{ADD/SUB/MUL/DIV}.{S/D}
- F{MADD/MSUB/NMADD/NMSUB}.{S/D}
- F{MAX/MIN}.{S/D}
- F{MAXA/MINA}.{S/D}
- F{ABS/NEG}.{S/D}
- F{SQRT/RECIP/RSQRT}.{S/D}
- F{SCALEB/LOGB/COPYSIGN}.{S/D}
- FCLASS.{S/D}
Signed-off-by:
On 9/14/21 5:07 AM, Peter Maydell wrote:
Peter Maydell (3):
target/arm: Don't skip M-profile reset entirely in user mode
target/arm: Always clear exclusive monitor on reset
target/arm: Consolidate ifdef blocks in reset
Reviewed-by: Richard Henderson
r~
This patch implement floating point comparison instruction translation.
This includes:
- FCMP.cond.{S/D}
Signed-off-by: Song Gao
Signed-off-by: XiaoJuan Yang
---
target/loongarch/fpu_helper.c| 60
target/loongarch/helper.h| 9 +
On 9/14/21 6:00 AM, Song Gao wrote:
This patch implement fixed point shift instruction translation.
This includes:
- SLL.W, SRL.W, SRA.W, ROTR.W
- SLLI.W, SRLI.W, SRAI.W, ROTRI.W
- SLL.D, SRL.D, SRA.D, ROTR.D
- SLLI.D, SRLI.D, SRAI.D, ROTRI.D
Signed-off-by: Song Gao
Signed-off-by: XiaoJuan
* David Hildenbrand (da...@redhat.com) wrote:
> On 14.09.21 15:17, Dr. David Alan Gilbert (git) wrote:
> > From: "Dr. David Alan Gilbert"
> >
> > The subsection name for page-poison was typo'd as:
> >
> >vitio-balloon-device/page-poison
> >
> > Note the missing 'r' in virtio.
> >
> > When
On 19.08.21 12:12, Hanna Reitz wrote:
We cannot write to images opened with O_DIRECT unless we allow them to
be resized so they are aligned to the sector size: Since 9c60a5d1978,
bdrv_node_refresh_perm() ensures that for nodes whose length is not
aligned to the request alignment and where
On Mon, 13 Sept 2021 at 21:05, Peter Maydell wrote:
>
> v3->v4: Windows headers define an INT type which clashed
> with an enum value name in arm_gicv3_its.c...
>
> The following changes since commit eae587e8e3694b1aceab23239493fb4c7e1a80f5:
>
> Merge remote-tracking branch
Am 14.09.2021 um 10:59 hat Markus Armbruster geschrieben:
> >> > +/* You can't use more than one option at the same time */
> >> > +v = visitor_input_test_init(data, "{ 'foo': 42, 'nested': { 'foo':
> >> > 42 } }");
> >> > +visit_type_AliasStruct3(v, NULL, , );
> >> > +
We want iotests pass with both the default zlib compression and with
IMGOPTS='compression_type=zstd'.
Actually the only test that is interested in real compression type in
test output is 287 (test for qcow2 compression type), so implement
specific option for it.
Signed-off-by: Vladimir
On Mon, 13 Sept 2021 at 17:13, Cédric Le Goater wrote:
>
> The following changes since commit eae587e8e3694b1aceab23239493fb4c7e1a80f5:
>
> Merge remote-tracking branch 'remotes/armbru/tags/pull-qapi-2021-09-13'
> into staging (2021-09-13 11:00:30 +0100)
>
> are available in the Git repository
On Tue, Sep 14, 2021 at 12:42:09PM +0200, Stefano Garzarella wrote:
> On Mon, Sep 13, 2021 at 09:46:48AM -0400, Michael S. Tsirkin wrote:
> > On Mon, Sep 13, 2021 at 02:51:42PM +0200, Stefano Garzarella wrote:
> > > On Fri, Sep 10, 2021 at 02:35:53AM -0400, Michael S. Tsirkin wrote:
> > > > On
Signed-off-by: Vladimir Sementsov-Ogievskiy
Reviewed-by: Eric Blake
Tested-by: Kirill Tkhai
Reviewed-by: Hanna Reitz
---
block/qcow2.h | 1 +
block/qcow2-refcount.c | 6 ++
2 files changed, 7 insertions(+)
diff --git a/block/qcow2.h b/block/qcow2.h
index b8b1093b61..58fd7f1678
On Tue, 14 Sept 2021 at 13:14, Joel Stanley wrote:
> The upstream device tree uses 2G:
>
> https://elixir.bootlin.com/linux/v5.15-rc1/source/arch/arm/boot/dts/ast2600-facebook-netbmc-common.dtsi#L20
>
> It's unfortunate we limit the defaults given very few (no one?) is
> using this model on a
On Mon, Sep 13, 2021 at 10:18:43PM +, Jiang Wang wrote:
> Datagram sockets are connectionless and unreliable.
> The sender does not know the capacity of the receiver
> and may send more packets than the receiver can handle.
>
> Add two more dedicate virtqueues for datagram sockets,
> so that
This patch add target state header, target definitions
and initialization routines.
Signed-off-by: Song Gao
Signed-off-by: XiaoJuan Yang
---
target/loongarch/cpu-param.h | 19 +++
target/loongarch/cpu.c | 285 +++
target/loongarch/cpu.h |
On 9/14/21 5:04 AM, Alex Bennée wrote:
Coverity doesn't know enough about how we have arranged our plugin TCG
ops to know we will always have incremented insn_idx before injecting
the callback. Let us assert it for the benefit of Coverity and protect
ourselves from accidentally breaking the
This patch implement branch instruction translation.
This includes:
- BEQ, BNE, BLT[U], BGE[U]
- BEQZ, BNEZ
- B
- BL
- JIRL
- BCEQZ, BCNEZ
Signed-off-by: Song Gao
Signed-off-by: XiaoJuan Yang
Reviewed-by: Richard Henderson
---
target/loongarch/insn_trans/trans_branch.c | 85
From: Marc-André Lureau
Signed-off-by: Marc-André Lureau
Reviewed-by: Peter Maydell
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 7d7d14a4bc..2711cbb789 100644
--- a/meson.build
+++ b/meson.build
@@ -78,7 +78,7 @@ endif
On 9/14/21 2:47 AM, Cédric Le Goater wrote:
On 9/14/21 11:19 AM, Peter Maydell wrote:
/* Truncate value to decr_width and sign extend for simplicity */
-value &= ((1ULL << nr_bits) - 1);
+value = sextract64(value, 0, nr_bits);
negative = !!(value & (1ULL << (nr_bits - 1)));
Ping
On Mon, Sep 6, 2021 at 15:09 Ani Sinha wrote:
> Hi Igor/Michael :
>
> Added a unit test to exercize the following commit :
>
> d7346e614f4ec353 ("acpi: x86: pcihp: add support hotplug on multifunction
> bridges")
>
> I had sent just the unit test earlier but since the review is getting
>
Kevin Wolf writes:
> Am 14.09.2021 um 10:59 hat Markus Armbruster geschrieben:
>> >> > +/* You can't use more than one option at the same time */
>> >> > +v = visitor_input_test_init(data, "{ 'foo': 42, 'nested': { 'foo':
>> >> > 42 } }");
>> >> > +visit_type_AliasStruct3(v, NULL, ,
On 2021/9/11 下午10:00, Philipp Tomsich wrote:
Assume clzw being executed on a register that is not sign-extended, such
as for the following sequence that uses (1ULL << 63) | 392 as the operand
to clzw:
bseti a2, zero, 63
addia2, a2, 392
clzwa3, a2
The correct
On 07.09.21 19:52, Eric Blake wrote:
On Mon, Sep 06, 2021 at 06:29:16PM +0200, Hanna Reitz wrote:
Because I forgot to CC Thomas on the discussion adding this post, it was
merged prematurely. This patch updates the post to incorporate the
feedback I received on it:
Overall, nice! I see it's
On Tue 14. Sep 2021 at 11:15, LIU Zhiwei wrote:
>
> On 2021/9/11 下午10:00, Philipp Tomsich wrote:
> > Assume clzw being executed on a register that is not sign-extended, such
> > as for the following sequence that uses (1ULL << 63) | 392 as the operand
> > to clzw:
> > bseti a2, zero, 63
The test prints qcow2 header fields which depends on chosen compression
type. So, let's be explicit in what compression type we want and
independent of IMGOPTS. Test both existing compression types.
Signed-off-by: Vladimir Sementsov-Ogievskiy
Reviewed-by: Max Reitz
---
tests/qemu-iotests/303
We'll use it in tests instead of explicit qcow2.py. Then we are going
to add some filtering in _qcow2_dump_header.
Signed-off-by: Vladimir Sementsov-Ogievskiy
Reviewed-by: Max Reitz
---
tests/qemu-iotests/common.rc | 10 ++
1 file changed, 10 insertions(+)
diff --git
Markus Armbruster writes:
> Kevin Wolf writes:
>
>> Am 06.09.2021 um 17:24 hat Markus Armbruster geschrieben:
>>> Kevin Wolf writes:
>>>
>>> > Introduce alias definitions for object types (structs and unions). This
>>> > allows using the same QAPI type and visitor for many syntax variations
On 9/14/21 12:58 PM, Cédric Le Goater wrote:
> On 9/14/21 12:51 PM, Peter Maydell wrote:
>> On Mon, 13 Sept 2021 at 17:13, Cédric Le Goater wrote:
>>>
>>> The following changes since commit eae587e8e3694b1aceab23239493fb4c7e1a80f5:
>>>
>>> Merge remote-tracking branch
From: Lukas Straub
To: qemu-devel
Cc: "Dr. David Alan Gilbert" , Juan Quintela
, Peter Xu , Leonardo Bras Soares
Passos
Date: Wed, 1 Sep 2021 17:58:57 +0200 (1 week, 15 hours, 17 minutes ago)
[[PGP Signed Part:No public key for 35AB0B289C5DB258 created at
2021-09-01T17:58:57+0200 using
Coverity doesn't know enough about how we have arranged our plugin TCG
ops to know we will always have incremented insn_idx before injecting
the callback. Let us assert it for the benefit of Coverity and protect
ourselves from accidentally breaking the assumption and triggering
harder to grok
Hi all!
Here are some good refactorings and new (qemu-img check) checks for
qcow2.
06 qcow2-refcount: check_refcounts_l2(): check l2_bitmap
don't fix unallocated cluster with allocated subclusters (no strong
opinion how to do it correctly)
drop Eric's r-b
keep Kirill's t-b (I
We'll reuse the function to fix wrong L2 entry bitmap. Support it now.
Signed-off-by: Vladimir Sementsov-Ogievskiy
Reviewed-by: Eric Blake
Reviewed-by: Hanna Reitz
---
block/qcow2-refcount.c | 18 +++---
1 file changed, 15 insertions(+), 3 deletions(-)
diff --git
Split fix_l2_entry_by_zero() out of check_refcounts_l2() to be
reused in further patch.
Signed-off-by: Vladimir Sementsov-Ogievskiy
Reviewed-by: Eric Blake
Reviewed-by: Hanna Reitz
---
block/qcow2-refcount.c | 87 +-
1 file changed, 60 insertions(+), 27
Let's pass the whole L2 entry and not bother with
L2E_COMPRESSED_OFFSET_SIZE_MASK.
It also helps further refactoring that adds generic
qcow2_parse_compressed_l2_entry() helper.
Signed-off-by: Vladimir Sementsov-Ogievskiy
Reviewed-by: Eric Blake
Reviewed-by: Alberto Garcia
Reviewed-by: Hanna
Signed-off-by: Vladimir Sementsov-Ogievskiy
Reviewed-by: Eric Blake
Tested-by: Kirill Tkhai
Reviewed-by: Hanna Reitz
---
block/qcow2.h | 1 +
block/qcow2-refcount.c | 12 +++-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/block/qcow2.h b/block/qcow2.h
index
The virtiofsd currently crashes on s390x when doing something like
this in the guest:
mkdir -p /mnt/myfs
mount -t virtiofs myfs /mnt/myfs
touch /mnt/myfs/foo.txt
stat -f /mnt/myfs/foo.txt
The problem is that the fstatfs64 syscall is called in this case
from the virtiofsd. We have to put it
- use g_autofree for l1_table
- better name for size in bytes variable
- reduce code blocks nesting
- whitespaces, braces, newlines
Signed-off-by: Vladimir Sementsov-Ogievskiy
Reviewed-by: Hanna Reitz
---
block/qcow2-refcount.c | 98 +-
1 file
On Fri, 10 Sep 2021 16:55:38 -0300
Daniel Henrique Barboza wrote:
> FORM2 NUMA affinity is prepared to deal with empty (memory/cpu less)
> NUMA nodes. This is used by the DAX KMEM driver to locate a PAPR SCM
> device that has a different latency than the original NUMA node from the
> regular
On Tue, 14 Sept 2021 at 13:25, wrote:
>
> From: Marc-André Lureau
>
> I was looking for such documentation, but couldn't find it. Add it to
> the build-platform.rst document.
>
> Signed-off-by: Marc-André Lureau
> ---
> docs/about/build-platforms.rst | 33 +
>
On Tue, 14 Sep 2021 10:24:08 +0530
Ani Sinha wrote:
> We are going to commit a change to fix IO address range allocated for acpi pci
> hotplug in q35. This affects DSDT tables. This change allows DSDT table
> modification so that unit tests are not broken.
>
> Signed-off-by: Ani Sinha
This patch add main translation routines and
basic functions for translation.
Signed-off-by: Song Gao
Signed-off-by: XiaoJuan Yang
Reviewed-by: Richard Henderson
---
target/loongarch/helper.h| 9 +++
target/loongarch/internals.h | 1 -
target/loongarch/op_helper.c | 22 ++
This patch give an introduction to the LoongArch target.
Signed-off-by: Song Gao
Signed-off-by: XiaoJuan Yang
---
MAINTAINERS | 5
target/loongarch/README | 76 +
2 files changed, 81 insertions(+)
create mode 100644
On Mon, Sep 13, 2021 at 05:23:33PM +, John Johnson wrote:
> >> On Sep 9, 2021, at 10:25 PM, John Johnson
> >> wrote:
> >>> On Sep 8, 2021, at 11:29 PM, Stefan Hajnoczi wrote:
> >>> On Thu, Sep 09, 2021 at 05:11:49AM +, John Johnson wrote:
> I did look at coroutines, but they
1 - 100 of 354 matches
Mail list logo