Re: [SeaBIOS] [PATCH v2 3/3] pci: recognize RH PCI legacy bridge resource

2018-08-13 Thread Zihan Yang
> Enable the firmware recognizing RedHat legacy PCI bridge device ID, > so QEMU can reserve additional PCI bridge resource capability. > > Signed-off-by: Jing Liu > --- > src/fw/pciinit.c | 50 +- > src/hw/pci_ids.h | 1 + > 2 files changed, 30

[SeaBIOS] [PATCH v2 3/3] pci: recognize RH PCI legacy bridge resource

2018-08-13 Thread Jing Liu
Enable the firmware recognizing RedHat legacy PCI bridge device ID, so QEMU can reserve additional PCI bridge resource capability. Signed-off-by: Jing Liu --- src/fw/pciinit.c | 50 +- src/hw/pci_ids.h | 1 + 2 files changed, 30 insertions(+), 21

[SeaBIOS] [PATCH v2 2/3] pci: clean up the debug message for pci capability found

2018-08-13 Thread Jing Liu
Improve the debug message when QEMU resource reserve cap is not found and when the vendor-id or device-id does't match REDHAT special ones. Signed-off-by: Jing Liu --- src/fw/pciinit.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/fw/pciinit.c b/src/fw/pciinit.c

[SeaBIOS] [PATCH v2 1/3] pci: fix the return value for truncated capability

2018-08-13 Thread Jing Liu
Return zero when finding truncated capability. Signed-off-by: Jing Liu --- src/fw/pciinit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fw/pciinit.c b/src/fw/pciinit.c index 3a2f747..d2cea2b 100644 --- a/src/fw/pciinit.c +++ b/src/fw/pciinit.c @@ -539,6 +539,7 @@ static u8

[SeaBIOS] [PATCH v2 0/3] pci: resource reserve capability found

2018-08-13 Thread Jing Liu
This patch serial is about QEMU resource reserve capability finding in firmware. Firstly, this fixes a logic bug. When the capability is truncated, return zero instead of the truncated offset. Secondly, this modified the debug messages when the capability is not found and when the vendor ID or

[SeaBIOS] [PATCH v2] pci: recognize RH PCI legacy bridge resource

2018-08-13 Thread Jing Liu
Enable the firmware recognizing RedHat legacy PCI bridge device ID, so QEMU can reserve additional PCI bridge resource capability. Signed-off-by: Jing Liu --- src/fw/pciinit.c | 50 +- src/hw/pci_ids.h | 1 + 2 files changed, 30 insertions(+), 21

[SeaBIOS] vTPM 2.0 is recognized as vTPM 1.2 on the Win 10 virtual machine with seabios

2018-08-13 Thread 汤福
Hi, I want to use the vTPM in a qemu Windows image. Unfortunately, it didn't work. First, the equipment: TPM 2.0 hardware CentOS 7.2 Qemu v2.10.2 SeaBIOS 1.11.0 libtpm and so on My host is centos 7.2 with the TPM 2.0 hardware and qemu v2.10.2. I make the libtpm and seabios with ./configure, make