On Fri, Feb 21, 2020 at 02:35:12PM +0800, Yubo Miao wrote: > From: miaoyubo <miaoy...@huawei.com> > > Currently, pxb-pcie could be defined by the cmdline like > --device pxb-pcie,id=pci.9,bus_nr=128 > However pxb-pcie is not described in acpi tables for arm. > > The formal two patches support pxb-pcie for arm, escpcially the > specification for pxb-pcie in DSDT table. > > Add a testcase to make sure the ACPI table is correct for guest. > > Signed-off-by: miaoyubo <miaoy...@huawei.com>
Please look at the top of tests/qtest/bios-tables-test.c for how to add or update tests. > --- > tests/data/acpi/virt/DSDT.pxb | Bin 0 -> 34209 bytes > tests/qtest/bios-tables-test.c | 54 +++++++++++++++++++++++++++++---- > 2 files changed, 48 insertions(+), 6 deletions(-) > create mode 100644 tests/data/acpi/virt/DSDT.pxb > > diff --git a/tests/data/acpi/virt/DSDT.pxb b/tests/data/acpi/virt/DSDT.pxb > new file mode 100644 > index > 0000000000000000000000000000000000000000..4eea3192c75ff28f7054d626a9363ca025b6c0ad > GIT binary patch I can't read this. > literal 34209 > zcmeI*cXU+szJ~D)1PGxe5PG+us9-{<Do8R35G4>YGz}UAMT!L#ks?x*Dx!d5hoIPd > z?}}o>iWL;GW5HgrlKbvVM&HM??^)~qbMIProvd|8p2_U*%qO!m?AgcPkRQ(<wr)WX > zR3DKyBsMVKK5tZUEMJ#Z3xXj0I{cizY-H-_vUpxu>HL<ltgNimvVn#9^>bszg^Hd* > zYT59@{GfDxK}u{$QSzH5MFX?4va_qcnOYVriD$G-YqqdX5KgQUqzA#0T0ymH9aJ-P > zt=#;Qdf_)p=V$jH6t9{xXmH68P3ev)8EFlwrs(=X$_(9dxJh>6UU8FZi5vcVla%Bp > zz50)g^-pXvw4i9XAYFAU@nN}Xb+t___n%u<uhU$chBua*GNL5;Gf3Q8mfgX>w)`8L > z7F4goX88!*;pB+$X8&bG_2BOj*;OO*!h6xx&B+mI)uU#l*o>||BPVi3ji?#5Y(|dH > z=oUF6C2B^h&FJPcx<}5a88su#W_0%%JtAk+ikeZ+X7unGJtJq-j+)WHX7uzKy&`9% ...