diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2015-04-14 14:03:22 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-06-05 17:36:40 +0200 |
commit | 68c77acfb18d28933f17b1c2a842bd936ce7223b (patch) | |
tree | f1188d1cb28446e862ce9c92f2131389a90e4bcc /tests/q35-test.c | |
parent | b66a67d7519cb7f980885af5391b1103c42e9b6d (diff) |
q35: implement SMRAM.D_LCK
Once the SMRAM.D_LCK bit has been set by the guest several bits in SMRAM
and ESMRAMC become readonly until the next machine reset. Implement
this by updating the wmask accordingly when the guest sets the lock bit.
As the lock it itself is locked down too we don't need to worry about
the guest clearing the lock bit.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/q35-test.c')
0 files changed, 0 insertions, 0 deletions