[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 10/14] pc: Kill pc_init_pci_1_0()
From: |
Michael S. Tsirkin |
Subject: |
[Qemu-devel] [PULL 10/14] pc: Kill pc_init_pci_1_0() |
Date: |
Mon, 26 Aug 2013 19:43:30 +0300 |
From: Eduardo Habkost <address@hidden>
The pc_init_pci_1_2()/pc_init_pci_1_0() split was made on commit
6fd028f64f662c801fd5a54d0e3a1d2baeee93ea, in preparation for commit
9953f8822cc316eec9962f0a2858c3439a80adec. The latter was reverted, so there's
no reason to keep two separate functions that do exactly the same, anymore.
Signed-off-by: Eduardo Habkost <address@hidden>
Cc: Markus Armbruster <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
---
hw/i386/pc_piix.c | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
index bbefea6..dd730b1 100644
--- a/hw/i386/pc_piix.c
+++ b/hw/i386/pc_piix.c
@@ -263,19 +263,13 @@ static void pc_init_pci_1_3(QEMUMachineInitArgs *args)
pc_init_pci_1_4(args);
}
-/* PC machine init function for pc-1.1 to pc-1.2 */
+/* PC machine init function for pc-0.14 to pc-1.2 */
static void pc_init_pci_1_2(QEMUMachineInitArgs *args)
{
disable_kvm_pv_eoi();
pc_init_pci_1_3(args);
}
-/* PC machine init function for pc-0.14 to pc-1.0 */
-static void pc_init_pci_1_0(QEMUMachineInitArgs *args)
-{
- pc_init_pci_1_2(args);
-}
-
/* PC init function for pc-0.10 to pc-0.13, and reused by xenfv */
static void pc_init_pci_no_kvmclock(QEMUMachineInitArgs *args)
{
@@ -485,7 +479,7 @@ static QEMUMachine pc_machine_v1_1 = {
static QEMUMachine pc_machine_v1_0 = {
.name = "pc-1.0",
.desc = "Standard PC",
- .init = pc_init_pci_1_0,
+ .init = pc_init_pci_1_2,
.max_cpus = 255,
.compat_props = (GlobalProperty[]) {
PC_COMPAT_1_0,
@@ -501,7 +495,7 @@ static QEMUMachine pc_machine_v1_0 = {
static QEMUMachine pc_machine_v0_15 = {
.name = "pc-0.15",
.desc = "Standard PC",
- .init = pc_init_pci_1_0,
+ .init = pc_init_pci_1_2,
.max_cpus = 255,
.compat_props = (GlobalProperty[]) {
PC_COMPAT_0_15,
@@ -534,7 +528,7 @@ static QEMUMachine pc_machine_v0_15 = {
static QEMUMachine pc_machine_v0_14 = {
.name = "pc-0.14",
.desc = "Standard PC",
- .init = pc_init_pci_1_0,
+ .init = pc_init_pci_1_2,
.max_cpus = 255,
.compat_props = (GlobalProperty[]) {
PC_COMPAT_0_14,
--
MST
- [Qemu-devel] [PULL 00/14] pc,pci,virtio fixes and cleanups, Michael S. Tsirkin, 2013/08/26
- [Qemu-devel] [PULL 01/14] pc: cleanup 1.4 compat support, Michael S. Tsirkin, 2013/08/26
- [Qemu-devel] [PULL 02/14] arch_init: align MR size to target page size, Michael S. Tsirkin, 2013/08/26
- [Qemu-devel] [PULL 03/14] loader: store FW CFG ROM files in RAM, Michael S. Tsirkin, 2013/08/26
- [Qemu-devel] [PULL 04/14] q35: Add PCIe switch to example q35 configuration, Michael S. Tsirkin, 2013/08/26
- [Qemu-devel] [PULL 05/14] sun4: Don't prematurely explode QEMUMachineInitArgs, Michael S. Tsirkin, 2013/08/26
- [Qemu-devel] [PULL 06/14] ppc: Don't explode QEMUMachineInitArgs into local variables needlessly, Michael S. Tsirkin, 2013/08/26
- [Qemu-devel] [PULL 07/14] ppc: Don't duplicate QEMUMachineInitArgs in PPCE500Params, Michael S. Tsirkin, 2013/08/26
- [Qemu-devel] [PULL 08/14] pc: Don't prematurely explode QEMUMachineInitArgs, Michael S. Tsirkin, 2013/08/26
- [Qemu-devel] [PULL 09/14] pc: Don't explode QEMUMachineInitArgs into local variables needlessly, Michael S. Tsirkin, 2013/08/26
- [Qemu-devel] [PULL 10/14] pc: Kill pc_init_pci_1_0(),
Michael S. Tsirkin <=
- [Qemu-devel] [PULL 11/14] pc: Create pc_compat_*() functions, Michael S. Tsirkin, 2013/08/26
- [Qemu-devel] [PULL 12/14] pc: pc_compat_1_4() now can call pc_compat_1_5(), Michael S. Tsirkin, 2013/08/26
- [Qemu-devel] [PULL 13/14] pc_piix: Kill pc_init1() memory region args, Michael S. Tsirkin, 2013/08/26
- [Qemu-devel] [PULL 14/14] virtio: virtqueue_get_avail_bytes: fix desc_pa when loop over the indirect descriptor table, Michael S. Tsirkin, 2013/08/26