Add missing 'break's from commit 1298daca, as noted by John Ferlan
https://www.redhat.com/archives/libvir-list/2014-October/msg00430.html
Signed-off-by: Jim Fehlig <jfehlig(a)suse.com>
---
src/libxl/libxl_domain.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/libxl/libxl_domain.c b/src/libxl/libxl_domain.c
index f2cd07b..9c62291 100644
--- a/src/libxl/libxl_domain.c
+++ b/src/libxl/libxl_domain.c
@@ -522,6 +522,7 @@ libxlDomainDeviceDefPostParse(virDomainDeviceDefPtr dev,
else
dev->data.video->vram = 8 * 1024;
}
+ break;
case VIR_DOMAIN_VIDEO_TYPE_CIRRUS:
if (dev->data.video->vram == 0) {
if (dm_type == LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN)
@@ -529,6 +530,7 @@ libxlDomainDeviceDefPostParse(virDomainDeviceDefPtr dev,
else
dev->data.video->vram = 4 * 1024;
}
+ break;
}
}
--
1.8.4.5