Gleb Natapov wrote:
> On Thu, Jul 22, 2010 at 07:09:37PM +0800, Hao, Xudong wrote:
>> Patch did not work, qemu stoped @
> Stopped with the same error?
>
Yes.
>>>
>>> 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
Thanks,
Xudong--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html