From: "Charles Coffing" Subject: [PATCH] trivial audio bug fix in qemu Date: Tue, 01 Aug 2006 14:02:45 -0400 Message-ID: <44CF42B4.D169.003C.0@novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part2104A755.0__=" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --=__Part2104A755.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline I came across an old bug in qemu. The arguments for several calls to memset are reversed in audio.c. The patch to fix this is attached. I see this is already fixed upstream in 0.8.2, but if Xen is staying on 0.8.1 for a while, it might be good to include this bug fix. Thanks. Signed-off-by: Charles Coffing --=__Part2104A755.0__= Content-Type: application/octet-stream; name="qemu-swapped-args.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="qemu-swapped-args.diff" SW5kZXg6IHhlbi11bnN0YWJsZS90b29scy9pb2VtdS9hdWRpby9hdWRpby5jCj09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0K LS0tIHhlbi11bnN0YWJsZS5vcmlnL3Rvb2xzL2lvZW11L2F1ZGlvL2F1ZGlvLmMKKysrIHhlbi11 bnN0YWJsZS90b29scy9pb2VtdS9hdWRpby9hdWRpby5jCkBAIC01OTcsMTEgKzU5NywxMSBAQCB2 b2lkIGF1ZGlvX3BjbV9pbmZvX2NsZWFyX2J1ZiAoc3RydWN0IGF1CiAgICAgfQogCiAgICAgaWYg KGluZm8tPnNpZ24pIHsKLSAgICAgICAgbWVtc2V0IChidWYsIGxlbiA8PCBpbmZvLT5zaGlmdCwg MHgwMCk7CisgICAgICAgIG1lbXNldCAoYnVmLCAweDAwLCBsZW4gPDwgaW5mby0+c2hpZnQpOwog ICAgIH0KICAgICBlbHNlIHsKICAgICAgICAgaWYgKGluZm8tPmJpdHMgPT0gOCkgewotICAgICAg ICAgICAgbWVtc2V0IChidWYsIGxlbiA8PCBpbmZvLT5zaGlmdCwgMHg4MCk7CisgICAgICAgICAg ICBtZW1zZXQgKGJ1ZiwgMHg4MCwgbGVuIDw8IGluZm8tPnNoaWZ0KTsKICAgICAgICAgfQogICAg ICAgICBlbHNlIHsKICAgICAgICAgICAgIGludCBpOwo= --=__Part2104A755.0__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=__Part2104A755.0__=--