Searched hist:def93791f22a3536c3508244ec7d270098484c7d (Results 1 – 4 of 4) sorted by relevance
/qemu/include/hw/ide/ |
H A D | pci.h | def93791f22a3536c3508244ec7d270098484c7d Thu May 26 13:00:34 UTC 2011 Kevin Wolf <kwolf@redhat.com> ide: Split error status from status register
When adding the werror=stop mode, some flags were added to s->status which are used to determine what kind of operation should be restarted when the VM is continued.
Unfortunately, it turns out that s->status is in fact a device register and as such is visible to the guest (some of the abused bits are even writable for the guest).
For migration we keep on using the old VMState field (renamed to migration_compat_status) if the status register doesn't use any of the previously abused bits. If it does, we use a subsection with a clean copy of the status register.
The error status is always sent in a subsection if there is any error. It can't use the old field because errors happen even without PCI.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
/qemu/hw/ide/ |
H A D | ide-internal.h | def93791f22a3536c3508244ec7d270098484c7d Thu May 26 13:00:34 UTC 2011 Kevin Wolf <kwolf@redhat.com> ide: Split error status from status register
When adding the werror=stop mode, some flags were added to s->status which are used to determine what kind of operation should be restarted when the VM is continued.
Unfortunately, it turns out that s->status is in fact a device register and as such is visible to the guest (some of the abused bits are even writable for the guest).
For migration we keep on using the old VMState field (renamed to migration_compat_status) if the status register doesn't use any of the previously abused bits. If it does, we use a subsection with a clean copy of the status register.
The error status is always sent in a subsection if there is any error. It can't use the old field because errors happen even without PCI.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
H A D | pci.c | def93791f22a3536c3508244ec7d270098484c7d Thu May 26 13:00:34 UTC 2011 Kevin Wolf <kwolf@redhat.com> ide: Split error status from status register
When adding the werror=stop mode, some flags were added to s->status which are used to determine what kind of operation should be restarted when the VM is continued.
Unfortunately, it turns out that s->status is in fact a device register and as such is visible to the guest (some of the abused bits are even writable for the guest).
For migration we keep on using the old VMState field (renamed to migration_compat_status) if the status register doesn't use any of the previously abused bits. If it does, we use a subsection with a clean copy of the status register.
The error status is always sent in a subsection if there is any error. It can't use the old field because errors happen even without PCI.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
H A D | core.c | def93791f22a3536c3508244ec7d270098484c7d Thu May 26 13:00:34 UTC 2011 Kevin Wolf <kwolf@redhat.com> ide: Split error status from status register
When adding the werror=stop mode, some flags were added to s->status which are used to determine what kind of operation should be restarted when the VM is continued.
Unfortunately, it turns out that s->status is in fact a device register and as such is visible to the guest (some of the abused bits are even writable for the guest).
For migration we keep on using the old VMState field (renamed to migration_compat_status) if the status register doesn't use any of the previously abused bits. If it does, we use a subsection with a clean copy of the status register.
The error status is always sent in a subsection if there is any error. It can't use the old field because errors happen even without PCI.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|