summary refs log tree commit diff stats
path: root/hw/timer/slavio_timer.c
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dgilbert@redhat.com>2014-02-12 17:20:10 +0000
committerJuan Quintela <quintela@redhat.com>2014-02-25 14:30:28 +0100
commit24a370ef2351dc596a7e47508b952ddfba79ef94 (patch)
tree036c005b9440297d0fdd78855019f828f83b65ca /hw/timer/slavio_timer.c
parentaded6539d983280212e08d09f14157b1cb4d58cc (diff)
downloadfocaccia-qemu-24a370ef2351dc596a7e47508b952ddfba79ef94.tar.gz
focaccia-qemu-24a370ef2351dc596a7e47508b952ddfba79ef94.zip
Fix vmstate_info_int32_le comparison/assign
Fix comparison of vmstate_info_int32_le so that it succeeds if loaded
value is (l)ess than or (e)qual

When the comparison succeeds, assign the value loaded
  This is a change in behaviour but I think the original intent, since
  the idea is to check if the version/size of the thing you're loading is
  less than some limit, but you might well want to do something based on
  the actual version/size in the file

Fix up comment and name text

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'hw/timer/slavio_timer.c')
0 files changed, 0 insertions, 0 deletions