qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Ani Sinha <ani@anisinha.ca>
To: qemu-devel@nongnu.org
Cc: Laurent Vivier <lvivier@redhat.com>,
	Thomas Huth <thuth@redhat.com>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	jusual@redhat.com, Paolo Bonzini <pbonzini@redhat.com>,
	Ani Sinha <ani@anisinha.ca>, Igor Mammedov <imammedo@redhat.com>
Subject: [PATCH 0/3] i440fx: unit tests for testing flag that enables/disables pci root hotplug
Date: Sun, 30 Aug 2020 15:29:11 +0530	[thread overview]
Message-ID: <20200830095915.14402-1-ani@anisinha.ca> (raw)

The following set of patches have been generated according to the guidelines provided in the
header comment in the file tests/qtest/bios-tables-test.c.

The first patch documents that a new ACPI table binary blob has been added. The new file is
listed in file tests/qtest/bios-tables-test-allowed-diff.h.

The second patch is the actual unit test.

The third patch actually adds the new ACPI table blob and then clears the file
tests/qtest/bios-tables-test-allowed-diff.h.

The unit test has been tested on the top of upstream master qemu tree  v5.1.0 tag. I have not
tested this patch on the latest upstream master branch HEAD because there seems to be an issue
with the latest upstream tip with qemu crashing consistently.

Thanks to Igor for pushing on this.

--Ani

Ani Sinha (3):
  tests/acpi: document addition of table DSDT.roothp for unit testing
    root pci hotplug on/off
  tests/acpi: add a new unit test to test hotplug off/on feature on the
    root pci bus
  tests/acpi: add a new ACPI table in order to test root pci hotplug
    on/off

 tests/data/acpi/pc/DSDT.roothp | Bin 0 -> 3215 bytes
 tests/qtest/bios-tables-test.c |  14 ++++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 tests/data/acpi/pc/DSDT.roothp

-- 
2.17.1



             reply	other threads:[~2020-08-30 10:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-30  9:59 Ani Sinha [this message]
2020-08-30  9:59 ` [PATCH 1/3] tests/acpi: document addition of table DSDT.roothp for unit testing root pci hotplug on/off Ani Sinha
2020-08-30  9:59 ` [PATCH 2/3] tests/acpi: add a new unit test to test hotplug off/on feature on the root pci bus Ani Sinha
2020-09-01 13:51   ` Igor Mammedov
2020-09-01 15:12     ` Ani Sinha
2020-08-30  9:59 ` [PATCH 3/3] tests/acpi: add a new ACPI table in order to test root pci hotplug on/off 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=20200830095915.14402-1-ani@anisinha.ca \
    --to=ani@anisinha.ca \
    --cc=imammedo@redhat.com \
    --cc=jusual@redhat.com \
    --cc=lvivier@redhat.com \
    --cc=mst@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=thuth@redhat.com \
    /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).