Blob Blame History Raw
From 9b24787dab3d5dea740a1667f69bc75b763cf699 Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Tue, 11 Apr 2017 12:16:51 +0100
Subject: [PATCH] v2v: -o qemu: Fix creation of ICH6 sound device.

Fixes commit f6ece2c01a9a1a43d6715103e7dbdda0f09ee862.

(cherry picked from commit e562f52c95fe8eefdab778918d152335f56012c6)
---
 v2v/output_qemu.ml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/v2v/output_qemu.ml b/v2v/output_qemu.ml
index 84efd45..abff29c 100644
--- a/v2v/output_qemu.ml
+++ b/v2v/output_qemu.ml
@@ -183,7 +183,7 @@ object
           match model with
           | AC97      -> arg "-device" "AC97"
           | ES1370    -> arg "-device" "ES1370"
-          | ICH6      -> arg "-device" "intel-hda -device hda-duplex"
+          | ICH6      -> arg "-device" "intel-hda"; arg "-device" "hda-duplex"
           | ICH9      -> arg "-device" "ich9-intel-hda"
           | PCSpeaker -> arg "-soundhw" "pcspk" (* not qdev-ified *)
           | SB16      -> arg "-device" "sb16"
-- 
2.9.4