Re: kvm-59 doesn't work

Anthony Liguori
2008-01-13T17:18:28Z

Avi Kivity wrote:
> Andi Kleen wrote:
>
>> When I try my 64bit kernel with -kernel ... on kvm-59 I get before
>> the kernel outputs anything:
>>
>>
>>
>
> Yes, I think -kernel is broken.
>

If you are using a guest with more than 3.75GB or so. The load_kernel
function uses phys_ram_base + addr and that assumption is violated in
KVM with guests > ~3.75GB of memory. We either need to allocate memory
for the hole and never touch it or change load_kernel to use
cpu_physical_memory_rw. I know we discussed this before but I don't
remember if we came to a consensus about what the correct fix is?

Regards,

Anthony Liguori
> Izik?