commit | 2c7c13d4b81d59dfe50ce4ae9afe1a34f2d573cf | [log] [tgz] |
---|---|---|
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | Wed Apr 08 22:56:26 2009 +0000 |
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | Wed Apr 08 22:56:26 2009 +0000 |
tree | 24561f5158f97215c1576e6b3aa2fddaadeb9033 | |
parent | b7df4bcc00725d293cc73dba0ded23106b448720 [diff] |
apic: Fix access to non-existent APIC When running with -M isapc, there is no env->apic_state. Fix cpu_get/set_apic_* helpers to handle this corner case gracefully. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7048 c046a42c-6fe2-441c-8c8c-71466251a162