ed-by: Michael S. Tsirkin
> > Acked-by: Gerd Hoffman
> > Reviewed-by: Stefano Garzarella
> > Reviewed-by: Ani Sinha
> > ---
> > backends/confidential-guest-support.c | 31 ++
> > include/system/confidential-guest-support.h | 67 +
> &
> On 3 Jul 2025, at 6:56 PM, Roy Hopkins wrote:
>
> On Fri, 2025-06-27 at 15:41 +0530, Ani Sinha wrote:
>> On Fri, Jun 13, 2025 at 7:24 PM Roy Hopkins
>> wrote:
>>>
>>> Adds an IGVM loader to QEMU which processes a given IGVM file and
>>&g
> On 3 Jul 2025, at 7:22 PM, Roy Hopkins wrote:
>
> On Fri, 2025-06-27 at 16:58 +0530, Ani Sinha wrote:
>> On Fri, Jun 13, 2025 at 8:52 PM Roy Hopkins
>> wrote:
>>>
>>> The initialization sections in IGVM files contain configuration that
>>>
after rebasing where the pre-parsing of the IGVM file
> caused an error.
> * Update version numbers for IGVM support to 10.1
> * Minor changes to documentation.
> * Add metadata to relevant commits.
>
Other than the comments I already posted ...
Reviewed-by: Ani Sinha
> Patch
On Fri, Jun 13, 2025 at 8:52 PM Roy Hopkins wrote:
>
> The initialization sections in IGVM files contain configuration that
> should be applied to the guest platform before it is started. This
> includes guest policy and other information that can affect the security
> level and the startup measur
On Fri, Jun 13, 2025 at 7:24 PM Roy Hopkins wrote:
>
> Adds an IGVM loader to QEMU which processes a given IGVM file and
> applies the directives within the file to the current guest
> configuration.
>
> The IGVM loader can be used to configure both confidential and
> non-confidential guests. For
> On 12 Jun 2025, at 5:33 PM, Ani Sinha wrote:
>
>
>
>> On 27 Feb 2025, at 7:59 PM, Roy Hopkins wrote:
>>
>> When an SEV guest is started, the reset vector and state are
>> extracted from metadata that is contained in the firmware volume.
>>
>
> On 13 Jun 2025, at 7:41 PM, Roy Hopkins wrote:
>
> When an SEV guest is started, the reset vector and state are
> extracted from metadata that is contained in the firmware volume.
>
> In preparation for using IGVM to setup the initial CPU state,
> the code has been refactored to populate vm
> On 27 Feb 2025, at 7:59 PM, Roy Hopkins wrote:
>
> The new cgs_set_guest_policy() function is provided to receive the guest
> policy flags, SNP ID block and SNP ID authentication from guest
> configuration such as an IGVM file and apply it to the platform prior to
> launching the guest.
>
>
cleanup. This ensures the array is freed even
>> on early returns, and also removes the need for the explicit free at the
>> end of the function.
>>
>> Signed-off-by: Li Zhijian
>> ---
>
> Reviewed-by: Daniel P. Berrangé
Reviewed-by: Ani Sinha
>
&
ay. This resulted in a memory leak when an empty range
> was processed.
>
> Fix this by moving the GPtrArray allocation after the empty range check,
> ensuring memory is only allocated when actually needed.
Thanks for the fix.
>
> Signed-off-by: Li Zhijian
Reviewed-by: Ani Sinha
> On 27 Feb 2025, at 7:59 PM, Roy Hopkins wrote:
>
> When an SEV guest is started, the reset vector and state are
> extracted from metadata that is contained in the firmware volume.
>
> In preparation for using IGVM to setup the initial CPU state,
> the code has been refactored to populate vm
> On 30 May 2025, at 8:37 PM, Igor Mammedov wrote:
>
> On Sun, 11 May 2025 09:40:08 -0400
> "Michael S. Tsirkin" wrote:
>
>> On Fri, Mar 07, 2025 at 03:53:28PM +0530, Ani Sinha wrote:
>>> commit 0788a56bd1ae3 ("i386: Make unver
> On 8 Apr 2025, at 1:41 PM, Gerd Hoffman wrote:
>
> Hi,
>
>> Which means we are back to the single firmware image. I think it makes
>> sense to continue supporting classic rom images (which can also be
>> loaded via -bios). Any use case which needs more fine-grained control
>> must use ig
> On 27 Feb 2025, at 7:08 PM, Roy Hopkins wrote:
>
> Here is v7 of the set of patches to add support for IGVM files to QEMU. This
> is
> based on commit 40efe733e10cc00e4fb4f9f5790a28e744e63c62 of qemu.
>
> Firstly, apologies for the amount of time between the last version and this
> one.
>
e type, then there's no need for class definition.
>
> Cc: "Michael S. Tsirkin"
> Cc: Igor Mammedov
> Cc: Ani Sinha
> Signed-off-by: Zhao Liu
Reviewed-by: Ani Sinha
> ---
> hw/acpi/pci.c | 24
> 1 file changed, 8 insertions(+),
> On 10 Apr 2025, at 4:14 PM, Gerd Hoffmann wrote:
>
> On Thu, Apr 10, 2025 at 12:01:18PM +0530, Ani Sinha wrote:
>>
>>
>>> On 9 Apr 2025, at 11:51 AM, Gerd Hoffman wrote:
>>>
>>> Hi,
>>>
>>>>> The chicken-and-egg pr
> On 9 Apr 2025, at 11:51 AM, Gerd Hoffman wrote:
>
> Hi,
>
>>> The chicken-and-egg problem arises if you go for hashing and want embed
>>> the igvm file in the UKI.
>>
>> I don't really see how signing the IGVM file for secure boot helps anything.
>
> It doesn't help indeed. This comes f
> On Apr 9, 2025, at 03:12, Dionna Amalie Glaze wrote:
>
> On Tue, Apr 8, 2025 at 1:33 AM Gerd Hoffman wrote:
>>
>> Hi,
>>
Well. If you want put the db into the igvm and the igvm into the uki
you've got a chicken-and-egg problem. Moving the firmware from the main
UKI to UK
> On Apr 9, 2025, at 09:53, Ani Sinha wrote:
>
>
>
>> On Feb 7, 2025, at 20:04, David Woodhouse wrote:
>>
>> From: David Woodhouse
>>
>> The vmclock device only has a reset method in order to plug its memory
>> region into the system
while
> we're at it, since it looks like that wouldn't have built when vmclock
> wasn't enabled.
>
> Signed-off-by: David Woodhouse
Reviewed-by: Ani Sinha mailto:anisi...@redhat.com>>
> ---
> hw/acpi/vmclock.c | 18 ++
> hw/i386/
On Sat, Mar 29, 2025 at 1:43 PM David Woodhouse wrote:
>
> On Fri, 2025-02-07 at 14:34 +, David Woodhouse wrote:
> > From: David Woodhouse
> >
> > The vmclock device only has a reset method in order to plug its memory
> > region into the system memory. It was originally done this way in order
On Fri, 21 Mar, 2025, 3:38 pm Gerd Hoffman, wrote:
> Hi,
>
> > > While digging around in the igvm spec I've seen there is the
> > > concept of 'parameters'. Can this be used to pass on the memory
> > > location of kernel + initrd + cmdline? Maybe the kernel hashes
> too?
> >
>
On Wed, Mar 26, 2025 at 8:52 PM Alexander Graf wrote:
>
>
> On 26.03.25 13:27, Gerd Hoffman wrote:
> >Hi,
> >
> >> The problem is that add-ons are
> >>
> >>1) Separate binaries. So you need to match multiple files.
> >>2) In this case, get generated out of the vendor (RH)'s control in
On Mon, Mar 24, 2025 at 1:13 PM Gerd Hoffman wrote:
>
> Hi,
>
> > > Going ship the distro kernel as igvm image would work too. Will
> > > simplify the measurement pre-calculation. Also there is no need to pass
> > > around any parameters, everything (how the firmware finds the UKI etc)
> > > c
On Thu, Mar 20, 2025 at 7:24 PM Alexander Graf wrote:
>
> Hey Gerd,
>
> On 18.03.25 12:11, Gerd Hoffman wrote:
> >Hi,
> >
> >> Maybe not from the user's point of view, but surely for the vmfwupdate
> >> interface design and for the launch measurement calculations.
> >>
> >> When using igvm par
On Wed, Mar 5, 2025 at 7:56 PM Ani Sinha wrote:
>
> On Wed, Mar 5, 2025 at 7:12 PM Stefan Hajnoczi wrote:
> >
> > On Wed, Mar 05, 2025 at 01:24:25PM +0530, Ani Sinha wrote:
> > > On Sat, Mar 1, 2025 at 9:04 PM Ani Sinha wrote:
> > > >
> > > &g
On Fri, Mar 14, 2025 at 8:47 PM Jörg Rödel wrote:
>
> On Fri, Mar 14, 2025 at 03:08:43PM +0100, Gerd Hoffman wrote:
> > If your input firmware image already is an IGVM (say coconut), what is
> > supposed to happen?
>
> The COCONUT igvmbuilder has the ability to take another IGVM file as
> input an
On Thu, Mar 13, 2025 at 4:57 PM Jörg Rödel wrote:
>
> On Thu, Mar 13, 2025 at 04:39:15PM +0530, Ani Sinha wrote:
> > Right so what we are proposing is generic enough so that if the VM
> > wants to use an IGVM container as opposed to an actual firmware image
> > in a FUKI,
On Thu, Mar 13, 2025 at 7:01 PM Jörg Rödel wrote:
>
> Hi Gerd,
>
> On Thu, Mar 13, 2025 at 01:05:13PM +0100, Gerd Hoffman wrote:
> > // regions_addr points to an array of this structure
> > struct vmfwupdate_regions {
> > uint64_t size;
> > uint64_t src_addr; // source address (befor
On Thu, Mar 13, 2025 at 4:57 PM Jörg Rödel wrote:
>
> On Thu, Mar 13, 2025 at 04:39:15PM +0530, Ani Sinha wrote:
> > Right so what we are proposing is generic enough so that if the VM
> > wants to use an IGVM container as opposed to an actual firmware image
> > in a FUKI,
l VMs
> yet and want to discuss how to change that.
>
> On Thu, Mar 13, 2025 at 04:02:11PM +0530, Ani Sinha wrote:
> > Forgive my ignorance, today none of the hyperscalers use IGVM to
> > define this. How then the expected launch measurement is derived?
>
> There is
On Thu, Mar 13, 2025 at 3:40 PM Jörg Rödel wrote:
>
> Hi Ani,
>
> On Thu, Mar 13, 2025 at 03:07:42PM +0530, Ani Sinha wrote:
> > The state before reset is the state that uses stock firmware from the
> > hyperscaler. The state after reset is a fresh new state that uses th
On Thu, Mar 13, 2025 at 2:40 PM Jörg Rödel wrote:
>
> Hi Ani,
>
> On Fri, Feb 14, 2025 at 09:04:07PM +0530, Ani Sinha wrote:
> > VM firmware update is a mechanism where the virtual machines can use their
> > preferred and trusted firmware image in their execution environme
On Fri, Mar 7, 2025 at 8:46 PM Philippe Mathieu-Daudé wrote:
>
> Replace the compile-time CONFIG_ACPI check by a runtime one.
>
> Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Ani Sinha
> ---
> hw/i386/fw_cfg.c | 8
> 1 file changed, 4 insertions(+), 4
On Fri, Mar 7, 2025 at 8:46 PM Philippe Mathieu-Daudé wrote:
>
> acpi_builtin() can be used to check at runtime whether
> the ACPI subsystem is built in a qemu-system binary.
>
> Signed-off-by: Philippe Mathieu-Daudé
Ah, very similar to something I did recently.
Reviewe
us.
This change also removes all complications around CPU_VERSION_AUTO
including removal of the value itself.
1) See commit dcafd1ef0af227 ("i386: Register versioned CPU models")
2) See commit XXX ("microvm: do not use the lastest cpu version")
CC: imamm...@redhat.com
Signed-
On Wed, Mar 5, 2025 at 7:12 PM Stefan Hajnoczi wrote:
>
> On Wed, Mar 05, 2025 at 01:24:25PM +0530, Ani Sinha wrote:
> > On Sat, Mar 1, 2025 at 9:04 PM Ani Sinha wrote:
> > >
> > > On Thu, Feb 20, 2025 at 12:36 PM Zhao Liu wrote:
> > > >
> > &
api ovmf_supported() that returns true wnen ovmf is enabled
and false otherwise. Ovmf parsing code is only called after checking if ovmf
is supported.
Message-ID: <20250228170434.317306-1-anisi...@redhat.com>
Signed-off-by: Ani Sinha
Reviewed-by: Gerd Hoffmann
---
hw/i386/pc_sysfw.c
ommit dcafd1ef0af227 ("i386: Register versioned CPU models")
CC: imamm...@redhat.com
CC: zhao1@intel.com
Message-ID: <20250220065326.312596-1-anisi...@redhat.com>
Reviewed-by: Igor Mammedov
Reviewed-by: Sergio Lopez
Signed-off-by: Ani Sinha
Reviewed-by: Zhao Liu
---
hw/i386/
On Sat, Mar 1, 2025 at 9:04 PM Ani Sinha wrote:
>
> On Thu, Feb 20, 2025 at 12:36 PM Zhao Liu wrote:
> >
> > On Thu, Feb 20, 2025 at 12:23:26PM +0530, Ani Sinha wrote:
> > > Date: Thu, 20 Feb 2025 12:23:26 +0530
> > > From: Ani Sinha
> > > Subject: [
.
Ani Sinha (3):
hw/i386: introduce x86_firmware_reconfigure api
hw/i386/ovmf: check if ovmf is supported before calling ovmf parsing code
microvm: do not use the lastest cpu version
hw/i386/microvm.c | 2 +-
hw/i386/pc_sysfw.c| 30
://pretalx.com/kvm-forum-2024/talk/HJSKRQ/
Message-ID: <20250228114230.306852-1-anisi...@redhat.com>
Signed-off-by: Ani Sinha
Reviewed-by: Gerd Hoffmann
---
hw/i386/pc_sysfw.c| 26 ++
hw/i386/pc_sysfw_ovmf-stubs.c | 5 +
hw/i386/pc_sysfw_ovmf.c
On Wed, Mar 5, 2025 at 3:53 AM Ani Sinha wrote:
>
> On Fri, Jan 31, 2025 at 3:24 PM Igor Mammedov wrote:
> >
> > On Tue, 28 Jan 2025 09:25:26 +0530
> > Ani Sinha wrote:
> >
> > > commit 0788a56bd1ae3 ("i386: Make unversioned CPU models be aliases&
On Fri, Jan 31, 2025 at 3:24 PM Igor Mammedov wrote:
>
> On Tue, 28 Jan 2025 09:25:26 +0530
> Ani Sinha wrote:
>
> > commit 0788a56bd1ae3 ("i386: Make unversioned CPU models be aliases")
> > introduced 'default_cpu_version' for PCMachineClass. Thi
://pretalx.com/kvm-forum-2024/talk/HJSKRQ/
Signed-off-by: Ani Sinha
---
hw/i386/pc_sysfw.c| 26 ++
hw/i386/pc_sysfw_ovmf-stubs.c | 5 +
hw/i386/pc_sysfw_ovmf.c | 5 +
include/hw/i386/pc.h | 1 +
include/hw/i386/x86.h | 1 +
5
On Thu, Feb 20, 2025 at 12:36 PM Zhao Liu wrote:
>
> On Thu, Feb 20, 2025 at 12:23:26PM +0530, Ani Sinha wrote:
> > Date: Thu, 20 Feb 2025 12:23:26 +0530
> > From: Ani Sinha
> > Subject: [PATCH v2] microvm: do not use the lastest cpu version
> > X-Mailer: git-se
On Fri, Feb 28, 2025 at 10:34 PM Ani Sinha wrote:
>
> Currently call to x86_firmware_configure() -> pc_system_parse_ovmf_flash()
> happens only when SEV is enabled. Fortunately, X86_FW_OVMF is turned on
> automatically when SEV is enabled and therefore, we never
api ovmf_supported() that returns true wnen ovmf is enabled
and false otherwise. Ovmf parsing code is only called after checking if ovmf
is supported.
Signed-off-by: Ani Sinha
---
hw/i386/pc_sysfw.c| 18 +++---
hw/i386/pc_sysfw_ovmf-stubs.c | 5 +
hw/i386/pc_sysfw_ovmf.c |
://pretalx.com/kvm-forum-2024/talk/HJSKRQ/
Signed-off-by: Ani Sinha
---
hw/i386/pc_sysfw.c| 26 ++
hw/i386/pc_sysfw_ovmf-stubs.c | 5 +
hw/i386/pc_sysfw_ovmf.c | 5 +
include/hw/i386/pc.h | 1 +
include/hw/i386/x86.h | 1 +
5
On Tue, Feb 25, 2025 at 2:09 PM Gerd Hoffman wrote:
>
> On Tue, Feb 25, 2025 at 10:51:08AM +0530, Ani Sinha wrote:
> > On Mon, Feb 24, 2025 at 9:17 PM Gerd Hoffman wrote:
> > >
> > > Works nicely for me. Test case:
> > > https://kraxel.gitlab.io/uefi
On Mon, Feb 24, 2025 at 9:17 PM Gerd Hoffman wrote:
>
> On Fri, Feb 14, 2025 at 09:04:07PM +0530, Ani Sinha wrote:
> > VM firmware update is a mechanism where the virtual machines can use their
> > preferred and trusted firmware image in their execution environment without
>
On Mon, Feb 24, 2025 at 9:01 PM Gerd Hoffmann wrote:
>
> Hi,
>
> > /* should only be called once */
> > -if (ovmf_flash_parsed) {
> > +if (ovmf_flash_parsed && !force) {
>
> I think it makes more sense to clear ovmf_flash_parsed when replacing
> the firmware (instead of adding the f
://pretalx.com/kvm-forum-2024/talk/HJSKRQ/
Signed-off-by: Ani Sinha
---
hw/i386/pc_sysfw.c| 25 +
hw/i386/pc_sysfw_ovmf-stubs.c | 3 ++-
hw/i386/pc_sysfw_ovmf.c | 5 +++--
include/hw/i386/pc.h | 3 ++-
include/hw/i386/x86.h | 1 +
5 files
ommit dcafd1ef0af227 ("i386: Register versioned CPU models")
CC: imamm...@redhat.com
CC: zhao1@intel.com
Reviewed-by: Igor Mammedov
Reviewed-by: Sergio Lopez
Signed-off-by: Ani Sinha
---
hw/i386/microvm.c | 2 +-
target/i386/cpu.c | 15 ---
target/i386/cpu.h | 4
On Fri, Feb 14, 2025 at 9:26 PM Alexander Graf wrote:
>
>
> On 14.02.25 16:35, Ani Sinha wrote:
> > On Mon, Feb 3, 2025 at 3:50 AM Alexander Graf wrote:
> >> Hey Ani!
> >>
> >> On 28.01.25 22:31, Ani Sinha wrote:
>
>
> [...]
>
>
On Mon, Feb 3, 2025 at 3:50 AM Alexander Graf wrote:
>
> Hey Ani!
>
> On 28.01.25 22:31, Ani Sinha wrote:
> > VM firmware update is a mechanism where the virtual machines can use their
> > preferred and trusted firmware image in their execution environment without
&
/35091
and https://github.com/systemd/systemd/pull/35281 for some discussions on
how we can bundle firmware image within an UKI.
CC: Alex Graf
CC: Paolo Bonzini
CC: Gerd Hoffman
CC: Igor Mammedov
CC: Vitaly Kuznetsov
Signed-off-by: Ani Sinha
---
MAINTAINERS | 11
: zhao1@intel.com
Signed-off-by: Ani Sinha
---
hw/i386/microvm.c | 2 +-
target/i386/cpu.c | 15 ---
target/i386/cpu.h | 4
3 files changed, 1 insertion(+), 20 deletions(-)
Pipeline passes:
https://gitlab.com/anisinha/qemu/-/pipelines/1669159835
See also Igor's comment on
/35091
and https://github.com/systemd/systemd/pull/35281 for some discussions on
how we can bundle firmware image within an UKI.
CC: Alex Graf
CC: Paolo Bonzini
CC: Gerd Hoffman
CC: Igor Mammedov
CC: Vitaly Kuznetsov
Signed-off-by: Ani Sinha
---
MAINTAINERS | 11
6: Register versioned CPU models")
CC: imamm...@redhat.com
Signed-off-by: Ani Sinha
Reviewed-by: Zhao Liu
---
hw/i386/microvm.c | 3 +-
hw/i386/pc.c | 14 +
hw/i386/pc_piix.c | 6 ++--
hw/i386/pc_q35.c | 6 ++--
hw/i386/x86-common.c | 4 +--
include/hw/i38
On Mon, Jan 20, 2025 at 10:09 AM Ani Sinha wrote:
>
> A new qtest is written that exercizes the fw-cfg DMA based read and write ops
> to write values into vmcoreinfo fw-cfg file and read them back and verify that
> they are the same.
>
> Signed-off-by: Ani Sinha
Final
On Mon, Jan 20, 2025 at 10:09 AM Ani Sinha wrote:
>
> At present, the libqos/fw_cfg.c library does not support the modern DMA
> interface which is required to write to the fw_cfg files. It only uses the IO
> interface. Implement read and write methods based on DMA. This will enable
On Thu, Jan 23, 2025 at 7:52 PM Igor Mammedov wrote:
>
> On Thu, 23 Jan 2025 17:26:12 +0530
> Ani Sinha wrote:
>
> > commit 0788a56bd1ae3 ("i386: Make unversioned CPU models be aliases")
> > introduced 'default_cpu_version' for PCMachineClass. Thi
On Thu, Jan 23, 2025 at 1:56 PM Zhao Liu wrote:
>
> Hi Ani,
>
> [snip]
>
> > --- a/include/hw/i386/x86.h
> > +++ b/include/hw/i386/x86.h
> > @@ -114,7 +114,10 @@ void init_topo_info(X86CPUTopoInfo *topo_info, const
> > X86MachineState *x86ms);
> > uint32_t x86_cpu_apic_id_from_index(X86MachineSt
6: Register versioned CPU models")
CC: imamm...@redhat.com
Signed-off-by: Ani Sinha
---
hw/i386/microvm.c | 3 +-
hw/i386/pc.c | 14 +
hw/i386/pc_piix.c | 6 ++--
hw/i386/pc_q35.c | 6 ++--
hw/i386/x86-common.c | 4 +--
include/hw/i386/pc.h | 7 +++
On Tue, Jan 21, 2025 at 4:58 PM Zhao Liu wrote:
>
> Hi Ani,
>
> Sorry for late reply.
>
> On Thu, Jan 16, 2025 at 09:04:18AM +0530, Ani Sinha wrote:
> > Date: Thu, 16 Jan 2025 09:04:18 +0530
> > From: Ani Sinha
> > Subject: [PATCH v3] hw/i386/cpu: remove de
6: Register versioned CPU models")
CC: imamm...@redhat.com
Signed-off-by: Ani Sinha
---
hw/i386/microvm.c | 3 +-
hw/i386/pc_piix.c | 6 ++--
hw/i386/pc_q35.c | 6 ++--
hw/i386/x86-common.c | 4 +--
include/hw/i386/pc.h | 19 ++--
include/hw/i386/x86.h | 5 ++
On Thu, Jan 16, 2025 at 9:04 AM Ani Sinha wrote:
>
> commit 0788a56bd1ae3 ("i386: Make unversioned CPU models be aliases")
> introduced 'default_cpu_version' for PCMachineClass. This created three
> categories of CPU models:
> - Most unversioned CPU mo
eview feedbacks has been taken into account.
Ani Sinha (3):
libqos/fw_cfg: refactor file directory iteraton to make it more
reusable
tests/qtest/libqos: add DMA support for writing and reading fw_cfg
files
tests/qtest/vmcoreinfo: add a unit test to exercize basic vmcoreinfo
fun
A new qtest is written that exercizes the fw-cfg DMA based read and write ops
to write values into vmcoreinfo fw-cfg file and read them back and verify that
they are the same.
Signed-off-by: Ani Sinha
---
MAINTAINERS | 2 +
tests/qtest/meson.build | 1 +
tests/qtest
fw-cfg file directory iteration code can be used by other functions that may
want to implement fw-cfg file operations. Refactor it into a smaller helper
so that it can be reused.
No functional change.
Signed-off-by: Ani Sinha
Reviewed-by: Fabiano Rosas
---
tests/qtest/libqos/fw_cfg.c | 63
of
the code is taken from edk2 fw_cfg implementation. It has been tested by
writing a qtest that writes to a fw_cfg file.
Signed-off-by: Ani Sinha
---
tests/qtest/libqos/fw_cfg.c | 139
tests/qtest/libqos/fw_cfg.h | 6 +-
2 files changed, 144 insertions
On Fri, Jan 10, 2025 at 4:16 PM Ani Sinha wrote:
>
> This patchset enables DMA interface support for writing fw-cfg files in
> libqtest. The first patch is just a code refactoring so that fw-cfg
> directory parsing can be part of a separate helper function.
> The second patch is t
On Wed, Jan 15, 2025 at 6:23 PM Igor Mammedov wrote:
>
> Current versions of Windows call _DSM(func=7) regardless
> of whether it is supported or not. It leads to NICs having bogus
> 'PCI Label Id = 0', where none should be set at all.
>
> Also presence of 'PCI Label Id' triggers another Windows b
On Fri, Jan 10, 2025 at 4:16 PM Ani Sinha wrote:
>
> At present, the libqos/fw_cfg.c library does not support the modern DMA
> interface which is required to write to the fw_cfg files. It only uses the IO
> interface. Implement read and write methods based on DMA. This will enable
>
On Fri, Jan 10, 2025 at 4:16 PM Ani Sinha wrote:
>
> A new qtest is written that exercizes the fw-cfg DMA based read and write ops
> to write values into vmcoreinfo fw-cfg file and read them back and varify that
> they are the same.
>
Ping ...
> Signed-off-by: Ani Sinha
&g
6: Register versioned CPU models")
CC: imamm...@redhat.com
Signed-off-by: Ani Sinha
---
hw/i386/microvm.c | 2 +-
hw/i386/pc_piix.c | 6 ++---
hw/i386/pc_q35.c | 6 ++---
hw/i386/x86-common.c | 15 ---
include/hw/i386/pc.h | 21 ---
include/hw/i386/x86.
On Wed, Jan 15, 2025 at 9:38 PM Ani Sinha wrote:
>
> On Wed, Jan 15, 2025 at 7:08 PM Michael S. Tsirkin wrote:
> >
> > On Wed, Jan 15, 2025 at 11:33:10AM +0530, Ani Sinha wrote:
> > > On Thu, Dec 12, 2024 at 8:19 PM Ani Sinha wrote:
> > > >
> > >
On Wed, Jan 15, 2025 at 7:08 PM Michael S. Tsirkin wrote:
>
> On Wed, Jan 15, 2025 at 11:33:10AM +0530, Ani Sinha wrote:
> > On Thu, Dec 12, 2024 at 8:19 PM Ani Sinha wrote:
> > >
> > > commit 0788a56bd1ae3 ("i386: Make unversioned CPU models be aliases"
On Wed, Jan 15, 2025 at 6:23 PM Igor Mammedov wrote:
>
> Signed-off-by: Igor Mammedov
Acked-by: Ani Sinha
> ---
> tests/qtest/bios-tables-test-allowed-diff.h | 40 +
> 1 file changed, 40 insertions(+)
>
> diff --git a/tests/qtest/bios-tables-test-allo
On Thu, Dec 12, 2024 at 8:19 PM Ani Sinha wrote:
>
> commit 0788a56bd1ae3 ("i386: Make unversioned CPU models be aliases")
> introduced 'default_cpu_version' for PCMachineClass. This created three
> categories of CPU models:
> - Most unversioned CPU mo
On Tue, Jan 14, 2025 at 11:16 PM Alireza Sanaee
wrote:
>
> From: Yicong Yang
>
> Update the ACPI tables according to the acpi aml_build change, also
> empty bios-tables-test-allowed-diff.h.
Where is this part? That is the part where you empty
bios-tables-test-allowed-diff.h.?
You are supposed to
On Fri, Jan 10, 2025 at 9:48 PM Philippe Mathieu-Daudé
wrote:
>
> On 10/1/25 11:46, Ani Sinha wrote:
> > fw-cfg file directory iteration code can be used by other functions that may
> > want to implement fw-cfg file operations. Refactor it into a smaller helper
> >
fw-cfg file directory iteration code can be used by other functions that may
want to implement fw-cfg file operations. Refactor it into a smaller helper
so that it can be reused.
No functional change.
Signed-off-by: Ani Sinha
---
tests/qtest/libqos/fw_cfg.c | 62
structure of
the code is taken from edk2 fw_cfg implementation. It has been tested by
writing a qtest that writes to a fw_cfg file. This test will be part of a
future patch series.
Signed-off-by: Ani Sinha
---
tests/qtest/libqos/fw_cfg.c | 142
tests/qtest/libqos
A new qtest is written that exercizes the fw-cfg DMA based read and write ops
to write values into vmcoreinfo fw-cfg file and read them back and varify that
they are the same.
Signed-off-by: Ani Sinha
---
MAINTAINERS | 2 +
tests/qtest/meson.build | 1 +
tests/qtest
: first working version of the patch.
v4: refactoring without any new changes put into a new patch.
v5: a new qtest added to exercize the two new write and read apis.
all along, other review feedbacks has been taken into account.
Ani Sinha (3):
libqos/fw_cfg: refactor file directory iteraton to
: first working version of the patch.
v4: refactoring without any new changes put into a new patch.
v5: a new qtest added to exercize the two new write and read apis.
all along, other review feedbacks has been taken into account.
Ani Sinha (3):
libqos/fw_cfg: refactor file directory iteraton to
> On 10 Jan 2025, at 2:00 AM, Fabiano Rosas wrote:
>
> Ani Sinha writes:
>
>> At present, the libqos/fw_cfg.c library does not support the modern DMA
>> interface which is required to write to the fw_cfg files. It only uses the IO
>> interface. Implement read
> On 10 Jan 2025, at 1:31 AM, Fabiano Rosas wrote:
>
> Ani Sinha writes:
>
>> fw-cfg file directory iteration code can be used by other functions that may
>> want to implement fw-cfg file operations. Refactor it into a smaller helper
>> so that it can be reuse
structure of
the code is taken from edk2 fw_cfg implementation. It has been tested by
writing a qtest that writes to a fw_cfg file. This test will be part of a
future patch series.
Signed-off-by: Ani Sinha
---
tests/qtest/libqos/fw_cfg.c | 138
tests/qtest/libqos
/-/commits/fuki-hyperface which has
vmfwupdate changes on top of the patches sent in this series.
cc: kra...@redhat.com
cc: faro...@suse.de
cc: lviv...@redhat.com
cc: pbonz...@redhat.com
cc: arm...@redhat.com
cc: phi...@linaro.org
cc: berra...@redhat.com
cc: qemu-devel@nongnu.org
Ani Sinha (2
fw-cfg file directory iteration code can be used by other functions that may
want to implement fw-cfg file operations. Refactor it into a smaller helper
so that it can be reused.
No functional change.
Signed-off-by: Ani Sinha
---
tests/qtest/libqos/fw_cfg.c | 63
> On 8 Jan 2025, at 6:38 PM, Daniel P. Berrangé wrote:
>
> On Wed, Jan 08, 2025 at 06:27:50PM +0530, Ani Sinha wrote:
>> At present, the libqos/fw_cfg.c library does not support the modern DMA
>> interface which is required to write to the fw_cfg files. It only use
structure of
the code is taken from edk2 fw_cfg implementation. It has been tested by
writing a qtest that writes to a fw_cfg file. This test will be part of a
future patch series.
Signed-off-by: Ani Sinha
---
tests/qtest/libqos/fw_cfg.c | 204
tests/qtest/libqos
> On 7 Jan 2025, at 8:21 PM, Ani Sinha wrote:
>
> At present, the libqos/fw_cfg.c library does not support the modern DMA
> interface which is required to write to the fw_cfg files. It only uses the IO
> interface. Implement read and write methods based on DMA. This will enab
structure of
the code is taken from edk2 fw_cfg implementation. It has been tested by
writing a qtest that writes to a fw_cfg file. This test will be part of a
future patch series.
Signed-off-by: Ani Sinha
---
tests/qtest/libqos/fw_cfg.c | 191 +++-
tests/qtest/libqos
> On 7 Jan 2025, at 6:28 PM, Ani Sinha wrote:
>
> At present, the libqos/fw_cfg.c library does not support the modern DMA which
> is required to write to the fw_cfg files. It only uses the IO interface.
> Implement read and write methods based on DMA. This will enable develo
code is
taken from edk2 fw_cfg implementation. It has been tested by writing a qtest
that writes to a fw_cfg file. This test will be part of a future patch series.
Signed-off-by: Ani Sinha
---
tests/qtest/libqos/fw_cfg.c | 150
tests/qtest/libqos/fw_cfg.h | 4
1 - 100 of 1143 matches
Mail list logo