Re: [PATCH 5/6] device assignment: support for assigning PCI devices to guests

Mark McLoughlin
2008-10-29T12:30:48Z

On Wed, 2008-10-29 at 14:20 +0200, muli@il.ibm.com wrote:
> diff --git a/qemu/hw/piix_pci.c b/qemu/hw/piix_pci.c
> index b9067b8..27d5f02 100644
> --- a/qemu/hw/piix_pci.c
> +++ b/qemu/hw/piix_pci.c
> @@ -246,9 +246,9 @@ static void piix3_set_irq(qemu_irq *pic, int
> irq_num, int level)
> int piix_get_irq(int pin)
> {
> if (piix3_dev)
> - return piix3_dev->config[PIIX_CONFIG_IRQ_ROUTE + pin];
> + return piix3_dev->config[0x60+pin];
> if (piix4_dev)
> - return piix4_dev->config[PIIX_CONFIG_IRQ_ROUTE + pin];
> + return piix4_dev->config[0x60+pin];
>
> return 0;
> }

Another rebase mixup?

Cheers,
Mark.