]> git.proxmox.com Git - qemu.git/commit
ram: Remove SaveVM Version 2 support
authorJuan Quintela <quintela@redhat.com>
Thu, 10 Sep 2009 01:04:23 +0000 (03:04 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 11 Sep 2009 15:19:50 +0000 (10:19 -0500)
commit94fb0909645de18481cc726ee0ec9b5afa861394
tree5c26db8597ec6136d420a7cb6b27097f52ba76be
parent1a621c8dc9e4dcc9d385bdd2c24c5b5dbfd0ebe4
ram: Remove SaveVM Version 2 support

It don't work.  It fails in this check

        if (qemu_get_be32(f) != last_ram_offset)

With 512MB of ram, values were for me:

v = 20c00000 last_ram_offset = 20840000

Last time that some code changed that was this one.

    commit 94a6b54fd6d2d3321066cb4db7abeeb417af9365
    Implement dynamic guest ram allocation.
    (I.e. it has been broken since at least April)

Going back to the previous commit, ram load correctly, but vga screen gets
corrupted and ide don't load correctly.  At this point I decide that removing
support is the only viable thing.

The last user of the ram_compress_* were RAM_SAVE_FLAG_FULL flag, but
that flag was never ever been stored in an image. Mark the flag obsolete
and remove the functions.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
vl.c