aboutsummaryrefslogtreecommitdiff
path: root/qemu-timer.c
diff options
context:
space:
mode:
authorPaul Durrant <paul.durrant@citrix.com>2017-01-24 14:05:45 +0000
committerStefano Stabellini <sstabellini@kernel.org>2017-01-27 15:23:28 -0800
commit3d89e3f7e816b6edbe3a516c754d20288a4e7937 (patch)
tree53f823f0315fe5f63c7fed2d7f7c79ee640d5210 /qemu-timer.c
parent3aca12f841fcd6f3a7477076dad0d564360500de (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