Global HBA Control default value should be zero.

Signed-off-by: Sebastian Herbszt <herb...@gmx.de>

diff --git a/hw/ahci.c b/hw/ahci.c
index 178f9ea..ce87cbe 100644
--- a/hw/ahci.c
+++ b/hw/ahci.c
@@ -485,7 +485,6 @@ static void ahci_reg_init(AHCIState *s)
 {
        int i;
        s->control_regs.cap = 3 | (0x1f << 8) | (1 << 20) ; /* 4 ports, 32 
command slots, 1.5 Gb/s */
-       s->control_regs.ghc = 1 << 31; /* AHCI Enable */
        s->control_regs.impl = 15; /* Ports 0-3 implemented */
        s->control_regs.version = 0x10000;
        for(i=0;i<SATA_PORTS;i++)


Reply via email to