All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@web.de>
To: Avi Kivity <avi@redhat.com>
Cc: Uri Lublin <uril@redhat.com>,
	Anthony Liguori <anthony@codemonkey.ws>,
	kvm-devel <kvm@vger.kernel.org>
Subject: Re: Merging KVM live migration upstream
Date: Fri, 01 May 2009 13:16:52 +0200	[thread overview]
Message-ID: <49FADA24.2020205@web.de> (raw)
In-Reply-To: <49FAD6CC.9040708@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1313 bytes --]

Avi Kivity wrote:
> Jan Kiszka wrote:
>> Avi or Uri,
>>
>> could you explain the first and third hunk? Why are they needed in
>> qemu-kvm, and will we also need something comparable upstream? They do
>> not look very beautiful.
>>
>>   
> 
> These date from the bad old days where we relied on phys_ram_base.  I
> think this is obsolete.
> 
> Since we reserve these memory addresses, it won't do any harm, but we
> can certainly remove them.

That's great, will drop it.

> 
>> The second hunk, I guess, should become a kvm hook to
>> cpu_physical_memory_get_dirty - or is this too costly for other users of
>> this inline function?
>>   
> 
> Note the dependency on current_addr: this is meant to happen every time
> we cycle through all memory, so it doesn't fit in
> cpu_physical_memory_get_dirty().

Yes, I realized that there is already cpu_physical_sync_dirty_bitmap(),
and I will simply use this.

> 
>> And does anyone knows further migration-related hunks that are missing
>> upstream (except for the KVM hook in
>> cpu_physical_memory_set_dirty_tracking)?
>>
>>   
> 
> We need to make sure vga plays well with this, like we discussed.

Already implemented in ~30 additional LOC. Just have to test the whole
series (found some more things to clean up)

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]

  reply	other threads:[~2009-05-01 11:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-01  9:12 Merging KVM live migration upstream Jan Kiszka
2009-05-01 11:02 ` Avi Kivity
2009-05-01 11:16   ` Jan Kiszka [this message]
2009-05-01 18:58 ` Anthony Liguori

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=49FADA24.2020205@web.de \
    --to=jan.kiszka@web.de \
    --cc=anthony@codemonkey.ws \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=uril@redhat.com \
    /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.