From: Izik Eidus <izike-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: Anthony Liguori <anthony-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
Andi Kleen <andi-Vw/NltI1exuRpAAqCnN02g@public.gmane.org>,
Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Subject: Re: kvm-59 doesn't work
Date: Sun, 13 Jan 2008 23:43:22 +0200 [thread overview]
Message-ID: <478A85FA.3000402@qumranet.com> (raw)
In-Reply-To: <478A7382.5040406-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
Anthony Liguori wrote:
> Izik Eidus wrote:
>> Anthony Liguori wrote:
>>> 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?
>>>
>> we can do munmap on the pci hole memory area,
>> btw Anthony virtio will need this too right?
>
> Yup. I don't think you want to munmap memory allocated by glibc.
i was thinking about allocate the memory with mmap instead of the qemu
qemu_malloc...
>
> I think a better thing to do would be to madvise(MADV_DONTNEED)
> although I don't think it's strictly needed. If you never touch the
> memory, then does it really matter?
why to keep the virtual address size of a program 300mb larger than it
really is?
>
> Regards,
>
> Anthony Liguori
>
>>> Regards,
>>>
>>> Anthony Liguori
>>>> Izik?
>>>>
>>>>
>>>
>>
>
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
next prev parent reply other threads:[~2008-01-13 21:43 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-13 16:27 kvm-59 doesn't work Andi Kleen
[not found] ` <20080113162751.GA20663-3rXA9MLqAseW/qJFnhkgxti2O/JbrIOy@public.gmane.org>
2008-01-13 16:42 ` Avi Kivity
[not found] ` <478A3F87.6040509-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2008-01-13 17:09 ` Izik Eidus
[not found] ` <478A45B4.1050208-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2008-01-13 17:19 ` Anthony Liguori
2008-01-13 17:18 ` Anthony Liguori
[not found] ` <478A47E4.8020109-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
2008-01-13 17:15 ` Izik Eidus
[not found] ` <478A473E.5090907-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2008-01-13 20:24 ` Anthony Liguori
[not found] ` <478A7382.5040406-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
2008-01-13 21:43 ` Izik Eidus [this message]
2008-01-13 17:59 ` Andi Kleen
[not found] ` <20080113175922.GA4002-qrUzlfsMFqo/4alezvVtWx2eb7JE58TQ@public.gmane.org>
2008-01-13 18:08 ` Avi Kivity
[not found] ` <478A53BB.30308-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2008-01-13 18:17 ` Andi Kleen
[not found] ` <20080113181704.GA4196-qrUzlfsMFqo/4alezvVtWx2eb7JE58TQ@public.gmane.org>
2008-01-13 18:21 ` Avi Kivity
[not found] ` <478A56BF.8020507-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2008-01-13 18:16 ` Izik Eidus
2008-01-13 18:33 ` Andi Kleen
[not found] ` <20080113183331.GB4196-qrUzlfsMFqo/4alezvVtWx2eb7JE58TQ@public.gmane.org>
2008-01-13 18:37 ` kvm-59 doesn't work II Andi Kleen
2008-01-13 18:41 ` kvm-59 doesn't work Alexey Eremenko
2008-01-15 10:56 ` Avi Kivity
[not found] ` <478C9174.6020909-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2008-01-15 11:57 ` Andi Kleen
[not found] ` <20080115115731.GA31275-qrUzlfsMFqo/4alezvVtWx2eb7JE58TQ@public.gmane.org>
2008-01-15 12:14 ` Avi Kivity
2008-01-23 13:18 ` Izik Eidus
[not found] ` <47973EAA.2000007-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2008-01-23 13:29 ` Izik Eidus
[not found] ` <47974132.40909-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2008-01-23 13:38 ` Laurent Vivier
2008-01-23 13:43 ` Laurent Vivier
2008-01-23 15:57 ` Avi Kivity
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=478A85FA.3000402@qumranet.com \
--to=izike-atkuwr5tajbwk0htik3j/w@public.gmane.org \
--cc=andi-Vw/NltI1exuRpAAqCnN02g@public.gmane.org \
--cc=anthony-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org \
--cc=avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.