From fd1cb2e2d17bfd394703d7f5482eb7c19771b986 Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Thu, 19 Jul 2007 15:26:20 +0300 Subject: Revert "kvm: qemu: initialize ata ports as enabled" This reverts commit 55a3212bc2f5ecddcd4c5cdf2bfb37ad71e45ff2. Turns out it was due to a bad bios and everything works as expectd. --- hw/ide.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/hw/ide.c b/hw/ide.c index ddfb9bc3f..190f07493 100644 --- a/hw/ide.c +++ b/hw/ide.c @@ -2586,8 +2586,6 @@ static void piix3_reset(PCIIDEState *d) pci_conf[0x06] = 0x80; /* FBC */ pci_conf[0x07] = 0x02; // PCI_status_devsel_medium pci_conf[0x20] = 0x01; /* BMIBA: 20-23h */ - pci_conf[0x41] = 0x80; // enable port 0 - pci_conf[0x43] = 0x80; // enable port 1 } void pci_piix_ide_init(PCIBus *bus, BlockDriverState **hd_table, int devfn) -- cgit v1.2.3