It is supposed to have no write ops in ro_ops_nowrite disk operation. However, there is one. Let's remove it. Signed-off-by: Asias He <asias.hejun@xxxxxxxxx> --- tools/kvm/disk/raw.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/tools/kvm/disk/raw.c b/tools/kvm/disk/raw.c index bdcd047..caa023c 100644 --- a/tools/kvm/disk/raw.c +++ b/tools/kvm/disk/raw.c @@ -102,7 +102,6 @@ struct disk_image_operations ro_ops = { struct disk_image_operations ro_ops_nowrite = { .read_sector = raw_image__read_sector, - .write_sector = raw_image__write_sector, }; struct disk_image *raw_image__probe(int fd, struct stat *st, bool readonly) -- 1.7.7.3 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html