diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2018-09-28 12:35:33 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2018-09-28 12:35:33 +0000 |
commit | f083eda9b4710f7d420f37b619d903b72f67345f (patch) | |
tree | b06584180427ef7e6d6690dc943d11385028d7b3 /usr.sbin/vmd/virtio.c | |
parent | 4746c04a21cd3a8739a8593f19f6929e792dc5f8 (diff) |
Support vmd-internal's vmboot with qcow2 disk images.
OK mlarkin@
Diffstat (limited to 'usr.sbin/vmd/virtio.c')
-rw-r--r-- | usr.sbin/vmd/virtio.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/vmd/virtio.c b/usr.sbin/vmd/virtio.c index 05734cfae34..93490344560 100644 --- a/usr.sbin/vmd/virtio.c +++ b/usr.sbin/vmd/virtio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: virtio.c,v 1.69 2018/09/19 04:29:21 ccardenas Exp $ */ +/* $OpenBSD: virtio.c,v 1.70 2018/09/28 12:35:32 reyk Exp $ */ /* * Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org> @@ -2015,9 +2015,9 @@ virtio_shutdown(struct vmd_vm *vm) int i; /* ensure that our disks are synced */ - vioscsi->file.close(vioscsi->file.p); + vioscsi->file.close(vioscsi->file.p, 0); for (i = 0; i < nr_vioblk; i++) - vioblk[i].file.close(vioblk[i].file.p); + vioblk[i].file.close(vioblk[i].file.p, 0); } int |