From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: Re: VT-d regression issue Date: Thu, 22 Jul 2010 14:10:56 +0300 Message-ID: <20100722111056.GA25915@redhat.com> References: <20100722082122.GE27177@redhat.com> <20100722085209.GF27177@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "kvm@vger.kernel.org" To: "Hao, Xudong" Return-path: Received: from mx1.redhat.com ([209.132.183.28]:26608 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757210Ab0GVLK7 (ORCPT ); Thu, 22 Jul 2010 07:10:59 -0400 Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Thu, Jul 22, 2010 at 07:09:37PM +0800, Hao, Xudong wrote: > Patch did not work, qemu stoped @ Stopped with the same error? > > > > diff --git a/hw/device-assignment.c b/hw/device-assignment.c > > index 2bba22f..7240985 100644 > > --- a/hw/device-assignment.c > > +++ b/hw/device-assignment.c > > @@ -238,9 +238,10 @@ static void > > assigned_dev_iomem_map_slow(PCIDevice *pci_dev, int region_num, > > DEBUG("%s", "slow map\n"); if (region_num == PCI_ROM_SLOT) > > m = cpu_register_io_memory(slow_bar_read, NULL, region); > > - else > > + else { > > m = cpu_register_io_memory(slow_bar_read, slow_bar_write, > > region); - cpu_register_physical_memory(e_phys, e_size, m); > > + cpu_register_physical_memory(e_phys, e_size, m); > > + } > > > > /* MSI-X MMIO page */ > > if ((e_size > 0) && > > > > Thanks, > Xudong -- Gleb.