commit | 4c0960c0c483fffc5f8e1dab169d946ac295bf44 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Mon Aug 17 23:19:53 2009 +0300 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Thu Aug 27 20:35:30 2009 -0500 |
tree | 1dd3a77d60b3aa96132741326bdb3a8e66fa95c8 | |
parent | 09aaa1602f9381c0e0fb539390b1793e51bdfc7b [diff] |
kvm: Simplify cpu_synchronize_state() cpu_synchronize_state() is a little unreadable since the 'modified' argument isn't self-explanatory. Simplify it by making it always synchronize the kernel state into qemu, and automatically flush the registers back to the kernel if they've been synchronized on this exit. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>