]> git.proxmox.com Git - mirror_qemu.git/commit
CPUPhysMemoryClient: Fix typo in phys memory client registration
authorAlex Williamson <alex.williamson@redhat.com>
Tue, 3 May 2011 18:36:32 +0000 (12:36 -0600)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 5 May 2011 13:21:46 +0000 (16:21 +0300)
commitc2f42bf003eac96ee4093faaf44cbf784ac64398
tree9573e8935a719ab7eede1e4f4bb18693646a3271
parent602ef4d917f78cee8e1057ca85bdc8888a1f7087
CPUPhysMemoryClient: Fix typo in phys memory client registration

When we register a physical memory client, we try to walk the page
tables, calling the set_memory hook for every entry.  Effectively
playing catchup for the client for everything already registered.
With this type, we only walk the 2nd entry of the l1 table,
typically missing all of the registered memory.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
exec.c