On 10/16/2014 12:42 PM, Jim Fehlig wrote:
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(+)
ACK. Qualifies as trivial.
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;
}
}
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org