diff options
author | Markus Armbruster <armbru@redhat.com> | 2010-06-28 10:45:02 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2010-07-06 17:05:49 +0200 |
commit | d246673dcb9911218ff555bcdf28b250e38fa46c (patch) | |
tree | 0b5de072a8b26b0f2d50b961c6cd47d3903fde25 /cpu-common.h | |
parent | 528f7663473e146fd1b435d73ca21b219451877c (diff) |
block migration: Fix test for read-only drive
init_blk_migration_it() skips drives with type hint BDRV_TYPE_CDROM.
The intention is to skip read-only drives. However, BDRV_TYPE_CDROM
is only a hint. It is currently sufficent for read-only. But it's
not necessary, and it may not remain sufficient.
Use bdrv_is_read_only() instead.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'cpu-common.h')
0 files changed, 0 insertions, 0 deletions