diff options
author | Paul Durrant <paul.durrant@citrix.com> | 2017-01-24 14:05:45 +0000 |
---|---|---|
committer | Stefano Stabellini <sstabellini@kernel.org> | 2017-01-27 15:23:28 -0800 |
commit | 3d89e3f7e816b6edbe3a516c754d20288a4e7937 (patch) | |
tree | 53f823f0315fe5f63c7fed2d7f7c79ee640d5210 /qemu-timer.c | |
parent | 3aca12f841fcd6f3a7477076dad0d564360500de (diff) |
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 'qemu-timer.c')
0 files changed, 0 insertions, 0 deletions