[Qemu-devel] [PATCH v5 1/2] ACPI: Cleanup -acpitable option code

2016-08-11 Thread Lv Zheng
In -acpitable options, at least/most one data/file sub-option is mandatory, this patch cleans up the code to reflect this in a managed manner so that the follow-up mandatory sub-options can be added to -acpitable. Signed-off-by: Lv Zheng --- hw/acpi/core.c | 32

[Qemu-devel] [PATCH v5 0/2] ACPI: Add FADT revision support

2016-08-11 Thread Lv Zheng
ock residency Lv Zheng (2): ACPI: Cleanup -acpitable option code ACPI: Add -acpitable fadt= to allow FADT revision changes hw/acpi/core.c | 50 +-- hw/i386/acpi-build.c | 76 ++-- include/hw/acpi/acpi.h |1 + q

[Qemu-devel] [PATCH v5 2/2] ACPI: Add -acpitable fadt= to allow FADT revision changes

2016-08-11 Thread Lv Zheng
be configured by the users. 1. Tested by booting a linux image, the 64-bit addresses are correctly filled in the dumped FADT. 2. Tested by booting a Windows image, no boot failure can be seen. Signed-off-by: Lv Zheng --- hw/acpi/core.c | 20 - hw/i386/acpi-build.c

[Qemu-devel] [PATCH v4 2/2] ACPI: Add -acpitable fadt= to allow FADT revision changes

2016-08-11 Thread Lv Zheng
be configured by the users. 1. Tested by booting a linux image, the 64-bit addresses are correctly filled in the dumped FADT. 2. Tested by booting a Windows image, no boot failure can be seen. Signed-off-by: Lv Zheng --- hw/acpi/core.c | 26 ++--- hw/i386/acpi-build.c

[Qemu-devel] [PATCH v4 1/2] ACPI: Cleanup -acpitable option code

2016-08-11 Thread Lv Zheng
In -acpitable options, at least/most one data/file sub-option is mandatory, this patch cleans up the code to reflect this in a managed manner so that the follow-up mandatory sub-options can be added to -acpitable. Signed-off-by: Lv Zheng --- hw/acpi/core.c | 32

[Qemu-devel] [PATCH v4 0/2] ACPI: Add FADT revision support

2016-08-11 Thread Lv Zheng
This patchset adds revision support for FADT. History: v1: Initial support v2: Coding style cleanup v3: Cleanup -acpitable code (remove useless hdrs->data/file) Change -acpifadt to -acpitable fadt= Shrink v1 FADT table length v4: Coding style cleanup Lv Zheng (2): ACPI: Clea

[Qemu-devel] [PATCH v3 0/2] ACPI: Add FADT revision support

2016-08-11 Thread Lv Zheng
This patchset adds revision support for FADT. Lv Zheng (2): ACPI: Cleanup -acpitable option code ACPI: Add -acpitable fadt= to allow FADT revision changes hw/acpi/core.c | 50 +-- hw/i386/acpi-build.c | 76

[Qemu-devel] [PATCH v3 2/2] ACPI: Add -acpitable fadt= to allow FADT revision changes

2016-08-11 Thread Lv Zheng
be configured by the users. 1. Tested by booting a linux image, the 64-bit addresses are correctly filled in the dumped FADT. 2. Tested by booting a Windows image, no boot failure can be seen. Signed-off-by: Lv Zheng --- hw/acpi/core.c | 26 ++--- hw/i386/acpi-build.c

[Qemu-devel] [PATCH v3 1/2] ACPI: Cleanup -acpitable option code

2016-08-11 Thread Lv Zheng
In -acpitable options, at least/most one data/file sub-option is mandatory, this patch cleans up the code to reflect this in a managed manner so that the follow-up mandatory sub-options can be added to -acpitable. Signed-off-by: Lv Zheng --- hw/acpi/core.c | 32

[Qemu-devel] [PATCH v2] ACPI: Add -acpifadt to allow FADT revision changes

2016-08-08 Thread Lv Zheng
configured by the users. 1. Tested by booting a linux image, the 64-bit addresses are correctly filled in the dumped FADT. 2. Tested by booting a Windows image, no boot failure can be seen. Signed-off-by: Lv Zheng --- History: v2: Fix coding style issues. --- hw/i386/acpi-build.c | 62

[Qemu-devel] [PATCH v2] ACPI: Enable AML DBUG() control method

2016-08-08 Thread Lv Zheng
ng isa-debugcon iobase so that we can always use this feature by only specifying "-debugcon stdio". Signed-off-by: Lv Zheng --- hw/char/debugcon.c | 23 +++ hw/i386/acpi-build.c |4 +++- include/hw/char/debugcon.h | 33 +++

[Qemu-devel] [PATCH] ACPI: Add -acpifadt to allow FADT revision changes

2016-08-08 Thread Lv Zheng
configured by the users. 1. Tested by booting a linux image, the 64-bit addresses are correctly filled in the dumped FADT. 2. Tested by booting a Windows image, no boot failure can be seen. Signed-off-by: Lv Zheng --- hw/i386/acpi-build.c | 62

[Qemu-devel] [PATCH] debugcon: Add -debugport option to allow changing debug console port number

2016-08-05 Thread Lv Zheng
BIOS's debugging facility functioning. Signed-off-by: Lv Zheng --- hw/char/debugcon.c |4 hw/i386/acpi-build.c|3 ++- include/sysemu/sysemu.h |1 + qemu-options.hx |9 + vl.c| 15 +++ 5 files changed, 31 inser