X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Fide.c;h=bf9524563054db854ea9a3d2765dc7c1e03179da;hp=b1c13a6f6a993ed6052c52dbf6133fa18f2162c4;hb=afb2a35b2e15ba0fa932c4e49a3678f958a4502a;hpb=3a4e54ec208ea3589963b410d2d73292bbc4a8fe diff --git a/palacios/src/devices/ide.c b/palacios/src/devices/ide.c index b1c13a6..bf95245 100644 --- a/palacios/src/devices/ide.c +++ b/palacios/src/devices/ide.c @@ -280,7 +280,7 @@ static inline int is_lba_enabled(struct ide_channel * channel) { /* Drive Commands */ static void ide_raise_irq(struct vm_device * dev, struct ide_channel * channel) { if (channel->ctrl_reg.irq_disable == 0) { - PrintError("Raising IDE Interrupt %d\n", channel->irq); + // PrintError("Raising IDE Interrupt %d\n", channel->irq); channel->dma_status.int_gen = 1; v3_raise_irq(dev->vm, channel->irq); } @@ -1566,7 +1566,7 @@ static int ide_init(struct guest_info * vm, void * cfg_data) { pci_dev = v3_pci_register_device(ide->pci_bus, PCI_STD_DEVICE, 0, sb_pci->dev_num, 1, "PIIX3_IDE", bars, - pci_config_update, NULL, NULL, dev, dev); + pci_config_update, NULL, NULL, dev); if (pci_dev == NULL) { PrintError("Failed to register IDE BUS %d with PCI\n", i);