qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Ani Sinha <ani@anisinha.ca>
To: qemu-devel@nongnu.org
Cc: Ani Sinha <ani@anisinha.ca>
Subject: [PATCH v2 0/3] hw/smbios: fix table memory corruption with large memory vms
Date: Mon,  7 Feb 2022 17:01:26 +0530	[thread overview]
Message-ID: <20220207113129.2701722-1-ani@anisinha.ca> (raw)

This patchset tries to address the issue raised in
https://bugzilla.redhat.com/show_bug.cgi?id=2023977 .

Patch 2 and patch 3 are dependent on patch 1. 
Patch 1 makes some code cleanup to make thing more readable and also is
a preparatory patch for patches 2 and 3. Patch 2 is the actual fix.
Patch 3 adds an additional assertion because of changes introduced in
patch 2.

Ani Sinha (3):
  hw/smbios: code cleanup - use macro definitions for table base
    addresses
  hw/smbios: fix table memory corruption with large memory vms
  hw/smbios: add an assertion to ensure tables 19 and 32 do not collide

 hw/smbios/smbios.c | 58 ++++++++++++++++++++++++++++++++++------------
 1 file changed, 43 insertions(+), 15 deletions(-)

-- 
2.25.1



             reply	other threads:[~2022-02-07 11:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-07 11:31 Ani Sinha [this message]
2022-02-07 11:31 ` [PATCH v2 1/3] hw/smbios: code cleanup - use macro definitions for table base addresses Ani Sinha
2022-02-11  8:43   ` Igor Mammedov
2022-02-07 11:31 ` [PATCH v2 2/3] hw/smbios: fix table memory corruption with large memory vms Ani Sinha
2022-02-14 12:50   ` Igor Mammedov
2022-02-18  5:18     ` Ani Sinha
2022-02-07 11:31 ` [PATCH v2 3/3] hw/smbios: add an assertion to ensure tables 19 and 32 do not collide Ani Sinha
2022-02-14 12:53   ` Igor Mammedov
2022-02-14 14:34 ` [PATCH v2 0/3] hw/smbios: fix table memory corruption with large memory vms Michael S. Tsirkin
2022-02-14 14:53   ` Ani Sinha

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220207113129.2701722-1-ani@anisinha.ca \
    --to=ani@anisinha.ca \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).