Re: [PATCH] kvm tools: fix boot of guests with more than 4gb of ram

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 24, 2013 at 1:06 PM, Michael Tokarev <mjt@xxxxxxxxxx> wrote:
> 24.06.2013 05:23, Sasha Levin wrote:
>>       queue           = &p9dev->vqs[vq];
>>       queue->pfn      = pfn;
>> -     p               = guest_flat_to_host(kvm, queue->pfn * page_size);
>> +     p               = guest_flat_to_host(kvm, (u64)queue->pfn * page_size);
>
> Maybe it's worth to use a common function for this,
> something like guest_queue_to_host(kvm, queue) ?

Sasha, care to do something like this and resend the patch?
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux