diff options
author | Paul Durrant | 2017-01-24 15:05:45 +0100 |
---|---|---|
committer | Stefano Stabellini | 2017-01-28 00:23:28 +0100 |
commit | 3d89e3f7e816b6edbe3a516c754d20288a4e7937 (patch) | |
tree | 53f823f0315fe5f63c7fed2d7f7c79ee640d5210 /disas.c | |
parent | Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20170127'... (diff) | |
download | qemu-3d89e3f7e816b6edbe3a516c754d20288a4e7937.tar.gz qemu-3d89e3f7e816b6edbe3a516c754d20288a4e7937.tar.xz qemu-3d89e3f7e816b6edbe3a516c754d20288a4e7937.zip |
xen-platform: re-structure unplug_disks
The current code is poorly structured and potentially leads to multiple
config space reads when one is sufficient. Also the UNPLUG_ALL_IDE_DISKS
flag is mis-named since it also results in SCSI disks being unplugged.
This patch renames the flag and re-structures the code to be more
efficient, and readable.
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Diffstat (limited to 'disas.c')
0 files changed, 0 insertions, 0 deletions