From MAILER-DAEMON Fri Dec 06 20:30:03 2013 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Vp6iZ-0006Hh-M8 for mharc-qemu-commits@gnu.org; Fri, 06 Dec 2013 20:30:03 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60674) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vp6iS-0006Gg-70 for qemu-commits@nongnu.org; Fri, 06 Dec 2013 20:30:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vp6iM-0001bk-Dx for qemu-commits@nongnu.org; Fri, 06 Dec 2013 20:29:56 -0500 Received: from m69-169.mailgun.net ([166.78.69.169]:54625) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vp6iM-0001bW-3i for qemu-commits@nongnu.org; Fri, 06 Dec 2013 20:29:50 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=github.com; q=dns/txt; s=mailo; t=1386379788; h=Date: From: Reply-To: To: Message-Id: Subject: Mime-Version: Content-Type: Content-Transfer-Encoding: Sender; bh=6Bj9hoYCvn8OKylxU6mQR3F1at7dT1S34A64xnHdkOY=; b=TCJdJZEQhcpmb0s//FELk7hVMH11YbHl9+Bt/yrSFGykvfbTzIEf6zo1Lgx9FkzawZuHIK6p aaJuvHXfr7FqkUPtWqqwyBGV7ndBQsKH11EiqoEuQq35MWRm8BH6D+VZ1T0I42QurEvQmdrk H3jWpkttxiaOCv3smZEQVSaD6xU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=github.com; s=mailo; q=dns; h=Date: From: Reply-To: To: Message-Id: Subject: Mime-Version: Content-Type: Content-Transfer-Encoding: Sender; b=Pw34r2aMXsUmhU8F8a5SRhjePf94RJGCLYIQ2Ct6L2TsNoVAfoHYKOqag7fWYtx0MQ8R6T wOnXdfJnwpmTgor9EOlYNs7NpZI9ZUouZI9FJaC89hQpaPeO41XR7K8QiP4jzYr/QRrvnZQd +dY6D9AZOTEDS5TOCLJZGA+bNwhb4= Received: from github.com (Unknown [192.30.252.49]) by mxa.mailgun.org with ESMTP id 52a2731c.5201b10-in2; Sat, 07 Dec 2013 01:00:12 -0000 (UTC) Date: Fri, 06 Dec 2013 17:00:11 -0800 From: GitHub To: qemu-commits@nongnu.org Message-Id: <52a2731bf06e0_268e54bd48166022@hookshot-fe2-pe1-prd.aws.github.net.mail> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="--==_mimepart_52a2731befaef_268e54bd481659d8"; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Mailgun-Sid: WyI1YjNlZCIsICJxZW11LWNvbW1pdHNAbm9uZ251Lm9yZyIsICI0MGYiXQ== Sender: noreply@github.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 166.78.69.169 Subject: [Qemu-commits] [qemu/qemu] de9de1: xhci: Add a few missing checks for disconnected de... X-BeenThere: qemu-commits@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: GitHub List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Dec 2013 01:30:02 -0000 ----==_mimepart_52a2731befaef_268e54bd481659d8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: de9de157fbb9aa66380ab1973dd6ecf12fbd8b25 https://github.com/qemu/qemu/commit/de9de157fbb9aa66380ab1973dd6ecf= 12fbd8b25 Author: Hans de Goede Date: 2013-11-26 (Tue, 26 Nov 2013) Changed paths: M hw/usb/hcd-xhci.c Log Message: ----------- xhci: Add a few missing checks for disconnected devices One of the reworks of qemu's usb core made changes to usb-port's disconne= ct handling. Now ports with a device will always have a non 0 dev member, bu= t if the device is not attached (which is possible with usb redirection), dev->attached will be 0. So supplement all checks for dev to also check dev->attached, and add an extra check in a path where a device check was completely missing. This fixes various crashes (asserts triggering) I've been seeing when xhc= i attached usb devices get disconnected at the wrong time. Signed-off-by: Hans de Goede Signed-off-by: Gerd Hoffmann Commit: f1f8bc218a422081f36f0b325b3de5e6a5078b74 https://github.com/qemu/qemu/commit/f1f8bc218a422081f36f0b325b3de5e= 6a5078b74 Author: Gerd Hoffmann Date: 2013-11-26 (Tue, 26 Nov 2013) Changed paths: M hw/usb/hcd-xhci.c Log Message: ----------- xhci: add support for suspend/resume The OS can ask the xhci controller to save and restore its internal state, which is used by the OS when the system is suspended and resumed. This patch handles writes to the save + restore bits in the command register. Only thing it does is updating the restore error bit in the status register to signal an error on restore. The guest OS should do a full reinitialization after resume then. This is the minimal patch which gets S3 going with xhci. Implementing full save/restore support is TBD. https://bugzilla.redhat.com/show_bug.cgi?id=3D1012365 Signed-off-by: Gerd Hoffmann Commit: 9ec557bd53031fb50cc0cd426a2d529624d3d515 https://github.com/qemu/qemu/commit/9ec557bd53031fb50cc0cd426a2d529= 624d3d515 Author: Hans de Goede Date: 2013-11-26 (Tue, 26 Nov 2013) Changed paths: M hw/scsi/scsi-bus.c M include/hw/scsi/scsi.h Log Message: ----------- scsi: Add 2 new sense codes needed by uas Signed-off-by: Hans de Goede Signed-off-by: Gerd Hoffmann Commit: d4bfc7b9f35da7dcc28ae87de503b28bd7ff56ee https://github.com/qemu/qemu/commit/d4bfc7b9f35da7dcc28ae87de503b28= bd7ff56ee Author: Hans de Goede Date: 2013-11-26 (Tue, 26 Nov 2013) Changed paths: M hw/usb/dev-uas.c Log Message: ----------- uas: Only use report iu-s for task_mgmt status reporting Regular scsi cmds should always report their status using a sense-iu, usi= ng the sense code to report any errors. Signed-off-by: Hans de Goede Signed-off-by: Gerd Hoffmann Commit: 5eb6d9e3ef1fac096ab5b3f5c14e1f4079dd7367 https://github.com/qemu/qemu/commit/5eb6d9e3ef1fac096ab5b3f5c14e1f4= 079dd7367 Author: Hans de Goede Date: 2013-11-26 (Tue, 26 Nov 2013) Changed paths: M hw/usb/dev-uas.c Log Message: ----------- uas: Fix / cleanup usb_uas_task error handling -The correct error if we cannot find the dev is INCORRECT_LUN rather then= INVALID_INFO_UNIT -Move the device not found check to the top so we only need to do it once= -Remove the dev->lun !=3D lun checks, dev is returned by scsi_device_find= which searches by lun, so this will never trigger Signed-off-by: Hans de Goede Signed-off-by: Gerd Hoffmann Commit: 0478661ec5f949f16a70687b348c0fb2a56cc537 https://github.com/qemu/qemu/commit/0478661ec5f949f16a70687b348c0fb= 2a56cc537 Author: Hans de Goede Date: 2013-11-26 (Tue, 26 Nov 2013) Changed paths: M hw/usb/dev-uas.c Log Message: ----------- uas: Streams are numbered 1-y, rather then 0-x It is easier to simply make the arrays one larger, rather then substracting one everywhere. Signed-off-by: Hans de Goede Signed-off-by: Gerd Hoffmann Commit: 3453f9a0dfa58578e6dadf0905ff4528b428ec73 https://github.com/qemu/qemu/commit/3453f9a0dfa58578e6dadf0905ff452= 8b428ec73 Author: Hans de Goede Date: 2013-11-26 (Tue, 26 Nov 2013) Changed paths: M hw/usb/dev-uas.c Log Message: ----------- uas: Bounds check tags when using streams Disallow the guest to cause us to address the data3 and status3 arrays out of bounds. Signed-off-by: Hans de Goede Signed-off-by: Gerd Hoffmann Commit: 49cfa2fdc92be2cdd01b9fba846cd52aea1f7f63 https://github.com/qemu/qemu/commit/49cfa2fdc92be2cdd01b9fba846cd52= aea1f7f63 Author: Hans de Goede Date: 2013-11-26 (Tue, 26 Nov 2013) Changed paths: M hw/usb/dev-uas.c Log Message: ----------- uas: Fix response iu struct definition This patch mirrors a patch to the Linux uas kernel driver which I've just= submitted. It looks like the qemu uas struct definitions were taken from the Linux kernel driver, and have inherited the same mistake. Besides fixing the response iu struct, the patch also drops the add_info parameter from the usb_uas_queue_response() function, it is always 0 anyw= ays, and expressing 3 zero-bytes as a function argument is a bit hard. Below is the long explanation for this change taken from the kernel commi= t: The response iu struct before this patch has a size of 7 bytes, which is = weird since all other iu-s are explictly padded to a multiple of 4 bytes. Submitting a 7 byte bulk transfer to the status endpoint of a real uasp d= evice when expecting a response iu results in an USB babble error, as the devic= e actually sends 8 bytes. Up on closer reading of the UAS spec: http://www.t10.org/cgi-bin/ac.pl?t=3Df&f=3Duas2r00.pdf The reason for this becomes clear, the 2 entries in "Table 17 =E2=80=94 R= ESPONSE IU" are numbered 4 and 6, looking at other iu definitions in the spec, esp. multi-byte fields, this indicates that the ADDITIONAL RESPONSE INFORMATIO= N field is not a 2 byte field as one might assume at a first look, but is a multi-byte field containing 3 bytes. This also aligns with the SCSI Architecture Model 4 spec, which UAS is ba= sed on which states in paragraph "7.1 Task management function procedure call= s" that the "Additional Response Information" output argument for a Task management function procedure call is 3 bytes. Last but not least I've verified this by sending a logical unit reset tas= k management call with an invalid lun to an actual uasp device, and receive= d back a response-iu with byte 6 being 0, and byte 7 being 9, which is the responce code for an invalid iu, which confirms that the response code is= being reported in byte 7 of the response iu rather then in byte 6. Signed-off-by: Hans de Goede Signed-off-by: Gerd Hoffmann Commit: 5007c940a9c96ad974573915192424ba00b49932 https://github.com/qemu/qemu/commit/5007c940a9c96ad974573915192424b= a00b49932 Author: Hans de Goede Date: 2013-11-26 (Tue, 26 Nov 2013) Changed paths: M hw/usb/dev-uas.c Log Message: ----------- uas: s/ui/iu/ The various uas data structures are called IU-s, which is short for Information Unit, rather then UI-s. Signed-off-by: Hans de Goede Signed-off-by: Gerd Hoffmann Commit: 04b300f85fafd2d6a92ec0a766f0035e9bc5835c https://github.com/qemu/qemu/commit/04b300f85fafd2d6a92ec0a766f0035= e9bc5835c Author: Hans de Goede Date: 2013-11-26 (Tue, 26 Nov 2013) Changed paths: M hw/usb/core.c M hw/usb/desc.c M include/hw/usb.h Log Message: ----------- usb: Add max_streams attribute to endpoint info Signed-off-by: Hans de Goede Signed-off-by: Gerd Hoffmann Commit: 3b444eadf7726d976be4ac89e8e742cb7eb7a5ee https://github.com/qemu/qemu/commit/3b444eadf7726d976be4ac89e8e742c= b7eb7a5ee Author: Hans de Goede Date: 2013-11-26 (Tue, 26 Nov 2013) Changed paths: M hw/usb/bus.c M include/hw/usb.h Log Message: ----------- usb: Add usb_device_alloc/free_streams Signed-off-by: Hans de Goede Signed-off-by: Gerd Hoffmann Commit: 72391da50621c9f11bb8c57193ab2d1ad8bc5ad8 https://github.com/qemu/qemu/commit/72391da50621c9f11bb8c57193ab2d1= ad8bc5ad8 Author: Hans de Goede Date: 2013-11-26 (Tue, 26 Nov 2013) Changed paths: M hw/usb/hcd-xhci.c Log Message: ----------- xhci: Call usb_device_alloc/free_streams Note this code is not as KISS as I would like, the reason for this is tha= t the Linux kernel interface wants streams on eps belonging to one interfac= e to be allocated in one call. Things will also work if we do this one ep a= t a time (as long as all eps support the same amount of streams), but lets st= ick to the kernel API. Signed-off-by: Hans de Goede Signed-off-by: Gerd Hoffmann Commit: 6faac15fa80c4c1f813d96afc13bceaa3bc5ffe7 https://github.com/qemu/qemu/commit/6faac15fa80c4c1f813d96afc13bcea= a3bc5ffe7 Author: Peter Lieven Date: 2013-11-28 (Thu, 28 Nov 2013) Changed paths: M block.c M include/block/block.h Log Message: ----------- block: make BdrvRequestFlags public Reviewed-by: Eric Blake Signed-off-by: Peter Lieven Signed-off-by: Stefan Hajnoczi Commit: aa7bfbfff792538a9eeefe879fc4c629aa0b4203 https://github.com/qemu/qemu/commit/aa7bfbfff792538a9eeefe879fc4c62= 9aa0b4203 Author: Peter Lieven Date: 2013-11-28 (Thu, 28 Nov 2013) Changed paths: M block-migration.c M block.c M block/backup.c M block/qcow2-cluster.c M block/qcow2.c M block/qed.c M block/raw_bsd.c M block/vmdk.c M include/block/block.h M include/block/block_int.h M qemu-io-cmds.c Log Message: ----------- block: add flags to bdrv_*_write_zeroes Reviewed-by: Eric Blake Signed-off-by: Peter Lieven Signed-off-by: Stefan Hajnoczi Commit: d32f35cbc5a87af5e1100dd55074a79fc2cb5307 https://github.com/qemu/qemu/commit/d32f35cbc5a87af5e1100dd55074a79= fc2cb5307 Author: Peter Lieven Date: 2013-11-28 (Thu, 28 Nov 2013) Changed paths: M block-migration.c M block.c M block/backup.c M include/block/block.h Log Message: ----------- block: introduce BDRV_REQ_MAY_UNMAP request flag Reviewed-by: Eric Blake Signed-off-by: Peter Lieven Signed-off-by: Stefan Hajnoczi Commit: e1a5c4bed44bc23f69f53883c657e31e150cab30 https://github.com/qemu/qemu/commit/e1a5c4bed44bc23f69f53883c657e31= e150cab30 Author: Peter Lieven Date: 2013-11-28 (Thu, 28 Nov 2013) Changed paths: M include/block/block.h Log Message: ----------- block: add logical block provisioning info to BlockDriverInfo Reviewed-by: Eric Blake Signed-off-by: Peter Lieven Signed-off-by: Stefan Hajnoczi Commit: 4ce786914b745a144a9eda1ea33f3ff98328c527 https://github.com/qemu/qemu/commit/4ce786914b745a144a9eda1ea33f3ff= 98328c527 Author: Peter Lieven Date: 2013-11-28 (Thu, 28 Nov 2013) Changed paths: M block.c M include/block/block.h Log Message: ----------- block: add wrappers for logical block provisioning information This adds 2 wrappers to read the unallocated_blocks_are_zero and can_write_zeroes_with_unmap info from the BDI. The wrappers are required to check for the existence of a backing_hd and if the devices are opened with the correct flags. Reviewed-by: Eric Blake Signed-off-by: Peter Lieven Signed-off-by: Stefan Hajnoczi Commit: 186d4f2b1deaae5c404798959bfbdb781e762045 https://github.com/qemu/qemu/commit/186d4f2b1deaae5c404798959bfbdb7= 81e762045 Author: Peter Lieven Date: 2013-11-28 (Thu, 28 Nov 2013) Changed paths: M block/iscsi.c Log Message: ----------- block/iscsi: add .bdrv_get_info Signed-off-by: Peter Lieven Signed-off-by: Stefan Hajnoczi Commit: fe81c2cca6dc69a5e423f6d8b235606b7f3ca7b7 https://github.com/qemu/qemu/commit/fe81c2cca6dc69a5e423f6d8b235606= b7f3ca7b7 Author: Peter Lieven Date: 2013-11-28 (Thu, 28 Nov 2013) Changed paths: M include/block/block_int.h Log Message: ----------- block: add BlockLimits structure to BlockDriverState this patch adds BlockLimits which introduces discard and write_zeroes limits and alignment information to the BlockDriverState. Signed-off-by: Peter Lieven Signed-off-by: Stefan Hajnoczi Commit: 04f19e4d2da4325297c99e94f20b0aca52546209 https://github.com/qemu/qemu/commit/04f19e4d2da4325297c99e94f20b0ac= a52546209 Author: Peter Lieven Date: 2013-11-28 (Thu, 28 Nov 2013) Changed paths: M block/raw_bsd.c Log Message: ----------- block/raw: copy BlockLimits on raw_open Signed-off-by: Peter Lieven Signed-off-by: Stefan Hajnoczi Commit: c31cb70728d2c0c8900b35a66784baa446fd5147 https://github.com/qemu/qemu/commit/c31cb70728d2c0c8900b35a66784baa= 446fd5147 Author: Peter Lieven Date: 2013-11-28 (Thu, 28 Nov 2013) Changed paths: M block.c Log Message: ----------- block: honour BlockLimits in bdrv_co_do_write_zeroes Reviewed-by: Eric Blake Signed-off-by: Peter Lieven Signed-off-by: Stefan Hajnoczi Commit: 6f14da5247076bde1e00444f6d5b2b7ca8075a09 https://github.com/qemu/qemu/commit/6f14da5247076bde1e00444f6d5b2b7= ca8075a09 Author: Peter Lieven Date: 2013-11-28 (Thu, 28 Nov 2013) Changed paths: M block.c Log Message: ----------- block: honour BlockLimits in bdrv_co_discard Reviewed-by: Eric Blake Signed-off-by: Peter Lieven Signed-off-by: Stefan Hajnoczi Commit: ba6c59191f245147e7ee0c2b9ecaf5fb116f7877 https://github.com/qemu/qemu/commit/ba6c59191f245147e7ee0c2b9ecaf5f= b116f7877 Author: Peter Lieven Date: 2013-11-28 (Thu, 28 Nov 2013) Changed paths: M block/iscsi.c Log Message: ----------- iscsi: set limits in BlockDriverState Reviewed-by: Eric Blake Signed-off-by: Peter Lieven Signed-off-by: Stefan Hajnoczi Commit: 01a6a238a30b0381846e3e68ba06e232567a7026 https://github.com/qemu/qemu/commit/01a6a238a30b0381846e3e68ba06e23= 2567a7026 Author: Peter Lieven Date: 2013-11-28 (Thu, 28 Nov 2013) Changed paths: M block/iscsi.c Log Message: ----------- iscsi: simplify iscsi_co_discard now that bdrv_co_discard can handle limits we do not need the request split logic here anymore. Reviewed-by: Eric Blake Signed-off-by: Peter Lieven Signed-off-by: Stefan Hajnoczi Commit: d4cd961507e6f013fd0f9b1dc609f15ed2aaa40d https://github.com/qemu/qemu/commit/d4cd961507e6f013fd0f9b1dc609f15= ed2aaa40d Author: Peter Lieven Date: 2013-11-28 (Thu, 28 Nov 2013) Changed paths: M block/iscsi.c Log Message: ----------- iscsi: add bdrv_co_write_zeroes Signed-off-by: Peter Lieven Signed-off-by: Stefan Hajnoczi Commit: d75cbb5e68f5a7d64248ba89399a7f2073231de5 https://github.com/qemu/qemu/commit/d75cbb5e68f5a7d64248ba89399a7f2= 073231de5 Author: Peter Lieven Date: 2013-11-28 (Thu, 28 Nov 2013) Changed paths: M block.c M include/block/block.h Log Message: ----------- block: introduce bdrv_make_zero this patch adds a call to completely zero out a block device. the operation is sped up by checking the block status and only writing zeroes to the device if they currently do not return zeroes. optionally the zero writing can be sped up by setting the flag BDRV_REQ_MAY_UNMAP to emulate the zero write by unmapping if the driver supports it. Signed-off-by: Peter Lieven Signed-off-by: Stefan Hajnoczi Commit: c3d8688470a33feb0ea78c006b4399d50c13185e https://github.com/qemu/qemu/commit/c3d8688470a33feb0ea78c006b4399d= 50c13185e Author: Peter Lieven Date: 2013-11-28 (Thu, 28 Nov 2013) Changed paths: M block.c Log Message: ----------- block/get_block_status: fix BDRV_BLOCK_ZERO for unallocated blocks this patch does 2 things: a) only do additional call outs if BDRV_BLOCK_ZERO is not already set. b) use the newly introduced bdrv_unallocated_blocks_are_zero() to return the zero state of an unallocated block. the used callout to bdrv_has_zero_init() is only valid right after bdrv_create. Reviewed-by: Eric Blake Signed-off-by: Peter Lieven Signed-off-by: Stefan Hajnoczi Commit: 11b6699af59b8684128debacfc7c44cbaa6ac53b https://github.com/qemu/qemu/commit/11b6699af59b8684128debacfc7c44c= baa6ac53b Author: Peter Lieven Date: 2013-11-28 (Thu, 28 Nov 2013) Changed paths: M qemu-img.c M qemu-img.texi Log Message: ----------- qemu-img: add support for fully allocated images Signed-off-by: Peter Lieven Signed-off-by: Stefan Hajnoczi Commit: 5a37b60a61c4c334e3b194758871f41494317d42 https://github.com/qemu/qemu/commit/5a37b60a61c4c334e3b194758871f41= 494317d42 Author: Peter Lieven Date: 2013-11-28 (Thu, 28 Nov 2013) Changed paths: M qemu-img.c Log Message: ----------- qemu-img: conditionally zero out target on convert If the target has_zero_init =3D 0, but supports efficiently writing zeroes by unmapping we call bdrv_make_zero to avoid fully allocating the target. This currently works only for iscsi. It can be extended to raw with BLKDISCARDZEROES for example. Reviewed-by: Eric Blake Signed-off-by: Peter Lieven Signed-off-by: Stefan Hajnoczi Commit: b276d2499428795629eee8ee93ba1ea100bb1bc9 https://github.com/qemu/qemu/commit/b276d2499428795629eee8ee93ba1ea= 100bb1bc9 Author: Max Reitz Date: 2013-11-28 (Thu, 28 Nov 2013) Changed paths: M util/error.c Log Message: ----------- util/error: Save errno from clobbering There may be calls to error_setg() and especially error_setg_errno() which blindly (and until now wrongly) assume these functions not to clobber errno (e.g., they pass errno to error_setg_errno() and return -errno afterwards). Instead of trying to find and fix all of these constructs, just make sure error_setg() and error_setg_errno() indeed do not clobber errno. Suggested-by: Eric Blake Signed-off-by: Max Reitz Reviewed-by: Benoit Canet Signed-off-by: Stefan Hajnoczi Commit: f8d1daea6f3ccd7450c2177ffb8903f0202711ee https://github.com/qemu/qemu/commit/f8d1daea6f3ccd7450c2177ffb8903f= 0202711ee Author: Charlie Shepherd Date: 2013-11-28 (Thu, 28 Nov 2013) Changed paths: M tests/test-coroutine.c Log Message: ----------- Test coroutine execution order This patch adds a test for coroutine execution order in test-coroutine - this catches a bug in the CPC coroutine implementation. Signed-off-by: Charlie Shepherd Reviewed-by: Kevin Wolf Signed-off-by: Kevin Wolf Commit: 8582972227196c289bb3b28086b3b2d01071d958 https://github.com/qemu/qemu/commit/8582972227196c289bb3b28086b3b2d= 01071d958 Author: Liu Yuan Date: 2013-11-28 (Thu, 28 Nov 2013) Changed paths: M block/sheepdog.c Log Message: ----------- sheepdog: implement .bdrv_get_allocated_file_size With this patch, qemu-img info sheepdog:image will show disk size for she= epdog images. Cc: Kevin Wolf Cc: Stefan Hajnoczi Cc: MORITA Kazutaka Signed-off-by: Liu Yuan Reviewed-by: MORITA Kazutaka Signed-off-by: Kevin Wolf Commit: f4a193e717e6b5179a2e57423bfe110b724662d8 https://github.com/qemu/qemu/commit/f4a193e717e6b5179a2e57423bfe110= b724662d8 Author: Max Reitz Date: 2013-11-28 (Thu, 28 Nov 2013) Changed paths: M block/stream.c Log Message: ----------- block/stream: Don't stream unbacked devices If a block device is unbacked, a streaming blockjob should immediately finish instead of beginning to try to stream, then noticing the backing file does not contain even the first sector (since it does not exist) and then finishing normally. Signed-off-by: Max Reitz Reviewed-by: Wenchao Xia Signed-off-by: Kevin Wolf Commit: e489df40caa96d895d9672d77f536f23c9e42f94 https://github.com/qemu/qemu/commit/e489df40caa96d895d9672d77f536f2= 3c9e42f94 Author: Gerd Hoffmann Date: 2013-11-28 (Thu, 28 Nov 2013) Changed paths: M hw/usb/hcd-ehci.c M trace-events Log Message: ----------- ehci: implement port wakeup Update portsc register and raise irq in case a suspended port is woken up, so remote wakeup works on our ehci ports. Signed-off-by: Gerd Hoffmann Commit: 690af06aebdfd043a6222de96a535dcba2144caf https://github.com/qemu/qemu/commit/690af06aebdfd043a6222de96a535dc= ba2144caf Author: Gerd Hoffmann Date: 2013-11-28 (Thu, 28 Nov 2013) Changed paths: M hw/usb/dev-hid.c Log Message: ----------- Revert "usb-tablet: Don't claim wakeup capability for USB-2 version" This reverts commit aa1c9e971e80d25b92908dce3dec7c38b49480ea. Signed-off-by: Gerd Hoffmann Commit: 904c063039f5923a07ce35fc40ed78ec6f7dee1a https://github.com/qemu/qemu/commit/904c063039f5923a07ce35fc40ed78e= c6f7dee1a Author: Markus Armbruster Date: 2013-11-28 (Thu, 28 Nov 2013) Changed paths: M trace-events Log Message: ----------- trace-events: Clean up after removal of old usb-host code Commit b5613fd neglected to drop the trace events along with the code. Signed-off-by: Markus Armbruster Signed-off-by: Gerd Hoffmann Commit: 2b81ba53887e6f3b5a79ecd2f446f849ed89561f https://github.com/qemu/qemu/commit/2b81ba53887e6f3b5a79ecd2f446f84= 9ed89561f Author: Gerd Hoffmann Date: 2013-11-28 (Thu, 28 Nov 2013) Changed paths: M include/hw/usb.h Log Message: ----------- usb: add vendor request defines Add defines for vendor specific usb control requests. Group defines by Device / Interface / Endpoint while being at it. Signed-off-by: Gerd Hoffmann Commit: 0b1fa34e1dd2764ee7ae2be849e1c5ba5e8724ca https://github.com/qemu/qemu/commit/0b1fa34e1dd2764ee7ae2be849e1c5b= a5e8724ca Author: Gerd Hoffmann Date: 2013-11-28 (Thu, 28 Nov 2013) Changed paths: M hw/usb/desc.c M hw/usb/desc.h Log Message: ----------- usb: move usb_{hi,lo} helpers to header file. Signed-off-by: Gerd Hoffmann Commit: 905bba13ca292cb8c83fe5ccdf8a95bd04168bb1 https://github.com/qemu/qemu/commit/905bba13ca292cb8c83fe5ccdf8a95b= d04168bb1 Author: Erik de Castro Lopo Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M linux-user/syscall_defs.h Log Message: ----------- linux-user: Add target struct defs needed for POSIX timer syscalls. Signed-off-by: Erik de Castro Lopo Signed-off-by: Riku Voipio Commit: f4f1e10a58cb5ec7806d47d20671e668a52c3e70 https://github.com/qemu/qemu/commit/f4f1e10a58cb5ec7806d47d20671e66= 8a52c3e70 Author: Erik de Castro Lopo Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M linux-user/syscall.c Log Message: ----------- linux-user: Implement handling of 5 POSIX timer syscalls. Implement timer_create, timer_settime, timer_gettime, timer_getoverrun and timer_delete. Signed-off-by: Erik de Castro Lopo Signed-off-by: Riku Voipio Commit: 9721cf2cd6ecfc50d2ab1349e27b53c4bc36df54 https://github.com/qemu/qemu/commit/9721cf2cd6ecfc50d2ab1349e27b53c= 4bc36df54 Author: Corey J. Boyle Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M linux-user/flatload.c Log Message: ----------- flatload: fix non-GOT relocations Use target address rather than host address when performing non-GOT relocations Signed-off-by: Corey J. Boyle Signed-off-by: Riku Voipio Commit: 55a2b1631fb343edac4a2d4596c72e58ee1372b3 https://github.com/qemu/qemu/commit/55a2b1631fb343edac4a2d4596c72e5= 8ee1372b3 Author: Petar Jovanovic Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: A linux-user/aarch64/target_structs.h A linux-user/alpha/target_structs.h A linux-user/arm/target_structs.h A linux-user/cris/target_structs.h A linux-user/i386/target_structs.h A linux-user/m68k/target_structs.h A linux-user/microblaze/target_structs.h A linux-user/mips/target_structs.h M linux-user/mips64/target_cpu.h A linux-user/mips64/target_structs.h A linux-user/openrisc/target_structs.h A linux-user/ppc/target_structs.h M linux-user/qemu.h A linux-user/s390x/target_structs.h A linux-user/sh4/target_structs.h A linux-user/sparc/target_structs.h A linux-user/sparc64/target_structs.h M linux-user/syscall.c A linux-user/unicore32/target_structs.h A linux-user/x86_64/target_structs.h Log Message: ----------- linux-user: create target_structs header to place ipc_perm and shmid_ds= Creating target_structs header in linux-user/$arch/ and making target_ipc_perm and target_shmid_ds its first inhabitants. The struct defintions may/should be further fine-tuned by arch maintainer= s. Signed-off-by: Petar Jovanovic Signed-off-by: Riku Voipio Commit: a29267846a52b4ca294ba3a962b74b67df7ce6d2 https://github.com/qemu/qemu/commit/a29267846a52b4ca294ba3a962b74b6= 7df7ce6d2 Author: Petar Jovanovic Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M linux-user/syscall.c Log Message: ----------- linux-user: pass correct parameter to do_shmctl() Fix shmctl issue by passing correct parameter buf to do_shmctl(). Signed-off-by: Petar Jovanovic Signed-off-by: Riku Voipio Commit: e4654d2d9406016d6e4e296ba8db3d118caf9ff6 https://github.com/qemu/qemu/commit/e4654d2d9406016d6e4e296ba8db3d1= 18caf9ff6 Author: Fam Zheng Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M block-migration.c M block.c M block/mirror.c M block/qapi.c M include/block/block.h M include/block/block_int.h Log Message: ----------- block: per caller dirty bitmap Previously a BlockDriverState has only one dirty bitmap, so only one caller (e.g. a block job) can keep track of writing. This changes the dirty bitmap to a list and creates a BdrvDirtyBitmap for each caller, the= lifecycle is managed with these new functions: bdrv_create_dirty_bitmap bdrv_release_dirty_bitmap Where BdrvDirtyBitmap is a linked list wrapper structure of HBitmap. In place of bdrv_set_dirty_tracking, a BdrvDirtyBitmap pointer argument is added to these functions, since each caller has its own dirty bitmap: bdrv_get_dirty bdrv_dirty_iter_init bdrv_get_dirty_count bdrv_set_dirty and bdrv_reset_dirty prototypes are unchanged but will internally walk the list of all dirty bitmaps and set them one by one. Signed-off-by: Fam Zheng Reviewed-by: Stefan Hajnoczi Signed-off-by: Kevin Wolf Commit: 21b568350861a2c6eedfef95b70f88faf2fbd32a https://github.com/qemu/qemu/commit/21b568350861a2c6eedfef95b70f88f= af2fbd32a Author: Fam Zheng Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M block.c M block/qapi.c M include/block/block.h M qapi-schema.json Log Message: ----------- qapi: Change BlockDirtyInfo to list We have multiple dirty bitmaps in BDS now, switch QAPI to allow query it (BlockInfo.dirty_bitmaps), and also drop old BlockInfo.dirty. Signed-off-by: Fam Zheng Signed-off-by: Kevin Wolf Commit: 14b98fdaf3422fef19718033be9eca7e0b776a26 https://github.com/qemu/qemu/commit/14b98fdaf3422fef19718033be9eca7= e0b776a26 Author: Charlie Shepherd Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M block/cow.c Log Message: ----------- COW: Speed up writes Process a whole sector's worth of COW bits by reading a sector, setting the bits after skipping any already set bits, then writing it out again. Make sure we only flush once before writing metadata, and only if we need to write metadata. Signed-off-by: Charlie Shepherd Signed-off-by: Stefan Hajnoczi Commit: 091b1108ca6d6e3bfaea5f095f219bf5ea8c316b https://github.com/qemu/qemu/commit/091b1108ca6d6e3bfaea5f095f219bf= 5ea8c316b Author: Charlie Shepherd Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M block/cow.c Log Message: ----------- COW: Extend checking allocated bits to beyond one sector cow_co_is_allocated() only checks one sector's worth of allocated bits before returning. This is allowed but (slightly) inefficient, so extend it to check all of the file's metadata sectors. Signed-off-by: Charlie Shepherd Reviewed-by: Paolo Bonzini Signed-off-by: Stefan Hajnoczi [kwolf: silenced compiler warning (-Wmaybe-uninitialized for changed)] Signed-off-by: Kevin Wolf Commit: dce32b6c2bfd5132c433638352eea6f7707caf9c https://github.com/qemu/qemu/commit/dce32b6c2bfd5132c433638352eea6f= 7707caf9c Author: Liu Yuan Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M MAINTAINERS Log Message: ----------- MAINTAINERS: add sheepdog development mailing list This will help people find mailing list relevant to sheepdog. Cc: Stefan Hajnoczi Cc: Kevin Wolf Signed-off-by: Liu Yuan Signed-off-by: Stefan Hajnoczi Commit: 6273d1136af913aaf4badc4545ccf942557c747b https://github.com/qemu/qemu/commit/6273d1136af913aaf4badc4545ccf94= 2557c747b Author: Kevin Wolf Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M qobject/qdict.c Log Message: ----------- qdict: Fix memory leak in qdict_do_flatten() Reported-by: Laszlo Ersek Signed-off-by: Kevin Wolf Signed-off-by: Stefan Hajnoczi Commit: 4d5977eaecd3675c1176274a50f74ebc40dd13ec https://github.com/qemu/qemu/commit/4d5977eaecd3675c1176274a50f74eb= c40dd13ec Author: Kevin Wolf Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M qobject/qdict.c Log Message: ----------- qdict: Optimise qdict_do_flatten() Nested QDicts used to be both entered recursively in order to move their entries to the target QDict and also be moved themselves to the target QDict like all other objects. This is harmless because for the top level, qdict_do_flatten() will encounter the (now empty) QDict for a second time and then delete it, but at the same time it's obviously unnecessary overhead. Just delete nested QDicts directly after moving all of their entries. Reported-by: Laszlo Ersek Signed-off-by: Kevin Wolf Signed-off-by: Stefan Hajnoczi Commit: c31d482f29ffe4ba54065acfb2f31c3f4ce586b7 https://github.com/qemu/qemu/commit/c31d482f29ffe4ba54065acfb2f31c3= f4ce586b7 Author: Liu Yuan Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M block/sheepdog.c Log Message: ----------- sheepdog: refactor do_sd_create() We can actually use BDRVSheepdogState *s to pass most of the parameters. Cc: Kevin Wolf Cc: Stefan Hajnoczi Signed-off-by: Liu Yuan Signed-off-by: Stefan Hajnoczi Commit: b3af018f3babfe7a0328759a86c00a6a6b4f6443 https://github.com/qemu/qemu/commit/b3af018f3babfe7a0328759a86c00a6= a6b4f6443 Author: Liu Yuan Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M block/sheepdog.c M include/block/block_int.h Log Message: ----------- sheepdog: support user-defined redundancy option Sheepdog support two kinds of redundancy, full replication and erasure co= ding. # create a fully replicated vdi with x copies -o redundancy=3Dx (1 <=3D x <=3D SD_MAX_COPIES) # create a erasure coded vdi with x data strips and y parity strips -o redundancy=3Dx:y (x must be one of {2,4,8,16} and 1 <=3D y < SD_EC_MA= X_STRIP) E.g, to convert a vdi into sheepdog vdi 'test' with 8:3 erasure coding sc= heme $ qemu-img convert -o redundancy=3D8:3 linux-0.2.img sheepdog:test Cc: Kevin Wolf Cc: Stefan Hajnoczi Signed-off-by: Liu Yuan Signed-off-by: Stefan Hajnoczi Commit: 5b43dbb699599cdb9f75a624cb28d4f709ad2cdf https://github.com/qemu/qemu/commit/5b43dbb699599cdb9f75a624cb28d4f= 709ad2cdf Author: Fam Zheng Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M tests/qemu-iotests/040 Log Message: ----------- qemu-iotests: Drop local version of cancel_and_wait from 040 iotests.py already has one. Signed-off-by: Fam Zheng Signed-off-by: Stefan Hajnoczi Commit: 4cc70e933731ebf4309e1f1ce90973a0de04f28f https://github.com/qemu/qemu/commit/4cc70e933731ebf4309e1f1ce90973a= 0de04f28f Author: Fam Zheng Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M block.c M block/blkdebug.c M include/block/block.h M include/block/block_int.h M qemu-io-cmds.c Log Message: ----------- blkdebug: add "remove_break" command This adds "remove_break" command which is the reverse of blkdebug command "break": it removes all breakpoints with given tag and resumes all the requests. Signed-off-by: Fam Zheng Signed-off-by: Stefan Hajnoczi Commit: 3cf53c771406ad360117f30e61b24635df0e9b50 https://github.com/qemu/qemu/commit/3cf53c771406ad360117f30e61b2463= 5df0e9b50 Author: Fam Zheng Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M tests/qemu-iotests/iotests.py Log Message: ----------- qemu-iotest: Add pause_drive and resume_drive methods They wrap blkdebug "break" and "remove_break". Add optional argument "resume" to cancel_and_wait(). Signed-off-by: Fam Zheng Signed-off-by: Stefan Hajnoczi Commit: b59b3d57737a0d40450f8232abd89e8986387402 https://github.com/qemu/qemu/commit/b59b3d57737a0d40450f8232abd89e8= 986387402 Author: Fam Zheng Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M tests/qemu-iotests/030 M tests/qemu-iotests/040 M tests/qemu-iotests/055 Log Message: ----------- qemu-iotests: Make test case 030, 040 and 055 deterministic Pause the drive and start the block job, so we won't miss the block job. Signed-off-by: Fam Zheng Signed-off-by: Stefan Hajnoczi Commit: 9fd3171af9d7de2777bf38ce79c2fe3dd6f9a49e https://github.com/qemu/qemu/commit/9fd3171af9d7de2777bf38ce79c2fe3= dd6f9a49e Author: Kevin Wolf Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M block.c Log Message: ----------- block: Enable BDRV_O_SNAPSHOT with driver-specific options In the case of snapshot=3Don, don't rely on the backing file path in the temporary image any more, but override the backing file with the given set of options. This way, block drivers that don't use a file name can be accessed with snapshot=3Don, for example: -drive file.driver=3Dnbd,file.host=3Dlocalhost,snapshot=3Don Which becomes internally something like: file.filename=3D/tmp/vl.AWQZCu,backing.file.driver=3Dnbd,backing.file= .host=3Dlocalhost Signed-off-by: Kevin Wolf Commit: f32f988c7778d0f1ff9c7e8d7547a354a7fdd3f6 https://github.com/qemu/qemu/commit/f32f988c7778d0f1ff9c7e8d7547a35= 4a7fdd3f6 Author: Kevin Wolf Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M tests/qemu-iotests/051 M tests/qemu-iotests/051.out Log Message: ----------- qemu-iotests: Test snapshot mode Signed-off-by: Kevin Wolf Reviewed-by: Eric Blake Commit: c9fbb99d41b05acf0d7b93deb2fcdbf9047c238e https://github.com/qemu/qemu/commit/c9fbb99d41b05acf0d7b93deb2fcdbf= 9047c238e Author: Kevin Wolf Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M block.c M block/qcow2.c M block/vmdk.c Log Message: ----------- block: Use BDRV_O_NO_BACKING where appropriate If you open an image temporarily just because you want to check its size or get it flushed, there's no real reason to open the whole backing file chain. Signed-off-by: Kevin Wolf Reviewed-by: Fam Zheng Reviewed-by: Benoit Canet Commit: 0d83c98bf15269e80e3558dc2c7b27e2f4386158 https://github.com/qemu/qemu/commit/0d83c98bf15269e80e3558dc2c7b27e= 2f4386158 Author: Fam Zheng Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M tests/qemu-iotests/025 Log Message: ----------- qemu-iotests: Filter qemu-io output in 025 Signed-off-by: Fam Zheng Reviewed-by: Eric Blake Signed-off-by: Kevin Wolf Commit: c34b8012e877f494c7be5abdfb67b51242a6935e https://github.com/qemu/qemu/commit/c34b8012e877f494c7be5abdfb67b51= 242a6935e Author: Fam Zheng Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M tests/qemu-iotests/013.out M tests/qemu-iotests/014.out M tests/qemu-iotests/017.out M tests/qemu-iotests/018.out M tests/qemu-iotests/019.out M tests/qemu-iotests/020.out M tests/qemu-iotests/022.out M tests/qemu-iotests/023.out M tests/qemu-iotests/024.out M tests/qemu-iotests/025.out M tests/qemu-iotests/028.out M tests/qemu-iotests/032.out M tests/qemu-iotests/035.out M tests/qemu-iotests/037.out M tests/qemu-iotests/038.out M tests/qemu-iotests/046.out M tests/qemu-iotests/047.out M tests/qemu-iotests/048.out M tests/qemu-iotests/common.filter Log Message: ----------- qemu-iotests: Filter out 'qemu-io> ' prompt This removes "qemu-io> " prompt from qemu-io output in _filter_qemu_io, and updates all the output files with the following command: cd tests/qemu-iotests && sed -i "s/qemu-io> //g" *.out Signed-off-by: Fam Zheng Reviewed-by: Eric Blake Signed-off-by: Kevin Wolf Commit: 509d39aa22909c0ed1aabf896865f19c81fb38a1 https://github.com/qemu/qemu/commit/509d39aa22909c0ed1aabf896865f19= c81fb38a1 Author: Fam Zheng Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M block/vmdk.c Log Message: ----------- vmdk: Allow read only open of VMDK version 3 Signed-off-by: Fam Zheng Signed-off-by: Kevin Wolf Commit: 981cbf59b5360647e908186e7306ee9013a58c88 https://github.com/qemu/qemu/commit/981cbf59b5360647e908186e7306ee9= 013a58c88 Author: Fam Zheng Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M tests/qemu-iotests/059 M tests/qemu-iotests/059.out A tests/qemu-iotests/sample_images/iotest-version3.vmdk.bz2 Log Message: ----------- qemu-iotests: Add sample image and test for VMDK version 3 Signed-off-by: Fam Zheng Signed-off-by: Kevin Wolf Commit: b6a3e690b4f396633c75e18a9c3e7b6771fb71ba https://github.com/qemu/qemu/commit/b6a3e690b4f396633c75e18a9c3e7b6= 771fb71ba Author: Richard Henderson Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M include/qemu/osdep.h M linux-user/main.c M util/Makefile.objs A util/getauxval.c M vl.c Log Message: ----------- osdep: Create qemu_getauxval and qemu_init_auxval Abstract away dependence on a system implementation of getauxval. Signed-off-by: Richard Henderson Commit: cd629de1cf013e9654c6f0b92b2329f04dfaf880 https://github.com/qemu/qemu/commit/cd629de1cf013e9654c6f0b92b2329f= 04dfaf880 Author: Richard Henderson Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M include/elf.h M tcg/ppc64/tcg-target.c Log Message: ----------- tcg-ppc64: Use qemu_getauxval Allow host detection on linux systems without glibc 2.16 or later. Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson Commit: 41d9ea80ac8455845494c889fe6ac447b39a7d64 https://github.com/qemu/qemu/commit/41d9ea80ac8455845494c889fe6ac44= 7b39a7d64 Author: Richard Henderson Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M include/elf.h M tcg/arm/tcg-target.c Log Message: ----------- tcg-arm: Use qemu_getauxval Allow host detection on linux systems without glibc 2.16 or later. Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson Commit: c9baa30f42a87f61627391698f63fa4d1566d9d8 https://github.com/qemu/qemu/commit/c9baa30f42a87f61627391698f63fa4= d1566d9d8 Author: Richard Henderson Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M include/elf.h M tcg/s390/tcg-target.c Log Message: ----------- tcg-s390: Use qemu_getauxval in query_facilities No need to set up a SIGILL signal handler for detection anymore. Remove a ton of sanity checks that must be true, given that we're requiring a 64-bit build (the note about 31-bit KVM is satisfied by configuring with TCI). Signed-off-by: Richard Henderson Commit: 664d2c4458a268eb176a223c397453a72ed167f4 https://github.com/qemu/qemu/commit/664d2c4458a268eb176a223c397453a= 72ed167f4 Author: Richard Henderson Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M include/qemu/cache-utils.h M linux-user/main.c M util/cache-utils.c M vl.c Log Message: ----------- util: Use qemu_getauxval in linux qemu_cache_utils_init With this we no longer pass down envp, and thus all systems can have the same void prototype. So also eliminate a useless thunk. Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson Commit: 0b959cf5e4cce08ed96bd7832447e1543cd3622f https://github.com/qemu/qemu/commit/0b959cf5e4cce08ed96bd7832447e15= 43cd3622f Author: Richard Henderson Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M linux-user/main.c Log Message: ----------- linux-user: Use qemu_getauxval for AT_EXECFD Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson Commit: d18e173a07a9c1e7f087384a8832d295043136bb https://github.com/qemu/qemu/commit/d18e173a07a9c1e7f087384a8832d29= 5043136bb Author: Wei Liu Date: 2013-12-01 (Sun, 01 Dec 2013) Changed paths: M hw/xen/xen_pt.c M xen-all.c Log Message: ----------- xen: fix two errors when debug is enabled This patch fixes: 1. build error in xen_pt.c when XEN_PT_LOGGING_ENABLED is defined 2. debug output format string error when DEBUG_XEN is defined In the second case I also have the output info in consistent with the output in mapping function - that is, print start_addr instead of phys_offset. Signed-off-by: Sander Eikelenboom Signed-off-by: Wei Liu Signed-off-by: Stefano Stabellini Commit: 539891a85d17bd8c23a2547e52e26993350d2c3a https://github.com/qemu/qemu/commit/539891a85d17bd8c23a2547e52e2699= 3350d2c3a Author: Paul Durrant Date: 2013-12-01 (Sun, 01 Dec 2013) Changed paths: M hw/xen/xen_pvdevice.c M include/hw/pci/pci_ids.h Log Message: ----------- xen-pvdevice: make device-id property compulsory The intention of the Xen PV device is that it is used as a parent device for PV drivers in Xen HVM guests and the set of PV drivers that bind to the device is determined by its device ID (and possibly vendor ID and revision). As such, the device should not have a default device ID, it should always be supplied by the Xen toolstack. Signed-off-by: Paul Durrant Signed-off-by: Stefano Stabellini Commit: ac86048bcd41129b18702ba63395f222871804de https://github.com/qemu/qemu/commit/ac86048bcd41129b18702ba63395f22= 2871804de Author: Stefan Weil Date: 2013-12-02 (Mon, 02 Dec 2013) Changed paths: M hw/display/vmware_vga.c M include/ui/console.h M ui/console.c Log Message: ----------- trace: Remove trace.h from console.h (less dependencies) This reduces the dependencies on trace.h. Only two source files which need console.h also need trace.h. Signed-off-by: Stefan Weil Signed-off-by: Michael Tokarev Commit: 12269616227c2ee34f4c853cae676e18a5e01b18 https://github.com/qemu/qemu/commit/12269616227c2ee34f4c853cae676e1= 8a5e01b18 Author: Stefan Weil Date: 2013-12-02 (Mon, 02 Dec 2013) Changed paths: M hw/usb/hcd-ehci.c M hw/usb/hcd-ehci.h Log Message: ----------- trace: Remove trace.h from hw/usb/hcd-ehci.h (less dependencies) This reduces the dependencies on trace.h. Only one source file which needs hcd-ehci.h also needs trace.h. Signed-off-by: Stefan Weil Signed-off-by: Michael Tokarev Commit: 5d28b0e960cd3a99f7e013900a0e12468720b402 https://github.com/qemu/qemu/commit/5d28b0e960cd3a99f7e013900a0e124= 68720b402 Author: Stefan Weil Date: 2013-12-02 (Mon, 02 Dec 2013) Changed paths: M trace-events M ui/console.c Log Message: ----------- console: Replace conditional debug messages by trace methods Signed-off-by: Stefan Weil Reviewed-by: Gerd Hoffmann Signed-off-by: Michael Tokarev Commit: ef0dd982cb7dbff3ea234fe48187d556e69d6765 https://github.com/qemu/qemu/commit/ef0dd982cb7dbff3ea234fe48187d55= 6e69d6765 Author: Stefan Weil Date: 2013-12-02 (Mon, 02 Dec 2013) Changed paths: M trace-events M ui/gtk.c Log Message: ----------- gtk: Replace conditional debug messages by trace methods Signed-off-by: Stefan Weil Signed-off-by: Michael Tokarev Commit: b2e2395f1308f784acd2e0af0d6f2a6f5668aafb https://github.com/qemu/qemu/commit/b2e2395f1308f784acd2e0af0d6f2a6= f5668aafb Author: Fam Zheng Date: 2013-12-02 (Mon, 02 Dec 2013) Changed paths: M .gitignore Log Message: ----------- .gitignore: Ignore config.status Signed-off-by: Fam Zheng Reviewed-by: Stefan Weil Signed-off-by: Michael Tokarev Commit: 867d898ccf50ef095b95c403d7dc809c188b14e2 https://github.com/qemu/qemu/commit/867d898ccf50ef095b95c403d7dc809= c188b14e2 Author: Stefan Weil Date: 2013-12-02 (Mon, 02 Dec 2013) Changed paths: M hw/i386/acpi-build.c Log Message: ----------- acpi-build: Fix compiler warning (missing gnu_printf format attribute) gcc 4.8.2 reports this warning when extra warnings are enabled (-Wextra):= CC m68k-softmmu/hw/m68k/mcf5206.o hw/i386/acpi-build.c: In function =E2=80=98build_append_nameseg=E2=80=99:= hw/i386/acpi-build.c:294:5: error: function might be possible candidate for =E2=80=98gnu_printf=E2=80=99 fo= rmat attribute [-Werror=3Dsuggest-attribute=3Dformat] g_string_vprintf(s, format, args); ^ When this warning is fixed, there is a new compiler warning: CC i386-softmmu/hw/i386/acpi-build.o hw/i386/acpi-build.c: In function =E2=80=98build_append_notify=E2=80=99: hw/i386/acpi-build.c:632:5: error: format not a string literal and no format arguments [-Werror=3Dformat-se= curity] build_append_nameseg(method, name); ^ This is fixed here, too. Signed-off-by: Stefan Weil Signed-off-by: Michael Tokarev Commit: 47908a0f66c5369a94e93d951a5d0c28d007ff80 https://github.com/qemu/qemu/commit/47908a0f66c5369a94e93d951a5d0c2= 8d007ff80 Author: Stefan Weil Date: 2013-12-02 (Mon, 02 Dec 2013) Changed paths: M qobject/qerror.c Log Message: ----------- qobject: Fix compiler warning (missing gnu_printf format attribute) gcc 4.8.2 reports this warning when extra warnings are enabled (-Wextra):= CC qobject/qerror.o qobject/qerror.c: In function =E2=80=98qerror_from_info=E2=80=99: qobject/qerror.c:53:5: error: function might be possible candidate for =E2=80=98gnu_printf=E2=80=99 fo= rmat attribute [-Werror=3Dsuggest-attribute=3Dformat] qerr->err_msg =3D g_strdup_vprintf(fmt, *va); ^ Signed-off-by: Stefan Weil Signed-off-by: Michael Tokarev Commit: 1246b259f846136d58a89568fdc0421d02e4df65 https://github.com/qemu/qemu/commit/1246b259f846136d58a89568fdc0421= d02e4df65 Author: Stefan Weil Date: 2013-12-02 (Mon, 02 Dec 2013) Changed paths: M hw/char/cadence_uart.c M hw/ppc/ppc.c M hw/ppc/ppc405_uc.c M hw/ppc/ppc_booke.c M hw/timer/m48t59.c M include/hw/char/serial.h M include/hw/ppc/ppc.h M target-alpha/cpu-qom.h M target-mips/cpu.h M target-openrisc/cpu.h M target-sparc/cpu.h M ui/console.c Log Message: ----------- misc: Replace 'struct QEMUTimer' by 'QEMUTimer' Most code already used QEMUTimer without the redundant 'struct' keyword. Signed-off-by: Stefan Weil Reviewed-by: Andreas F=C3=A4rber Signed-off-by: Michael Tokarev Commit: cb77e358152afb348a513d8eb404cb7ff65cfad2 https://github.com/qemu/qemu/commit/cb77e358152afb348a513d8eb404cb7= ff65cfad2 Author: Zhi Yong Wu Date: 2013-12-02 (Mon, 02 Dec 2013) Changed paths: M hw/net/virtio-net.c Log Message: ----------- virtio-net: fix the indent Signed-off-by: Zhi Yong Wu Reviewed-by: Fam Zheng Signed-off-by: Michael Tokarev Commit: 754e72e195faca8042072ada054bc3668aa1647d https://github.com/qemu/qemu/commit/754e72e195faca8042072ada054bc36= 68aa1647d Author: Stefan Weil Date: 2013-12-02 (Mon, 02 Dec 2013) Changed paths: M libcacard/cac.c Log Message: ----------- libcacard/cac: Remove unused statement (value stored is never read) Warning from ccc-analyzer: libcacard/cac.c:192:13: warning: Value stored to 'ret' is never read ret =3D VCARD_DONE; ^ ~~~~~~~~~~ Here 'ret' is assigned a value inside of a switch statement and also afte= r that switch statement. Signed-off-by: Stefan Weil Signed-off-by: Michael Tokarev Commit: efbc42e5848bb8000bfa6927847f1870850942ba https://github.com/qemu/qemu/commit/efbc42e5848bb8000bfa6927847f187= 0850942ba Author: Stefan Weil Date: 2013-12-02 (Mon, 02 Dec 2013) Changed paths: M libcacard/vcard_emul_nss.c Log Message: ----------- libcacard/vcard_emul_nss: Remove unused statement (value stored is neve= r read) Warning from ccc-analyzer: libcacard/vcard_emul_nss.c:937:9: warning: Value stored to 'cert_count' is never read cert_count =3D options->vreader[i].cert_count; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Stefan Weil Signed-off-by: Michael Tokarev Commit: 4282c8277013dc5613b8f27845f6121b66b7cbff https://github.com/qemu/qemu/commit/4282c8277013dc5613b8f27845f6121= b66b7cbff Author: Don Koch Date: 2013-12-02 (Mon, 02 Dec 2013) Changed paths: M ui/input.c Log Message: ----------- Don't crash on keyboard input with no handler Prevent a call to put_kbd if null. On shutdown of some OSes, the keyboard handler goes away before the system is down. If a key is typed during this window, qemu crashes. Signed-off-by: Don Koch Signed-off-by: Michael Tokarev Commit: a6b6d08a3bf93c8cc6521336a89ac0467ab7edca https://github.com/qemu/qemu/commit/a6b6d08a3bf93c8cc6521336a89ac04= 67ab7edca Author: Michael Tokarev Date: 2013-12-02 (Mon, 02 Dec 2013) Changed paths: M hw/ppc/mac.h Log Message: ----------- hw/ppc/mac.h: remove unused BIOS_FILENAME definition This definition has been moved to prep.c. Signed-off-by: Michael Tokarev Commit: 6fedcaa1c5419fa89c31fd34dabbd71861c615d2 https://github.com/qemu/qemu/commit/6fedcaa1c5419fa89c31fd34dabbd71= 861c615d2 Author: Antony Pavlov Date: 2013-12-06 (Fri, 06 Dec 2013) Changed paths: M hw/nvram/eeprom93xx.c Log Message: ----------- eeprom93xx: fix coding style scripts/checkpatch.pl reports about some style problems, this commit fixes some of them: ERROR: space prohibited before open square bracket '[' + .fields =3D (VMStateField []) { ERROR: space prohibited after that '!' (ctx:BxW) + if (! eeprom->eecs && eecs) { ^ ERROR: space prohibited after that '!' (ctx:WxW) + } else if (eeprom->eecs && ! eecs) { ^ ERROR: space prohibited after that '!' (ctx:WxW) + } else if (eecs && ! eeprom->eesk && eesk) { ^ ERROR: switch and case should be at the same indent switch (address >> (eeprom->addrbits - 2)) { + case 0: [...] + case 1: [...] + case 2: [...] + case 3: ERROR: return is not a function, parentheses are not required + return (eeprom->eedo); ERROR: switch and case should be at the same indent switch (nwords) { + case 16: + case 64: [...] + case 128: + case 256: [...] + default: Signed-off-by: Antony Pavlov Cc: Stefan Weil Reviewed-by: Stefan Weil Cc: qemu-trivial@nongnu.org Signed-off-by: Michael Tokarev Commit: 783eb67e7a125eaf226e5ea4f5df97c1ea42311e https://github.com/qemu/qemu/commit/783eb67e7a125eaf226e5ea4f5df97c= 1ea42311e Author: Anthony Liguori Date: 2013-12-06 (Fri, 06 Dec 2013) Changed paths: M .gitignore M hw/char/cadence_uart.c M hw/display/vmware_vga.c M hw/i386/acpi-build.c M hw/net/virtio-net.c M hw/nvram/eeprom93xx.c M hw/ppc/mac.h M hw/ppc/ppc.c M hw/ppc/ppc405_uc.c M hw/ppc/ppc_booke.c M hw/timer/m48t59.c M hw/usb/hcd-ehci.c M hw/usb/hcd-ehci.h M include/hw/char/serial.h M include/hw/ppc/ppc.h M include/ui/console.h M libcacard/cac.c M libcacard/vcard_emul_nss.c M qobject/qerror.c M target-alpha/cpu-qom.h M target-mips/cpu.h M target-openrisc/cpu.h M target-sparc/cpu.h M trace-events M ui/console.c M ui/gtk.c M ui/input.c Log Message: ----------- Merge remote-tracking branch 'mjt/trivial-patches' into staging # By Stefan Weil (9) and others # Via Michael Tokarev * mjt/trivial-patches: eeprom93xx: fix coding style hw/ppc/mac.h: remove unused BIOS_FILENAME definition Don't crash on keyboard input with no handler libcacard/vcard_emul_nss: Remove unused statement (value stored is neve= r read) libcacard/cac: Remove unused statement (value stored is never read) virtio-net: fix the indent misc: Replace 'struct QEMUTimer' by 'QEMUTimer' qobject: Fix compiler warning (missing gnu_printf format attribute) acpi-build: Fix compiler warning (missing gnu_printf format attribute) .gitignore: Ignore config.status gtk: Replace conditional debug messages by trace methods console: Replace conditional debug messages by trace methods trace: Remove trace.h from hw/usb/hcd-ehci.h (less dependencies) trace: Remove trace.h from console.h (less dependencies) Message-id: 1385408466-13183-1-git-send-email-mjt@msgid.tls.msk.ru Signed-off-by: Anthony Liguori Commit: e679f05248e220b8ef587e8fd6c64ffe83b1e16f https://github.com/qemu/qemu/commit/e679f05248e220b8ef587e8fd6c64ff= e83b1e16f Author: Anthony Liguori Date: 2013-12-06 (Fri, 06 Dec 2013) Changed paths: M hw/scsi/scsi-bus.c M hw/usb/bus.c M hw/usb/core.c M hw/usb/desc.c M hw/usb/desc.h M hw/usb/dev-hid.c M hw/usb/dev-uas.c M hw/usb/hcd-ehci.c M hw/usb/hcd-xhci.c M include/hw/scsi/scsi.h M include/hw/usb.h M trace-events Log Message: ----------- Merge remote-tracking branch 'kraxel/tags/pull-usb-1' into staging Improvements for usb3 bulk stream (usb core, xhci). Bugfixes for uas emulation. Add remote wakeup support for ehci. Add suspend support for xhci. Misc minor tweaks and fixes. # gpg: Signature made Thu 28 Nov 2013 11:44:49 PM PST using RSA key ID D3= E87138 # gpg: Can't check signature: public key not found # By Hans de Goede (11) and others # Via Gerd Hoffmann * kraxel/tags/pull-usb-1: usb: move usb_{hi,lo} helpers to header file. usb: add vendor request defines trace-events: Clean up after removal of old usb-host code Revert "usb-tablet: Don't claim wakeup capability for USB-2 version" ehci: implement port wakeup xhci: Call usb_device_alloc/free_streams usb: Add usb_device_alloc/free_streams usb: Add max_streams attribute to endpoint info uas: s/ui/iu/ uas: Fix response iu struct definition uas: Bounds check tags when using streams uas: Streams are numbered 1-y, rather then 0-x uas: Fix / cleanup usb_uas_task error handling uas: Only use report iu-s for task_mgmt status reporting scsi: Add 2 new sense codes needed by uas xhci: add support for suspend/resume xhci: Add a few missing checks for disconnected devices Message-id: 1385712381-30918-1-git-send-email-kraxel@redhat.com Signed-off-by: Anthony Liguori Commit: a55d121f4a932dcd19eb8164804cc98d5ea88e72 https://github.com/qemu/qemu/commit/a55d121f4a932dcd19eb8164804cc98= d5ea88e72 Author: Anthony Liguori Date: 2013-12-06 (Fri, 06 Dec 2013) Changed paths: A linux-user/aarch64/target_structs.h A linux-user/alpha/target_structs.h A linux-user/arm/target_structs.h A linux-user/cris/target_structs.h M linux-user/flatload.c A linux-user/i386/target_structs.h A linux-user/m68k/target_structs.h A linux-user/microblaze/target_structs.h A linux-user/mips/target_structs.h M linux-user/mips64/target_cpu.h A linux-user/mips64/target_structs.h A linux-user/openrisc/target_structs.h A linux-user/ppc/target_structs.h M linux-user/qemu.h A linux-user/s390x/target_structs.h A linux-user/sh4/target_structs.h A linux-user/sparc/target_structs.h A linux-user/sparc64/target_structs.h M linux-user/syscall.c M linux-user/syscall_defs.h A linux-user/unicore32/target_structs.h A linux-user/x86_64/target_structs.h Log Message: ----------- Merge remote-tracking branch 'riku/linux-user-for-upstream' into stagin= g # By Erik de Castro Lopo (2) and others # Via Riku Voipio * riku/linux-user-for-upstream: linux-user: pass correct parameter to do_shmctl() linux-user: create target_structs header to place ipc_perm and shmid_ds= flatload: fix non-GOT relocations linux-user: Implement handling of 5 POSIX timer syscalls. linux-user: Add target struct defs needed for POSIX timer syscalls. Message-id: cover.1385732338.git.riku.voipio@linaro.org Signed-off-by: Anthony Liguori Commit: cdac7a7184065467ba45ec83a9abfeeae060ce4b https://github.com/qemu/qemu/commit/cdac7a7184065467ba45ec83a9abfee= ae060ce4b Author: Anthony Liguori Date: 2013-12-06 (Fri, 06 Dec 2013) Changed paths: M include/elf.h M include/qemu/cache-utils.h M include/qemu/osdep.h M linux-user/main.c M tcg/arm/tcg-target.c M tcg/ppc64/tcg-target.c M tcg/s390/tcg-target.c M util/Makefile.objs M util/cache-utils.c A util/getauxval.c M vl.c Log Message: ----------- Merge remote-tracking branch 'rth/auxv-2' into staging # By Richard Henderson # Via Richard Henderson * rth/auxv-2: linux-user: Use qemu_getauxval for AT_EXECFD util: Use qemu_getauxval in linux qemu_cache_utils_init tcg-s390: Use qemu_getauxval in query_facilities tcg-arm: Use qemu_getauxval tcg-ppc64: Use qemu_getauxval osdep: Create qemu_getauxval and qemu_init_auxval Message-id: 1385757754-10702-1-git-send-email-rth@twiddle.net Signed-off-by: Anthony Liguori Commit: 9ed5dacbfa0f3f74238854776385f150b68e78b9 https://github.com/qemu/qemu/commit/9ed5dacbfa0f3f74238854776385f15= 0b68e78b9 Author: Anthony Liguori Date: 2013-12-06 (Fri, 06 Dec 2013) Changed paths: M hw/xen/xen_pt.c M hw/xen/xen_pvdevice.c M include/hw/pci/pci_ids.h M xen-all.c Log Message: ----------- Merge remote-tracking branch 'sstabellini/xen-2013-12-01' into staging # By Paul Durrant (1) and Wei Liu (1) # Via Stefano Stabellini * sstabellini/xen-2013-12-01: xen-pvdevice: make device-id property compulsory xen: fix two errors when debug is enabled Message-id: alpine.DEB.2.02.1312011829000.3198@kaball.uk.xensource.com Signed-off-by: Anthony Liguori Commit: 0a0ee0b93bdd6e1ef628283d00bb979e27655ebb https://github.com/qemu/qemu/commit/0a0ee0b93bdd6e1ef628283d00bb979= e27655ebb Author: Anthony Liguori Date: 2013-12-06 (Fri, 06 Dec 2013) Changed paths: M MAINTAINERS M block-migration.c M block.c M block/backup.c M block/blkdebug.c M block/cow.c M block/iscsi.c M block/mirror.c M block/qapi.c M block/qcow2-cluster.c M block/qcow2.c M block/qed.c M block/raw_bsd.c M block/sheepdog.c M block/stream.c M block/vmdk.c M include/block/block.h M include/block/block_int.h M qapi-schema.json M qemu-img.c M qemu-img.texi M qemu-io-cmds.c M qobject/qdict.c M tests/qemu-iotests/013.out M tests/qemu-iotests/014.out M tests/qemu-iotests/017.out M tests/qemu-iotests/018.out M tests/qemu-iotests/019.out M tests/qemu-iotests/020.out M tests/qemu-iotests/022.out M tests/qemu-iotests/023.out M tests/qemu-iotests/024.out M tests/qemu-iotests/025 M tests/qemu-iotests/025.out M tests/qemu-iotests/028.out M tests/qemu-iotests/030 M tests/qemu-iotests/032.out M tests/qemu-iotests/035.out M tests/qemu-iotests/037.out M tests/qemu-iotests/038.out M tests/qemu-iotests/040 M tests/qemu-iotests/046.out M tests/qemu-iotests/047.out M tests/qemu-iotests/048.out M tests/qemu-iotests/051 M tests/qemu-iotests/051.out M tests/qemu-iotests/055 M tests/qemu-iotests/059 M tests/qemu-iotests/059.out M tests/qemu-iotests/common.filter M tests/qemu-iotests/iotests.py A tests/qemu-iotests/sample_images/iotest-version3.vmdk.bz2 M tests/test-coroutine.c M util/error.c Log Message: ----------- Merge remote-tracking branch 'kwolf/tags/for-anthony' into staging Block patches for 2.0 (flushing block-next) # gpg: Signature made Fri 29 Nov 2013 08:43:18 AM PST using RSA key ID C8= 8F2FD6 # gpg: Can't check signature: public key not found # By Peter Lieven (17) and others # Via Kevin Wolf * kwolf/tags/for-anthony: (41 commits) qemu-iotests: Add sample image and test for VMDK version 3 vmdk: Allow read only open of VMDK version 3 qemu-iotests: Filter out 'qemu-io> ' prompt qemu-iotests: Filter qemu-io output in 025 block: Use BDRV_O_NO_BACKING where appropriate qemu-iotests: Test snapshot mode block: Enable BDRV_O_SNAPSHOT with driver-specific options qemu-iotests: Make test case 030, 040 and 055 deterministic qemu-iotest: Add pause_drive and resume_drive methods blkdebug: add "remove_break" command qemu-iotests: Drop local version of cancel_and_wait from 040 sheepdog: support user-defined redundancy option sheepdog: refactor do_sd_create() qdict: Optimise qdict_do_flatten() qdict: Fix memory leak in qdict_do_flatten() MAINTAINERS: add sheepdog development mailing list COW: Extend checking allocated bits to beyond one sector COW: Speed up writes qapi: Change BlockDirtyInfo to list block: per caller dirty bitmap ... Message-id: 1385743555-27888-1-git-send-email-kwolf@redhat.com Signed-off-by: Anthony Liguori Compare: https://github.com/qemu/qemu/compare/7dc65c02fe3f...0a0ee0b93bdd= ----==_mimepart_52a2731befaef_268e54bd481659d8-- From MAILER-DAEMON Sat Dec 07 11:00:41 2013 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VpKJ6-0003rN-Ue for mharc-qemu-commits@gnu.org; Sat, 07 Dec 2013 11:00:40 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49910) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VpKIx-0003mE-1b for qemu-commits@nongnu.org; Sat, 07 Dec 2013 11:00:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VpKIr-0004y8-BT for qemu-commits@nongnu.org; Sat, 07 Dec 2013 11:00:30 -0500 Received: from m71-131.mailgun.net ([166.78.71.131]:49426) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VpKIr-0004y1-3F for qemu-commits@nongnu.org; Sat, 07 Dec 2013 11:00:25 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=github.com; q=dns/txt; s=mailo; t=1386432024; h=Date: From: Reply-To: To: Message-Id: Subject: Mime-Version: Content-Type: Content-Transfer-Encoding: Sender; bh=uSbWJJkT6TcRH5RV3XeL1i8YxtWf/x4kJEX8oSGoPBE=; b=i+m/zSSEopsUSy/l4VVwZx14Zeb55m17H0OPwEnil+pgZJHkTSQY69eb+F+XBGimgLLrOBrb dk7IQbGx/avnFNOejhz23LBQhUvdZtGW8Xy12VBCXglyZJwX865lxjDcg+Z1Kj1bMiodKQGD melMwisrtD5NYLTQqNDEmEtAWhA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=github.com; s=mailo; q=dns; h=Date: From: Reply-To: To: Message-Id: Subject: Mime-Version: Content-Type: Content-Transfer-Encoding: Sender; b=pH9zruatCI2fyjsvfk4U5YQ3Skht+8tDoGCRIo4TcRDtxcdbdts2ERhvoIsBEleBW9L+Cf nwUirytXjXCLqLfQCUPaV/KxiU6zQfwAjBeWTyr5jG9eAYnc5QK9MpHt4Yv7GfSIMch1n+aV RuB9H2mO9ps0yT3AF6sjuwej7ujeY= Received: from github.com (Unknown [192.30.252.54]) by mxa.mailgun.org with ESMTP id 52a34608.48727e0-in3; Sat, 07 Dec 2013 16:00:08 -0000 (UTC) Date: Sat, 07 Dec 2013 08:00:07 -0800 From: GitHub To: qemu-commits@nongnu.org Message-Id: <52a34607a0ab4_4724145dd54608ed@hookshot-fe5-pe1-prd.aws.github.net.mail> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="--==_mimepart_52a346079fe50_4724145dd5460719"; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Mailgun-Sid: WyI1YjNlZCIsICJxZW11LWNvbW1pdHNAbm9uZ251Lm9yZyIsICI0MGYiXQ== Sender: noreply@github.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 166.78.71.131 Subject: [Qemu-commits] [qemu/qemu] fb541c: kvm: Query KVM for available memory slots X-BeenThere: qemu-commits@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: GitHub List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Dec 2013 16:00:37 -0000 ----==_mimepart_52a346079fe50_4724145dd5460719 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: fb541ca59c8b55911821c9f794c3dbe5de9ba9d8 https://github.com/qemu/qemu/commit/fb541ca59c8b55911821c9f794c3dbe= 5de9ba9d8 Author: Alex Williamson Date: 2013-11-25 (Mon, 25 Nov 2013) Changed paths: M kvm-all.c Log Message: ----------- kvm: Query KVM for available memory slots KVM reports the number of available memory slots (KVM_CAP_NR_MEMSLOTS) using the extension interface. Both x86 and s390 implement this, ARM and powerpc do not yet enable it. Convert the static slots array to be dynamically allocated, supporting more slots when available. Default to 32 when KVM_CAP_NR_MEMSLOTS is not implemented. The motivation for this change is to support more assigned devices, where memory mapped PCI MMIO BARs typically take one slot each. Signed-off-by: Alex Williamson Reviewed-by: Thomas Huth Signed-off-by: Paolo Bonzini Commit: ef36fa1492e9105f3fa607b56edc63df513d7da1 https://github.com/qemu/qemu/commit/ef36fa1492e9105f3fa607b56edc63d= f513d7da1 Author: Marcelo Tosatti Date: 2013-11-25 (Mon, 25 Nov 2013) Changed paths: M exec.c M qemu-options.hx M vl.c Log Message: ----------- qemu: mempath: prefault pages manually (v4) v4: s/fail/failed/ (Peter Maydell) Signed-off-by: Paolo Bonzini Signed-off-by: Marcelo Tosatti Commit: aeca6e8d8b7dba78c3d1622463e238b773d9df13 https://github.com/qemu/qemu/commit/aeca6e8d8b7dba78c3d1622463e238b= 773d9df13 Author: Gerd Hoffmann Date: 2013-12-02 (Mon, 02 Dec 2013) Changed paths: M hw/i386/pc_piix.c M hw/i386/pc_q35.c Log Message: ----------- add pc-{i440fx,q35}-2.0 machine types Signed-off-by: Gerd Hoffmann Commit: 1442d3e6912d7ec88480099503cfa0aeaedf5634 https://github.com/qemu/qemu/commit/1442d3e6912d7ec88480099503cfa0a= eaedf5634 Author: Gerd Hoffmann Date: 2013-12-02 (Mon, 02 Dec 2013) Changed paths: M vl.c Log Message: ----------- add firmware to machine options This patch adds firmware to the machine options. -bios becomes a shortcut for -machine firmware=3D. Advantage is that the firmware can be specified via config file as -machine is parsed using QemuOpts and it is also possible to use different defaults for different machine types (via QEMUMachine->default_machine_opts). Signed-off-by: Gerd Hoffmann Commit: f287c41381efe172ff5dc62498e2afc83a9ab995 https://github.com/qemu/qemu/commit/f287c41381efe172ff5dc62498e2afc= 83a9ab995 Author: Marc-Andr=C3=A9 Lureau Date: 2013-12-02 (Mon, 02 Dec 2013) Changed paths: M include/block/coroutine.h M qemu-coroutine-lock.c Log Message: ----------- coroutine: remove qemu_co_queue_wait_insert_head qemu_co_queue_wait_insert_head() is unused in qemu code base now. Signed-off-by: Marc-Andr=C3=A9 Lureau Signed-off-by: Stefan Hajnoczi Commit: 7b6b145dbc62162df818dc2c5153defd0417c688 https://github.com/qemu/qemu/commit/7b6b145dbc62162df818dc2c5153def= d0417c688 Author: Marc-Andr=C3=A9 Lureau Date: 2013-12-02 (Mon, 02 Dec 2013) Changed paths: M include/block/coroutine.h Log Message: ----------- coroutine: remove unused CoQueue AioContext The AioContext ctx field is apparently unused in qemu codebase since 02ffb504485. Signed-off-by: Marc-Andr=C3=A9 Lureau Signed-off-by: Stefan Hajnoczi Commit: af057fe74092df2e7a576448ddbdc0daac1370bf https://github.com/qemu/qemu/commit/af057fe74092df2e7a576448ddbdc0d= aac1370bf Author: Fam Zheng Date: 2013-12-03 (Tue, 03 Dec 2013) Changed paths: M block/vmdk.c M tests/qemu-iotests/059 M tests/qemu-iotests/059.out Log Message: ----------- vmdk: Fix creating big description file The buffer for description file was 4096 which only covers a few hundred of extents. This changes the buffer to dynamic allocated with g_strdup_printf in order to support bigger cases. Signed-off-by: Fam Zheng Signed-off-by: Stefan Hajnoczi Commit: e9eecb5bf82a71564bf018fcbbfc6cda19cab6c2 https://github.com/qemu/qemu/commit/e9eecb5bf82a71564bf018fcbbfc6cd= a19cab6c2 Author: Paul Moore Date: 2013-12-03 (Tue, 03 Dec 2013) Changed paths: M qemu-seccomp.c Log Message: ----------- seccomp: add kill() to the syscall whitelist The kill() syscall is triggered with the following command: # qemu -sandbox on -monitor stdio \ -device intel-hda -device hda-duplex -vnc :0 The resulting syslog/audit message: # ausearch -m SECCOMP ---- time->Wed Nov 20 09:52:08 2013 type=3DSECCOMP msg=3Daudit(1384912328.482:6656): auid=3D0 uid=3D0 gid=3D= 0 ses=3D854 subj=3Dunconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=3D1208= 7 comm=3D"qemu-kvm" sig=3D31 syscall=3D62 compat=3D0 ip=3D0x7f7a1d2abc67 = code=3D0x0 # scmp_sys_resolver 62 kill Reported-by: CongLi Tested-by: CongLi Signed-off-by: Paul Moore Acked-by: Eduardo Otubo Commit: d51e9fe505f7c7b97762100dd0e42cef43c90524 https://github.com/qemu/qemu/commit/d51e9fe505f7c7b97762100dd0e42ce= f43c90524 Author: Paolo Bonzini Date: 2013-12-03 (Tue, 03 Dec 2013) Changed paths: M block.c Log Message: ----------- block: generalize BlockLimits handling to cover bdrv_aio_discard too bdrv_co_discard is only covering drivers which have a .bdrv_co_discard() implementation, but not those with .bdrv_aio_discard(). Not very nice, and easy to avoid. Suggested-by: Kevin Wolf Signed-off-by: Paolo Bonzini Reviewed-by: Peter Lieven Signed-off-by: Stefan Hajnoczi Commit: d20d9b7c6723d0123b7d60dd5557aa0a6599f471 https://github.com/qemu/qemu/commit/d20d9b7c6723d0123b7d60dd5557aa0= a6599f471 Author: Paolo Bonzini Date: 2013-12-03 (Tue, 03 Dec 2013) Changed paths: M block.c M include/block/block.h Log Message: ----------- block: add flags to BlockRequest This lets bdrv_co_do_rw receive flags, so that it can be used for zero writes. Signed-off-by: Paolo Bonzini Reviewed-by: Peter Lieven Signed-off-by: Stefan Hajnoczi Commit: 94d6ff21f48c8c98e6e9eef58cc6f6346c9dd851 https://github.com/qemu/qemu/commit/94d6ff21f48c8c98e6e9eef58cc6f63= 46c9dd851 Author: Paolo Bonzini Date: 2013-12-03 (Tue, 03 Dec 2013) Changed paths: M block.c M trace-events Log Message: ----------- block: add flags argument to bdrv_co_write_zeroes tracepoint Signed-off-by: Paolo Bonzini Reviewed-by: Peter Lieven Signed-off-by: Stefan Hajnoczi Commit: d5ef94d43da8c57a2d597efbdec3d9a54d97fdf7 https://github.com/qemu/qemu/commit/d5ef94d43da8c57a2d597efbdec3d9a= 54d97fdf7 Author: Paolo Bonzini Date: 2013-12-03 (Tue, 03 Dec 2013) Changed paths: M block.c M include/block/block.h M trace-events Log Message: ----------- block: add bdrv_aio_write_zeroes This will be used by the SCSI layer. Signed-off-by: Paolo Bonzini Reviewed-by: Peter Lieven Signed-off-by: Stefan Hajnoczi Commit: 7ce21016b69b512bf4777965a4292318f2bc7544 https://github.com/qemu/qemu/commit/7ce21016b69b512bf4777965a429231= 8f2bc7544 Author: Paolo Bonzini Date: 2013-12-03 (Tue, 03 Dec 2013) Changed paths: M block.c M block/raw-posix.c Log Message: ----------- block: handle ENOTSUP from discard in generic code Similar to write_zeroes, let the generic code receive a ENOTSUP for discard operations. Since bdrv_discard has advisory semantics, we can just swallow the error. Signed-off-by: Paolo Bonzini Reviewed-by: Peter Lieven Signed-off-by: Stefan Hajnoczi Commit: b8d71c09f31a9cae248d167dddc75c66d5135ff2 https://github.com/qemu/qemu/commit/b8d71c09f31a9cae248d167dddc75c6= 6d5135ff2 Author: Paolo Bonzini Date: 2013-12-03 (Tue, 03 Dec 2013) Changed paths: M block.c Log Message: ----------- block: make bdrv_co_do_write_zeroes stricter in producing aligned reque= sts Right now, bdrv_co_do_write_zeroes will only try to align the beginning of the request. However, it is simpler for many formats to expect the block layer to separate both the head *and* the tail. This makes sure that the format's bdrv_co_write_zeroes function will be called with aligned sector_num and nb_sectors for the bulk of the request. Signed-off-by: Paolo Bonzini Reviewed-by: Peter Lieven Signed-off-by: Stefan Hajnoczi Commit: 97b00e285119e611f500686f32f9bccffbb9126a https://github.com/qemu/qemu/commit/97b00e285119e611f500686f32f9bcc= ffbb9126a Author: Paolo Bonzini Date: 2013-12-03 (Tue, 03 Dec 2013) Changed paths: M block/vhdx.c M block/vpc.c Log Message: ----------- vpc, vhdx: add get_info Signed-off-by: Paolo Bonzini Reviewed-by: Peter Lieven Signed-off-by: Stefan Hajnoczi Commit: 95de6d7078b029b73708059a17cef20f332adcb7 https://github.com/qemu/qemu/commit/95de6d7078b029b73708059a17cef20= f332adcb7 Author: Paolo Bonzini Date: 2013-12-03 (Tue, 03 Dec 2013) Changed paths: M block/qcow2.c M block/qed.c M block/vdi.c M block/vhdx.c M block/vpc.c Log Message: ----------- block drivers: add discard/write_zeroes properties to bdrv_get_info imp= lementation Signed-off-by: Paolo Bonzini Reviewed-by: Peter Lieven Signed-off-by: Stefan Hajnoczi Commit: cffb1ec600de83f693a23578fc2f344c1af9b96f https://github.com/qemu/qemu/commit/cffb1ec600de83f693a23578fc2f344= c1af9b96f Author: Paolo Bonzini Date: 2013-12-03 (Tue, 03 Dec 2013) Changed paths: M block/qcow2.c M block/qed.c M block/vmdk.c Log Message: ----------- block drivers: expose requirement for write same alignment from formats= This will let misaligned but large requests use zero clusters. This is important because the cluster size is not guest visible. Signed-off-by: Paolo Bonzini Reviewed-by: Peter Lieven Signed-off-by: Stefan Hajnoczi Commit: 4b52498e62d02a30f780875f54431d1bad0bcabd https://github.com/qemu/qemu/commit/4b52498e62d02a30f780875f54431d1= bad0bcabd Author: Peter Lieven Date: 2013-12-03 (Tue, 03 Dec 2013) Changed paths: M block/iscsi.c Log Message: ----------- block/iscsi: remove .bdrv_has_zero_init since commit 3ac21627 the default value changed to 0. Signed-off-by: Peter Lieven Signed-off-by: Paolo Bonzini Signed-off-by: Stefan Hajnoczi Commit: 2af8a1a704a352bab2e9eaf803db0b3552e826d0 https://github.com/qemu/qemu/commit/2af8a1a704a352bab2e9eaf803db0b3= 552e826d0 Author: Peter Lieven Date: 2013-12-03 (Tue, 03 Dec 2013) Changed paths: M block/iscsi.c Log Message: ----------- block/iscsi: updated copyright added myself to reflect recent work on the iscsi block driver. Signed-off-by: Peter Lieven Signed-off-by: Paolo Bonzini Signed-off-by: Stefan Hajnoczi Commit: fa6252b0565526ec2347e248172f91771e0d9f47 https://github.com/qemu/qemu/commit/fa6252b0565526ec2347e248172f917= 71e0d9f47 Author: Paolo Bonzini Date: 2013-12-03 (Tue, 03 Dec 2013) Changed paths: M block/iscsi.c Log Message: ----------- block/iscsi: check WRITE SAME support differently depending on MAY_UNMA= P The current check is right for MAY_UNMAP=3D1. For MAY_UNMAP=3D0, just try and fall back to regular writes as soon as a WRITE SAME command fails. Signed-off-by: Paolo Bonzini Reviewed-by: Peter Lieven Signed-off-by: Stefan Hajnoczi Commit: 260a82e524b7f86c12b8e39d4c3f208af95645f7 https://github.com/qemu/qemu/commit/260a82e524b7f86c12b8e39d4c3f208= af95645f7 Author: Paolo Bonzini Date: 2013-12-03 (Tue, 03 Dec 2013) Changed paths: M block/raw-posix.c M trace-events Log Message: ----------- raw-posix: implement write_zeroes with MAY_UNMAP for files Writing zeroes to a file can be done by punching a hole if MAY_UNMAP is set. Note that in this case ENOTSUP is not ignored, but makes the block layer fall back to the generic implementation. Signed-off-by: Paolo Bonzini Signed-off-by: Stefan Hajnoczi Commit: d0b4503ed2d8713791c38839341b023f78d1a3d9 https://github.com/qemu/qemu/commit/d0b4503ed2d8713791c38839341b023= f78d1a3d9 Author: Paolo Bonzini Date: 2013-12-03 (Tue, 03 Dec 2013) Changed paths: M block/raw-posix.c Log Message: ----------- raw-posix: implement write_zeroes with MAY_UNMAP for block devices See the next commit for the description of the Linux kernel problem that is worked around in raw_open_common. Signed-off-by: Paolo Bonzini Signed-off-by: Stefan Hajnoczi Commit: 97a2ae34537882df34810d538ab1f51085499d2c https://github.com/qemu/qemu/commit/97a2ae34537882df34810d538ab1f51= 085499d2c Author: Paolo Bonzini Date: 2013-12-03 (Tue, 03 Dec 2013) Changed paths: M block/raw-aio.h M block/raw-posix.c Log Message: ----------- raw-posix: add support for write_zeroes on XFS and block devices The code is similar to the implementation of discard and write_zeroes with UNMAP. However, failure must be propagated up to block.c. The stale page cache problem can be reproduced as follows: # modprobe scsi-debug lbpws=3D1 lbprz=3D1 # ./qemu-io /dev/sdXX qemu-io> write -P 0xcc 0 2M qemu-io> write -z 0 1M qemu-io> read -P 0x00 0 512 Pattern verification failed at offset 0, 512 bytes qemu-io> read -v 0 512 00000000: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc .........= ....... ... # ./qemu-io --cache=3Dnone /dev/sdXX qemu-io> write -P 0xcc 0 2M qemu-io> write -z 0 1M qemu-io> read -P 0x00 0 512 qemu-io> read -v 0 512 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .........= ....... ... And similarly with discard instead of "write -z". Signed-off-by: Paolo Bonzini Signed-off-by: Stefan Hajnoczi Commit: e18d90c15bab0d47d8f30696058abfb78396081f https://github.com/qemu/qemu/commit/e18d90c15bab0d47d8f30696058abfb= 78396081f Author: Paolo Bonzini Date: 2013-12-03 (Tue, 03 Dec 2013) Changed paths: M tests/qemu-iotests/group Log Message: ----------- qemu-iotests: 033 is fast Signed-off-by: Paolo Bonzini Signed-off-by: Stefan Hajnoczi Commit: c5fd1fb038405ed13496761970b3b531f747a892 https://github.com/qemu/qemu/commit/c5fd1fb038405ed13496761970b3b53= 1f747a892 Author: Paolo Bonzini Date: 2013-12-03 (Tue, 03 Dec 2013) Changed paths: M hw/scsi/scsi-disk.c Log Message: ----------- scsi-disk: catch write protection errors in UNMAP This is the same that is already done for WRITE SAME. Signed-off-by: Paolo Bonzini Signed-off-by: Stefan Hajnoczi Commit: 823bd7391c96ba675f20fd6d952d1cb6e1ffb851 https://github.com/qemu/qemu/commit/823bd7391c96ba675f20fd6d952d1cb= 6e1ffb851 Author: Paolo Bonzini Date: 2013-12-03 (Tue, 03 Dec 2013) Changed paths: M hw/scsi/scsi-disk.c Log Message: ----------- scsi-disk: reject ANCHOR=3D1 for UNMAP and WRITE SAME commands Since we report ANC_SUP=3D=3D0 in VPD page B2h, we need to return an error (ILLEGAL REQUEST/INVALID FIELD IN CDB) for all WRITE SAME requests with ANCHOR=3D=3D1. Inspired by a similar patch to the LIO in-kernel target. Signed-off-by: Paolo Bonzini Signed-off-by: Stefan Hajnoczi Commit: 84f94a9a82487639bc87d5f09f938c9f6a61f79a https://github.com/qemu/qemu/commit/84f94a9a82487639bc87d5f09f938c9= f6a61f79a Author: Paolo Bonzini Date: 2013-12-03 (Tue, 03 Dec 2013) Changed paths: M hw/scsi/scsi-disk.c Log Message: ----------- scsi-disk: correctly implement WRITE SAME Fetch the data to be written from the input buffer. If it is all zeroes,= we can use the write_zeroes call (possibly with the new MAY_UNMAP flag). Otherwise, do as many write cycles as needed, writing 512k at a time. Strictly speaking, this is still incorrect because a zero cluster should only be written if the MAY_UNMAP flag is set. But this is a bug in qcow2= and the other formats, not in the SCSI code. Signed-off-by: Paolo Bonzini Signed-off-by: Stefan Hajnoczi Commit: 66f6b8143ba0fd873a0b4b4b3da41cf604bc5a11 https://github.com/qemu/qemu/commit/66f6b8143ba0fd873a0b4b4b3da41cf= 604bc5a11 Author: Max Reitz Date: 2013-12-04 (Wed, 04 Dec 2013) Changed paths: M block.c Log Message: ----------- block: Close backing file early in bdrv_img_create Leaving the backing file open although it is not needed anymore can cause problems if it is opened through a block driver which allows exclusive access only and if the create function of the block driver used for the top image (the one being created) tries to close and reopen the image file (which will include opening the backing file a second time). In particular, this will happen with a backing file opened through qemu-nbd and using qcow2 as the top image file format (which reopens the image to flush it to disk). In addition, the BlockDriverState in bdrv_img_create() is used for the backing file only; it should therefore be made local to the respective block. Signed-off-by: Max Reitz Reviewed-by: Kevin Wolf Reviewed-by: Wenchao Xia Signed-off-by: Stefan Hajnoczi Commit: f8413b3c23b08a547ce18609acc6fae5fd04ed5c https://github.com/qemu/qemu/commit/f8413b3c23b08a547ce18609acc6fae= 5fd04ed5c Author: Kevin Wolf Date: 2013-12-04 (Wed, 04 Dec 2013) Changed paths: M block/qcow2.c Log Message: ----------- qcow2: Zero-initialise first cluster for new images Strictly speaking, this is only required for has_zero_init() =3D=3D false= , but it's easy enough to just do a cluster-aligned write that is padded with zeros after the header. This fixes that after 'qemu-img create' header extensions are attempted to be parsed that are really just random leftover data. Cc: qemu-stable@nongnu.org Signed-off-by: Kevin Wolf Reviewed-by: Fam Zheng Reviewed-by: Paolo Bonzini Signed-off-by: Stefan Hajnoczi Commit: 3baa84491a43c6ba4909cbff69a9f045df9f4879 https://github.com/qemu/qemu/commit/3baa84491a43c6ba4909cbff69a9f04= 5df9f4879 Author: Fam Zheng Date: 2013-12-04 (Wed, 04 Dec 2013) Changed paths: M tests/qemu-iotests/check M tests/qemu-iotests/common Log Message: ----------- qemu-iotests: Add "-c " option The option sets cache mode used in the tests. "-nocache" is changed to an alias to "-c none", and internally passes "-t none" to qemu-io. Python scripts will make use of option this in the next commit. Signed-off-by: Fam Zheng Reviewed-by: Wenchao Xia Signed-off-by: Stefan Hajnoczi Commit: 58cc2ae1e3f9f8cd6830a0af116c51c3355710d3 https://github.com/qemu/qemu/commit/58cc2ae1e3f9f8cd6830a0af116c51c= 3355710d3 Author: Fam Zheng Date: 2013-12-04 (Wed, 04 Dec 2013) Changed paths: M tests/qemu-iotests/iotests.py Log Message: ----------- qemu-iotests: Honour cache mode in iotests.py This will allow overriding cache mode from the "-c mode" option. Signed-off-by: Fam Zheng Reviewed-by: Wenchao Xia Signed-off-by: Stefan Hajnoczi Commit: f210a83c1f809516acd9179d02d8c986c5db24cd https://github.com/qemu/qemu/commit/f210a83c1f809516acd9179d02d8c98= 6c5db24cd Author: Fam Zheng Date: 2013-12-04 (Wed, 04 Dec 2013) Changed paths: M tests/qemu-iotests/026 M tests/qemu-iotests/039 M tests/qemu-iotests/052 M tests/qemu-iotests/common.rc Log Message: ----------- qemu-iotests: Add _default_cache_mode and _supported_cache_modes This replaces _unsupported_qemu_io_options and check for support of current cache mode, and allow to provide a default if user didn't specify. Signed-off-by: Fam Zheng Reviewed-by: Wenchao Xia Signed-off-by: Stefan Hajnoczi Commit: e14fb91312b27754aa30e78d4bb4ad5cb183b646 https://github.com/qemu/qemu/commit/e14fb91312b27754aa30e78d4bb4ad5= cb183b646 Author: Fam Zheng Date: 2013-12-04 (Wed, 04 Dec 2013) Changed paths: M tests/qemu-iotests/common Log Message: ----------- qemu-iotests: Change default cache mode to "writeback" So that the tests can run faster. Signed-off-by: Fam Zheng Reviewed-by: Wenchao Xia Signed-off-by: Stefan Hajnoczi Commit: 236c796432bed70e442aa617807a528c18b1ebd3 https://github.com/qemu/qemu/commit/236c796432bed70e442aa617807a528= c18b1ebd3 Author: Fam Zheng Date: 2013-12-04 (Wed, 04 Dec 2013) Changed paths: M tests/qemu-iotests/common Log Message: ----------- qemu-iotests: Clean up spaces in usage output Whitespace changes to align columns. Signed-off-by: Fam Zheng Reviewed-by: Benoit Canet Signed-off-by: Stefan Hajnoczi Commit: 34602dd6424c4f1cc414ba672f4f430182b5d9f2 https://github.com/qemu/qemu/commit/34602dd6424c4f1cc414ba672f4f430= 182b5d9f2 Author: Fam Zheng Date: 2013-12-04 (Wed, 04 Dec 2013) Changed paths: M tests/qemu-iotests/048 M tests/qemu-iotests/048.out A tests/qemu-iotests/074 A tests/qemu-iotests/074.out M tests/qemu-iotests/group Log Message: ----------- qemu-iotests: Split qcow2 only cases in 048 Format "raw" doesn't always work on certain file systems (e.g. tmpfs). Use qcow2 to make the allocation status explicit and split into a new case. [Resolved merge conflict due to "qemu-io> " prompt filter, added 074 to group file, and fixed up s/048/074/ copy-paste mistake. --Stefan] Signed-off-by: Fam Zheng Reviewed-by: Wenchao Xia Signed-off-by: Stefan Hajnoczi Commit: 7b4c4781e390a041fa0ef70817678f1b97fc6db6 https://github.com/qemu/qemu/commit/7b4c4781e390a041fa0ef70817678f1= b97fc6db6 Author: Wenchao Xia Date: 2013-12-04 (Wed, 04 Dec 2013) Changed paths: M block/qcow2-snapshot.c M block/qcow2.h M block/snapshot.c M include/block/block_int.h M include/block/snapshot.h M qemu-img.c Log Message: ----------- snapshot: distinguish id and name in load_tmp Since later this function will be used so improve it. The only caller of = it now is qemu-img, and it is not impacted by introduce function bdrv_snapshot_load_tmp_by_id_or_name() that call bdrv_snapshot_load_tmp()= twice to keep old search logic. bdrv_snapshot_load_tmp_by_id_or_name() re= turn int to let caller know the errno, and errno will be used later. Also fix a typo in comments of bdrv_snapshot_delete(). Signed-off-by: Wenchao Xia Signed-off-by: Stefan Hajnoczi Commit: 8c116b0e4141400f8d43a7e6dac8ff3adcc8aadd https://github.com/qemu/qemu/commit/8c116b0e4141400f8d43a7e6dac8ff3= adcc8aadd Author: Wenchao Xia Date: 2013-12-04 (Wed, 04 Dec 2013) Changed paths: M block/snapshot.c M include/block/snapshot.h M qemu-nbd.c M qemu-nbd.texi Log Message: ----------- qemu-nbd: support internal snapshot export Now it is possible to directly export an internal snapshot, which can be used to probe the snapshot's contents without qemu-img convert. Signed-off-by: Wenchao Xia Signed-off-by: Stefan Hajnoczi Commit: 9c468a013fd0b0eb6154f8c5cfd2b1d498a86113 https://github.com/qemu/qemu/commit/9c468a013fd0b0eb6154f8c5cfd2b1d= 498a86113 Author: Wenchao Xia Date: 2013-12-04 (Wed, 04 Dec 2013) Changed paths: A tests/qemu-iotests/058 A tests/qemu-iotests/058.out M tests/qemu-iotests/check M tests/qemu-iotests/common.rc M tests/qemu-iotests/group Log Message: ----------- qemu-iotests: add 058 internal snapshot export with qemu-nbd case This case can't run when IMGPROTO=3Dnbd, since it needs to create some internal snapshot which would fail for EOF write request, even when TEST_IMG is exported with "-f raw" in common.rc, so set _supported_proto to file. _require_command() is changed to tip what util is missing, instead of printing a blank. Signed-off-by: Wenchao Xia Signed-off-by: Stefan Hajnoczi Commit: ef80654d0dc1edf2dd2a51feff8cc3e1102a6583 https://github.com/qemu/qemu/commit/ef80654d0dc1edf2dd2a51feff8cc3e= 1102a6583 Author: Wenchao Xia Date: 2013-12-04 (Wed, 04 Dec 2013) Changed paths: M qemu-img-cmds.hx M qemu-img.c M qemu-img.texi Log Message: ----------- qemu-img: add -l for snapshot in convert Now qemu-img convert have similar options as qemu-nbd for internal snapshot. Signed-off-by: Wenchao Xia Signed-off-by: Stefan Hajnoczi Commit: f33d287393d58f5513d25b097310ed4706fbf5b5 https://github.com/qemu/qemu/commit/f33d287393d58f5513d25b097310ed4= 706fbf5b5 Author: Wenchao Xia Date: 2013-12-04 (Wed, 04 Dec 2013) Changed paths: M tests/qemu-iotests/058 M tests/qemu-iotests/058.out Log Message: ----------- qemu-iotests: add test for snapshot in qemu-img convert Signed-off-by: Wenchao Xia Signed-off-by: Stefan Hajnoczi Commit: 4323fdcf9451deaaf48468afa91b8bcaeac00cff https://github.com/qemu/qemu/commit/4323fdcf9451deaaf48468afa91b8bc= aeac00cff Author: Wenchao Xia Date: 2013-12-04 (Wed, 04 Dec 2013) Changed paths: M qemu-nbd.c M qemu-nbd.texi Log Message: ----------- qemu-nbd: add doc for option -f Signed-off-by: Wenchao Xia Signed-off-by: Stefan Hajnoczi Commit: 13c28af87a5541a9b09a59502b876a1725fb502d https://github.com/qemu/qemu/commit/13c28af87a5541a9b09a59502b876a1= 725fb502d Author: Peter Lieven Date: 2013-12-05 (Thu, 05 Dec 2013) Changed paths: M qemu-img.c Log Message: ----------- qemu-img: add support for skipping zeroes in input during convert we currently do not check if a sector is allocated during convert. This means if a sector is unallocated that we allocate a bounce buffer of zeroes, find out its zero later and do not write it in the best case. In the worst case this can lead to reading blocks from a raw device (like iSCSI) altough we could easily know via get_block_status that they are zero and simply skip them. This patch also fixes the progress output not being at 100% after a successful conversion. Signed-off-by: Peter Lieven Reviewed-by: Paolo Bonzini Signed-off-by: Stefan Hajnoczi Commit: 049b09825fe479f4caa013ccde0ff87fc9d82856 https://github.com/qemu/qemu/commit/049b09825fe479f4caa013ccde0ff87= fc9d82856 Author: Peter Lieven Date: 2013-12-05 (Thu, 05 Dec 2013) Changed paths: M qemu-img.c Log Message: ----------- qemu-img: fix usage instruction for qemu-img convert Reviewed-by: Eric Blake Reviewed-by: Paolo Bonzini Signed-off-by: Peter Lieven Signed-off-by: Stefan Hajnoczi Commit: 1c0704a556dbb004a3b82791779760f418053951 https://github.com/qemu/qemu/commit/1c0704a556dbb004a3b82791779760f= 418053951 Author: Peter Lieven Date: 2013-12-05 (Thu, 05 Dec 2013) Changed paths: M block/iscsi.c Log Message: ----------- block/iscsi: set bdi->cluster_size this patch aims to set bdi->cluster_size to the internal page size of the iscsi target so that enabled callers can align requests properly. Reviewed-by: Paolo Bonzini Signed-off-by: Peter Lieven Signed-off-by: Stefan Hajnoczi Commit: 7337acaf219fc988e7ba91780b11770ff95169b4 https://github.com/qemu/qemu/commit/7337acaf219fc988e7ba91780b11770= ff95169b4 Author: Peter Lieven Date: 2013-12-05 (Thu, 05 Dec 2013) Changed paths: M include/block/block_int.h Log Message: ----------- block: add opt_transfer_length to BlockLimits Reviewed-by: Paolo Bonzini Signed-off-by: Peter Lieven Signed-off-by: Stefan Hajnoczi Commit: 7572ddc8db114d8c437a97ca3eaedab397f66cda https://github.com/qemu/qemu/commit/7572ddc8db114d8c437a97ca3eaedab= 397f66cda Author: Peter Lieven Date: 2013-12-05 (Thu, 05 Dec 2013) Changed paths: M block/iscsi.c Log Message: ----------- block/iscsi: set bs->bl.opt_transfer_length Reviewed-by: Paolo Bonzini Signed-off-by: Peter Lieven Signed-off-by: Stefan Hajnoczi Commit: f2521c9023067a007d18b844fe7639c1c5b6f2ac https://github.com/qemu/qemu/commit/f2521c9023067a007d18b844fe7639c= 1c5b6f2ac Author: Peter Lieven Date: 2013-12-05 (Thu, 05 Dec 2013) Changed paths: M qemu-img.c Log Message: ----------- qemu-img: dynamically adjust iobuffer size during convert since the convert process is basically a sync operation it might be benificial in some case to change the hardcoded I/O buffer size to a greater value. This patch increases the I/O buffer size if the output driver advertises an optimal transfer length or discard alignment that is greater than the default buffer size of 2M. Reviewed-by: Paolo Bonzini Signed-off-by: Peter Lieven Signed-off-by: Stefan Hajnoczi Commit: 33f373d7c56350fd2ec3e31f4f2c46cb49464911 https://github.com/qemu/qemu/commit/33f373d7c56350fd2ec3e31f4f2c46c= b49464911 Author: Liu Jinsong Date: 2013-12-05 (Thu, 05 Dec 2013) Changed paths: M target-i386/cpu.c Log Message: ----------- target-i386: fix cpuid leaf 0x0d Fix cpuid leaf 0x0d which incorrectly parsed eax and ebx. However, before this patch the CPUID worked fine -- the .offset field contained the size _and_ was stored in the register that is supposed to hold the size (eax), and likewise the .size field contained the offset _and_ was stored in the register trhat is supposed to hold the offset (ebx). Signed-off-by: Liu Jinsong Signed-off-by: Paolo Bonzini Commit: 11938d7863203d5ca523865761cac6130783c858 https://github.com/qemu/qemu/commit/11938d7863203d5ca523865761cac61= 30783c858 Author: Gerd Hoffmann Date: 2013-12-05 (Thu, 05 Dec 2013) Changed paths: M roms/seabios Log Message: ----------- roms: update seabios submodule to 31b8b4eea9d9ad58a73b22a6060d3ac1c419c= 26d Updates seabios to git master snapshot. seabios is in freeze now, update to final 1.7.4 will follow later this year. Summary of major changes: * Support for acpi table loading from qemu. * Support for the xhci host adapter. * Support for the pvscsi HBA. * Various minor bug fixes. * Lots of cleanups. Full shortlog since 1.7.3 (note that some of these changes have been cherry-picked into 1.7.3-stable): Evgeny Budilovsky (1): Add pvscsi boot support Gerd Hoffmann (27): coreboot: add cbmem console support Add CONFIG_DEBUG_COREBOOT config option apm: fix shutdown ahci: add missing check for allocation failure bochsvga: fallback to stdvga if dispi interface isn't present Add generic qemu detection Drop coreboot qemu detection Add qemu detection to csm uas: add (temporary) superspeed stopgap usb: add usb_update_pipe() usb: add xhci support fix buildversion.sh build: simplify cross builds build: create output dirs in do-kconfig build: explicitly set ROM size Add qemu_cfg_e820 function. Add support for etc/e820 fw_cfg file pci: don't reorder entries when moving to 64bit list pci: don't map usb host adapters above 4G pci: align 64bit pci regions to 1G pci: tweak + comment minimum allocations pci: log pci windows pci: map 64-bit BARs at location provided by emulator ahci: zap real mode macros ahci: remote some parentheses ahci: alloc structs in high memory add hw/serialio.c to SRC32SEG Jonathan A. Kollasch (1): vgahooks: add SM720 VGA BIOS hooks for WIN Enterprises MB-60470 Kevin O'Connor (80): Fix USB EHCI detection that was broken in hlist conversion of PCIDe= vices. Update README to include info on VARLOW variables. PIC code cleanups. Move internal timer code from clock.c to a new file timer.c. Don't pass khz to pmtimer_setup - it's always PM_TIMER_FREQUENCY. Add helper functions to convert timer irqs to milliseconds. Improve accuracy of internal timers. Rename cpu_khz to TimerKHz. Shift CPU TSC down to reduce need for 64bit variables. Rename check_timer() function (and similar) to irqtimer_check(). Rename check_tsc() (and similar) to timer_check() and use u32. Separate out timer setup code. Unify pmtimer_read() and pittimer_read() code. Default unused UMB areas to be read-only. Add missing mathcp_setup() call to CSM code. Fix bug in CBFS file walking with compressed files. Support custom boot menu prompt and custom boot menu key. Minor cleanups to smm assembler. Add config option to support memory allocations in 9-segment. Minor - no need to declare MaxCountCPUs as VARFSEG. Minor - simplify rom_reserve(). Rename tools/ directory to scripts/ directory. Update kconfig to latest version. build: Don't use vpath makefile directive. Move code centered around specific hardware devices to src/hw/ Move code cenetered around firmware initialization to src/fw/ build: Reorder makefile source list to group like files together. README: Update readme to note scripts/ directory rename and vgasrc/= directory. vgabios: Rename stdvga_bpp_factor to stdvga_vram_ratio. vgabios: Limit the range of the VBE number of "pages" parameter. readme: Minor - fix typo in readme. Split x86 specific functions out of util.c/h to new files x86.c/h. Move keyboard calling code from util.c to boot.c. Rename util.c to string.c and introduce string.h. build: Perform compile checking on vgasrc code. Move stacks.c definitions from util.h to new file stacks.h. Move romfile definitions from util.h to new file romfile.h. Move malloc code from pmm.c to new files malloc.c and malloc.h. Move function definitions for output.c from util.h to new file outp= ut.h. Move definition of struct segoff_s from farptr.h to types.h. build: Fix import of gcc dependency files. Move pirtable definitions from hw/pci.h to std/pirtable.h and util.= h. Move optionroms.h to std/optionrom.h and util.h. Move vbe.h to std/vbe.h. Move fw/LegacyBios.h to std/LegacyBios.h and remove csm.h. Move fw/smbios.h to std/smbios.h. Move fw/mptable.h to std/mptable.h. Move fw/acpi.h to std/acpi.h. Move pnpbios definition to new file std/pnpbios.h. Move pmm definitions to new file std/pmm.h. Split disk.h into block.h and std/disk.h. Move standard bda type info from biosvar.h to std/bda.h. Merge bmp.h, boot.h, jpeg.h, and post.h into util.h. Sort the sections of util.h. Move PIT setup from clock.c to hw/timer.c. Rename hw/cmos.h to hw/rtc.h and copy RTC code from clock.c to hw/r= tc.c. Move dma code to new file hw/dma.c. Remove ioport.h; disperse its contents to other header files. Minor - update file comments in src/malloc.c. Rename fields of 'struct chs_s' and use in floppy lba2chs(). Rearrange stack_hop_back() call in wait_irq, check_irqs, and _farca= ll16. Minor - move call16 assembler in romlayout.S. Make __call16 use C calling convention and support two passed param= eters. Update _farcall16() to pass segment of callregs explicitly. Support call16() calls after entering 32bit mode from call32(). Run ahci code entirely in 32bit mode. Build different final files for QEMU, coreboot, and CSM. Convert op->drive_g from a 16bit pointer to a 32 bit "GLOBALFLAT" p= ointer. megasas: Don't attempt to access 'struct pci_device' at runtime. Minor - eliminate the SET_GLOBAL macro. Move low-level hardware writing from output.c to new file hw/serial= io.c. vgabios: Load the DAC palette in "packed" modes on Cirrus and Bochs= VGA. vgabios: Support custom fonts in vga framebuffer text writing. vgabios: Add bochsvga "HDTV" resolutions. vgabios: Avoid possible divide by zero in bochsvga_set_displaystart= . vgabios: Work around lack of support for "calll" in x86emu emulatio= n. Minor - update file comment on bootsplash.c. vgabios: Support allocating an extra stack for vgabios calls and de= fault on. vgabios: Move initialization code to new file vgainit.c. floppy: Minor - add warnings if timeouts occur. Michael S. Tsirkin (6): acpi: sync FADT flags from PIIX4 to Q35 acpi_extract.py: document DEVICE directives biostables: support looking up RSDP romfile_loader: utility to patch in-memory ROM files acpi: load and link tables through romfile loader acpi: strip compiler info in built-in DSDT if any Paul Menzel (2): ACPI DSDT: Make control method `IQCR` serialized hw/usb-xhci.c: Code refactoring to not override initializers in `sp= eed_from_xhci[16]` Signed-off-by: Gerd Hoffmann Commit: 94e68caaa089f90f5210435c7e07e97701c98ee5 https://github.com/qemu/qemu/commit/94e68caaa089f90f5210435c7e07e97= 701c98ee5 Author: Gerd Hoffmann Date: 2013-12-05 (Thu, 05 Dec 2013) Changed paths: M roms/Makefile R roms/config.seabios A roms/config.seabios-128k A roms/config.seabios-256k Log Message: ----------- roms: build two seabios binaries Adding xhci support to seabios made it jump over the 128k line. Changing the bios size breaks migration, so we have to keep a 128k seabios binary for old machine types. New machine types can use a large 256k bios which should be big enougth for a while. This patch updates the seabios build process to build seabios twice, once full featured and once with xen and xhci turned off so the resulting binary is small enougth to fit into 128k. Signed-off-by: Gerd Hoffmann Commit: 07403a5a0319d1c9783ea7da13782c8835a42cc9 https://github.com/qemu/qemu/commit/07403a5a0319d1c9783ea7da13782c8= 835a42cc9 Author: Gerd Hoffmann Date: 2013-12-05 (Thu, 05 Dec 2013) Changed paths: M roms/Makefile Log Message: ----------- roms: enable seabios cross builds Signed-off-by: Gerd Hoffmann Commit: 385724e7887670e17865d97cd8106a235f113faa https://github.com/qemu/qemu/commit/385724e7887670e17865d97cd8106a2= 35f113faa Author: Gerd Hoffmann Date: 2013-12-05 (Thu, 05 Dec 2013) Changed paths: M pc-bios/acpi-dsdt.aml A pc-bios/bios-256k.bin M pc-bios/bios.bin M pc-bios/q35-acpi-dsdt.aml Log Message: ----------- roms: update seabios binaries Signed-off-by: Gerd Hoffmann Commit: 6eefccc0bb9c34051b1e21880fc3a1c1c8686edd https://github.com/qemu/qemu/commit/6eefccc0bb9c34051b1e21880fc3a1c= 1c8686edd Author: Gerd Hoffmann Date: 2013-12-05 (Thu, 05 Dec 2013) Changed paths: M pc-bios/vgabios-cirrus.bin M pc-bios/vgabios-qxl.bin M pc-bios/vgabios-stdvga.bin M pc-bios/vgabios-vmware.bin M pc-bios/vgabios.bin Log Message: ----------- roms: update vgabios binaries This also switches from lgplvgabios to seavgabios. Signed-off-by: Gerd Hoffmann Commit: bcf2b7d2af7c54bb42be1229df9e78ba7d08d2a7 https://github.com/qemu/qemu/commit/bcf2b7d2af7c54bb42be1229df9e78b= a7d08d2a7 Author: Gerd Hoffmann Date: 2013-12-05 (Thu, 05 Dec 2013) Changed paths: M hw/i386/pc_piix.c M hw/i386/pc_q35.c Log Message: ----------- pc: switch 2.0 machine types to large seabios binary Signed-off-by: Gerd Hoffmann Commit: 24f833cd43dbfb5f8ae99e8a6d3691671622d3ea https://github.com/qemu/qemu/commit/24f833cd43dbfb5f8ae99e8a6d36916= 71622d3ea Author: Peter Lieven Date: 2013-12-06 (Fri, 06 Dec 2013) Changed paths: M qemu-img.c Log Message: ----------- qemu-img: round down request length to an aligned sector this patch shortens requests to end at an aligned sector so that the next request starts aligned. [Squashed Peter's fix for bdrv_get_info() failure discussed on the mailing list. --Stefan] Reviewed-by: Paolo Bonzini Signed-off-by: Peter Lieven Signed-off-by: Stefan Hajnoczi Commit: 405889820bcd5c2abf4eb70598e96f525f862c0f https://github.com/qemu/qemu/commit/405889820bcd5c2abf4eb70598e96f5= 25f862c0f Author: Peter Lieven Date: 2013-12-06 (Fri, 06 Dec 2013) Changed paths: M qemu-img.c Log Message: ----------- qemu-img: decrease progress update interval on convert when doing very large jobs updating the progress only every 2% is too rare. Signed-off-by: Peter Lieven Signed-off-by: Stefan Hajnoczi Commit: ac95acdb8e0876fa489bd31a48e8ecd6ef901d67 https://github.com/qemu/qemu/commit/ac95acdb8e0876fa489bd31a48e8ecd= 6ef901d67 Author: Hu Tao Date: 2013-12-06 (Fri, 06 Dec 2013) Changed paths: M block/qcow2-cluster.c M block/qcow2-refcount.c Log Message: ----------- qcow2: use start_of_cluster() and offset_into_cluster() everywhere Signed-off-by: Hu Tao Reviewed-by: Fam Zheng Signed-off-by: Stefan Hajnoczi Commit: 0b06ef3bdd17742ae50c0662d3fe8ed944648890 https://github.com/qemu/qemu/commit/0b06ef3bdd17742ae50c0662d3fe8ed= 944648890 Author: Stefan Hajnoczi Date: 2013-12-06 (Fri, 06 Dec 2013) Changed paths: M block.c Log Message: ----------- block: clean up bdrv_drain_all() throttling comments Since cc0681c45430a1f1a4c2d06e9499b7775afc9a18 ("block: Enable the new throttling code in the block layer.") bdrv_drain_all() no longer spins. The code used to look as follows: do { busy =3D qemu_aio_wait(); /* FIXME: We do not have timer support here, so this is effectively= * a busy wait. */ QTAILQ_FOREACH(bs, &bdrv_states, list) { while (qemu_co_enter_next(&bs->throttled_reqs)) { busy =3D true; } } } while (busy); Note that throttle requests are kicked but I/O throttling limits are still in effect. The loop spins until the vm_clock time allows the request to make progress and complete. The new throttling code introduced bdrv_start_throttled_reqs(). This function not only kicks throttled requests but also temporarily disables throttling so requests can run. The outdated FIXME comment can be removed. Also drop the busy =3D true assignment since we overwrite it immediately afterwards. Reviewed-by: Alex Bligh Signed-off-by: Stefan Hajnoczi Commit: d3fa923044321b2ccc12bbdedd582d2c49d958aa https://github.com/qemu/qemu/commit/d3fa923044321b2ccc12bbdedd582d2= c49d958aa Author: Stefan Hajnoczi Date: 2013-12-06 (Fri, 06 Dec 2013) Changed paths: M aio-posix.c M aio-win32.c M tests/test-aio.c Log Message: ----------- aio: make aio_poll(ctx, true) block with no fds This patch drops a special case where aio_poll(ctx, true) returns false instead of blocking if no file descriptors are waiting on I/O. Now it is possible to block in aio_poll() to wait for aio_notify(). This change eliminates busy waiting. bdrv_drain_all() used to rely on busy waiting to completed throttled I/O requests but this is no longer required so we can simplify aio_poll(). Note that aio_poll() still returns false when aio_notify() was used. In other words, stopping a blocking aio_poll() wait is not considered making progress. Adjust test-aio /aio/bh/callback-delete/one which assumed aio_poll(ctx, true) would immediately return false instead of blocking. Reviewed-by: Alex Bligh Signed-off-by: Stefan Hajnoczi Commit: ac9524dc55dc32e492ac3e6fbc9785be7168f8a2 https://github.com/qemu/qemu/commit/ac9524dc55dc32e492ac3e6fbc9785b= e7168f8a2 Author: Stefan Hajnoczi Date: 2013-12-06 (Fri, 06 Dec 2013) Changed paths: M tests/qemu-iotests/051.out M tests/qemu-iotests/common.filter Log Message: ----------- qemu-iotests: filter QEMU monitor \r\n SMTP does not preserve newlines. This is normally not a problem if the email body uses DOS or UNIX newlines consistently. In 051.out we mix UNIX newlines with DOS newlines (since QEMU monitor output uses \r\n). This patch filters the QEMU monitor output so the golden master file uses UNIX newlines exclusively. The result is that patches touching 051.out will apply cleanly without mangling newlines after this commit. Signed-off-by: Stefan Hajnoczi Commit: bf63839ffa2d0eebb1eb1706022f46e93b6fec08 https://github.com/qemu/qemu/commit/bf63839ffa2d0eebb1eb1706022f46e= 93b6fec08 Author: Alex Williamson Date: 2013-12-06 (Fri, 06 Dec 2013) Changed paths: M linux-headers/asm-arm/kvm.h M linux-headers/asm-powerpc/epapr_hcalls.h M linux-headers/asm-powerpc/kvm.h M linux-headers/asm-x86/hyperv.h M linux-headers/asm-x86/kvm.h M linux-headers/linux/kvm.h Log Message: ----------- linux-headers: Update from v3.13-rc3 Update to tag v3.13-rc3 (374b105797c3d4f29c685f3be535c35f5689b30e) Signed-off-by: Alex Williamson Commit: 5b49ab188ff0339aa3097ce7f5309f1306092f9e https://github.com/qemu/qemu/commit/5b49ab188ff0339aa3097ce7f5309f1= 306092f9e Author: Alex Williamson Date: 2013-12-06 (Fri, 06 Dec 2013) Changed paths: M hw/misc/vfio.c Log Message: ----------- vfio-pci: Make use of new KVM-VFIO device Add and remove groups from the KVM virtual VFIO device as we make use of them. This allows KVM to optimize for performance and correctness based on properties of the group. Signed-off-by: Alex Williamson Commit: 96eeeba0db38b856eb2cae0e4a2a620d8d65771a https://github.com/qemu/qemu/commit/96eeeba0db38b856eb2cae0e4a2a620= d8d65771a Author: Alex Williamson Date: 2013-12-06 (Fri, 06 Dec 2013) Changed paths: M hw/misc/vfio.c Log Message: ----------- vfio-pci: Fix Nvidia MSI ACK through 0x88000 quirk When MSI is enabled on Nvidia GeForce cards the driver seems to acknowledge the interrupt by writing a 0xff byte to the MSI capability ID register using the PCI config space mirror at offset 0x88000 from BAR0. Without this, the device will only fire a single interrupt. VFIO handles the PCI capability ID/next registers as virtual w/o write support, so any write through config space is currently dropped. Add a check for this and allow the write through the BAR window. The registers are read-only anyway. Signed-off-by: Alex Williamson Commit: b3ebc10c373ed5922d4bdb5076fd0e9fd7ff8056 https://github.com/qemu/qemu/commit/b3ebc10c373ed5922d4bdb5076fd0e9= fd7ff8056 Author: Alex Williamson Date: 2013-12-06 (Fri, 06 Dec 2013) Changed paths: M hw/misc/vfio.c Log Message: ----------- vfio-pci: Add debug config options to disable MSI/X KVM support It's sometimes useful to be able to verify interrupts are passing through correctly. Signed-off-by: Alex Williamson Commit: 3e40ba0faf0822fa78336fe6cd9d677ea9b14f1b https://github.com/qemu/qemu/commit/3e40ba0faf0822fa78336fe6cd9d677= ea9b14f1b Author: Alex Williamson Date: 2013-12-06 (Fri, 06 Dec 2013) Changed paths: M hw/misc/vfio.c Log Message: ----------- vfio-pci: Release all MSI-X vectors when disabled We were relying on msix_unset_vector_notifiers() to release all the vectors when we disable MSI-X, but this only happens when MSI-X is still enabled on the device. Perform further cleanup by releasing any remaining vectors listed as in-use after this call. This caused a leak of IRQ routes on hotplug depending on how the guest OS prepared the device for removal. Signed-off-by: Alex Williamson Cc: qemu-stable@nongnu.org Commit: 2a576ee6e36924bb3c3e6690e9ca35a9942e0634 https://github.com/qemu/qemu/commit/2a576ee6e36924bb3c3e6690e9ca35a= 9942e0634 Author: Anthony Liguori Date: 2013-12-07 (Sat, 07 Dec 2013) Changed paths: M qemu-seccomp.c Log Message: ----------- Merge remote-tracking branch 'otubo/seccomp' into staging # By Paul Moore # Via Eduardo Otubo * otubo/seccomp: seccomp: add kill() to the syscall whitelist Message-id: 1386075077-3240-1-git-send-email-otubo@linux.vnet.ibm.com Signed-off-by: Anthony Liguori Commit: 3c88da3c243ff7b452026e207cbba853123250cc https://github.com/qemu/qemu/commit/3c88da3c243ff7b452026e207cbba85= 3123250cc Author: Anthony Liguori Date: 2013-12-07 (Sat, 07 Dec 2013) Changed paths: M hw/i386/pc_piix.c M hw/i386/pc_q35.c M pc-bios/acpi-dsdt.aml A pc-bios/bios-256k.bin M pc-bios/bios.bin M pc-bios/q35-acpi-dsdt.aml M pc-bios/vgabios-cirrus.bin M pc-bios/vgabios-qxl.bin M pc-bios/vgabios-stdvga.bin M pc-bios/vgabios-vmware.bin M pc-bios/vgabios.bin M roms/Makefile R roms/config.seabios A roms/config.seabios-128k A roms/config.seabios-256k M roms/seabios M vl.c Log Message: ----------- Merge remote-tracking branch 'kraxel/tags/pull-seabios-31b8b4e-1' into = staging Update seabios to master snapshot (pre-1.7.4). Update vgabios, switch from lgplvgabios to seavgabios. Update build process to build both 128k and 256k bios versions. Use 256k bios for pc-*-2.0+ machine types. # gpg: Signature made Fri 06 Dec 2013 12:01:24 AM PST using RSA key ID D3= E87138 # gpg: Can't check signature: public key not found # By Gerd Hoffmann # Via Gerd Hoffmann * kraxel/tags/pull-seabios-31b8b4e-1: pc: switch 2.0 machine types to large seabios binary roms: update vgabios binaries roms: update seabios binaries roms: enable seabios cross builds roms: build two seabios binaries roms: update seabios submodule to 31b8b4eea9d9ad58a73b22a6060d3ac1c419c= 26d add firmware to machine options add pc-{i440fx,q35}-2.0 machine types Message-id: 1386322527-23148-1-git-send-email-kraxel@redhat.com Signed-off-by: Anthony Liguori Commit: 0c0cb6a2378f937410f5f55cbf3e3b2c20f293c6 https://github.com/qemu/qemu/commit/0c0cb6a2378f937410f5f55cbf3e3b2= c20f293c6 Author: Anthony Liguori Date: 2013-12-07 (Sat, 07 Dec 2013) Changed paths: M exec.c M kvm-all.c M qemu-options.hx M target-i386/cpu.c M vl.c Log Message: ----------- Merge remote-tracking branch 'qemu-kvm/uq/master' into staging # By Alex Williamson (1) and others # Via Paolo Bonzini * qemu-kvm/uq/master: target-i386: fix cpuid leaf 0x0d qemu: mempath: prefault pages manually (v4) kvm: Query KVM for available memory slots Message-id: 1386345276-9803-1-git-send-email-pbonzini@redhat.com Signed-off-by: Anthony Liguori Commit: 93531372f0f74bb4d886480c0c8aa0e4ca6f5423 https://github.com/qemu/qemu/commit/93531372f0f74bb4d886480c0c8aa0e= 4ca6f5423 Author: Anthony Liguori Date: 2013-12-07 (Sat, 07 Dec 2013) Changed paths: M aio-posix.c M aio-win32.c M block.c M block/iscsi.c M block/qcow2-cluster.c M block/qcow2-refcount.c M block/qcow2-snapshot.c M block/qcow2.c M block/qcow2.h M block/qed.c M block/raw-aio.h M block/raw-posix.c M block/snapshot.c M block/vdi.c M block/vhdx.c M block/vmdk.c M block/vpc.c M hw/scsi/scsi-disk.c M include/block/block.h M include/block/block_int.h M include/block/coroutine.h M include/block/snapshot.h M qemu-coroutine-lock.c M qemu-img-cmds.hx M qemu-img.c M qemu-img.texi M qemu-nbd.c M qemu-nbd.texi M tests/qemu-iotests/026 M tests/qemu-iotests/039 M tests/qemu-iotests/048 M tests/qemu-iotests/048.out M tests/qemu-iotests/051.out M tests/qemu-iotests/052 A tests/qemu-iotests/058 A tests/qemu-iotests/058.out M tests/qemu-iotests/059 M tests/qemu-iotests/059.out A tests/qemu-iotests/074 A tests/qemu-iotests/074.out M tests/qemu-iotests/check M tests/qemu-iotests/common M tests/qemu-iotests/common.filter M tests/qemu-iotests/common.rc M tests/qemu-iotests/group M tests/qemu-iotests/iotests.py M tests/test-aio.c M trace-events Log Message: ----------- Merge remote-tracking branch 'stefanha/block' into staging # By Paolo Bonzini (17) and others # Via Stefan Hajnoczi * stefanha/block: (48 commits) qemu-iotests: filter QEMU monitor \r\n aio: make aio_poll(ctx, true) block with no fds block: clean up bdrv_drain_all() throttling comments qcow2: use start_of_cluster() and offset_into_cluster() everywhere qemu-img: decrease progress update interval on convert qemu-img: round down request length to an aligned sector qemu-img: dynamically adjust iobuffer size during convert block/iscsi: set bs->bl.opt_transfer_length block: add opt_transfer_length to BlockLimits block/iscsi: set bdi->cluster_size qemu-img: fix usage instruction for qemu-img convert qemu-img: add support for skipping zeroes in input during convert qemu-nbd: add doc for option -f qemu-iotests: add test for snapshot in qemu-img convert qemu-img: add -l for snapshot in convert qemu-iotests: add 058 internal snapshot export with qemu-nbd case qemu-nbd: support internal snapshot export snapshot: distinguish id and name in load_tmp qemu-iotests: Split qcow2 only cases in 048 qemu-iotests: Clean up spaces in usage output ... Message-id: 1386347807-27359-1-git-send-email-stefanha@redhat.com Signed-off-by: Anthony Liguori Commit: d2aa90cda81ae3f860dd047ce5e37e0473452d54 https://github.com/qemu/qemu/commit/d2aa90cda81ae3f860dd047ce5e37e0= 473452d54 Author: Anthony Liguori Date: 2013-12-07 (Sat, 07 Dec 2013) Changed paths: M hw/misc/vfio.c M linux-headers/asm-arm/kvm.h M linux-headers/asm-powerpc/epapr_hcalls.h M linux-headers/asm-powerpc/kvm.h M linux-headers/asm-x86/hyperv.h M linux-headers/asm-x86/kvm.h M linux-headers/linux/kvm.h Log Message: ----------- Merge remote-tracking branch 'awilliam/tags/vfio-pci-for-qemu-20131206.= 0' into staging vfio-pci updates include: - Update linux-headers to include KVM-VFIO device support - Enable QEMU support for KVM-VFIO device - Additional Nvidia x-vga quirk to ACK MSI interrupts - Debug options to disable MSI/X KVM acceleration - Fix to cleanup MSI-X vectors on shutdown and avoid IRQ route leaks The KVM-VFIO device support enables KVM to manage how it handles coherency instructions in the presence of non-coherent I/O. Dave Airlie had noted that the Nvidia MSI ACK support here may just be scratching the surface, but it's better than what we have now and it's only enabled via the x-vga option, so I'm willing to add since it does enable some users. # gpg: Signature made Fri 06 Dec 2013 12:28:19 PM PST using RSA key ID 3B= B08B22 # gpg: Can't check signature: public key not found # By Alex Williamson # Via Alex Williamson * awilliam/tags/vfio-pci-for-qemu-20131206.0: vfio-pci: Release all MSI-X vectors when disabled vfio-pci: Add debug config options to disable MSI/X KVM support vfio-pci: Fix Nvidia MSI ACK through 0x88000 quirk vfio-pci: Make use of new KVM-VFIO device linux-headers: Update from v3.13-rc3 Message-id: 20131206204715.16731.12627.stgit@bling.home Signed-off-by: Anthony Liguori Compare: https://github.com/qemu/qemu/compare/0a0ee0b93bdd...d2aa90cda81a= ----==_mimepart_52a346079fe50_4724145dd5460719-- From MAILER-DAEMON Sun Dec 08 04:00:20 2013 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VpaDs-0000aj-Qt for mharc-qemu-commits@gnu.org; Sun, 08 Dec 2013 04:00:20 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VpaDm-0000ac-Cx for qemu-commits@nongnu.org; Sun, 08 Dec 2013 04:00:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VpaDe-0006Wv-5T for qemu-commits@nongnu.org; Sun, 08 Dec 2013 04:00:14 -0500 Received: from m71-131.mailgun.net ([166.78.71.131]:39960) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VpaDe-0006Uc-0U for qemu-commits@nongnu.org; Sun, 08 Dec 2013 04:00:06 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=github.com; q=dns/txt; s=mailo; t=1386493204; h=Date: From: Reply-To: To: Message-Id: Subject: Mime-Version: Content-Type: Content-Transfer-Encoding: Sender; bh=ND3PBwGnxKiKtj6crpyl5tB1jrxxpHsiB7IqyPG3OkA=; b=SVPvOuhWJobRfK5I/hqRDVigD2ej5CgkDVg8Bj1QTH7pF/T5FDKIgPyPdNkDQcD25DJzfq3K G1CTdHi+Qq5HQXLfgLe5seOxBl7Mh04P9J58aMpr+J+tzif69vCAtrNV2+7uJ5hO/YGjU0re y5jaQ/mnIVwe836n+TQNtcotvj4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=github.com; s=mailo; q=dns; h=Date: From: Reply-To: To: Message-Id: Subject: Mime-Version: Content-Type: Content-Transfer-Encoding: Sender; b=P7px3GJHyIAYt5y5nE46jAPagJfR2vZm1DORxEAZqE9bqoAmdw08cGMJ00AYz8uT8C6zVa /uQC5rZPt0ZqNLGGOB6o7lJz9+jfF4SQ1gADd95ysqSwntFLLNrWJ7OJbxGekQgPZBez2VWz ZF/HsuSf/kdcE7fCF8M2tpIlNwjRs= Received: from github.com (Unknown [192.30.252.49]) by mxa.mailgun.org with ESMTP id 52a43514.6a510c0-in1; Sun, 08 Dec 2013 09:00:04 -0000 (UTC) Date: Sun, 08 Dec 2013 01:00:04 -0800 From: GitHub To: qemu-commits@nongnu.org Message-Id: <52a4351427016_5eff11cdd504594f@hookshot-fe3-pe1-prd.aws.github.net.mail> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="--==_mimepart_52a43514264e8_5eff11cdd50458b4"; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Mailgun-Sid: WyI1YjNlZCIsICJxZW11LWNvbW1pdHNAbm9uZ251Lm9yZyIsICI0MGYiXQ== Sender: noreply@github.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 166.78.71.131 Subject: [Qemu-commits] [qemu/qemu] a1d22a: target-cris: Use new qemu_ld/st opcodes X-BeenThere: qemu-commits@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: GitHub List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Dec 2013 09:00:19 -0000 ----==_mimepart_52a43514264e8_5eff11cdd50458b4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: a1d22a367d5780c9553b2cd5a24f665534ce6ed6 https://github.com/qemu/qemu/commit/a1d22a367d5780c9553b2cd5a24f665534ce6ed6 Author: Richard Henderson Date: 2013-12-08 (Sun, 08 Dec 2013) Changed paths: M target-cris/translate.c Log Message: ----------- target-cris: Use new qemu_ld/st opcodes Using the new opcodes we can reduce if/else trees to a single statement. Reviewed-by: Edgar E. Iglesias Cc: Edgar E. Iglesias Signed-off-by: Richard Henderson Signed-off-by: Edgar E. Iglesias ----==_mimepart_52a43514264e8_5eff11cdd50458b4-- From MAILER-DAEMON Mon Dec 09 11:00:19 2013 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Vq3Fr-0007uT-J4 for mharc-qemu-commits@gnu.org; Mon, 09 Dec 2013 11:00:19 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39858) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vq3Fk-0007hY-Is for qemu-commits@nongnu.org; Mon, 09 Dec 2013 11:00:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vq3Ff-0005TP-KO for qemu-commits@nongnu.org; Mon, 09 Dec 2013 11:00:12 -0500 Received: from m69-169.mailgun.net ([166.78.69.169]:38850) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vq3Ff-0005Sf-Gt for qemu-commits@nongnu.org; Mon, 09 Dec 2013 11:00:07 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=github.com; q=dns/txt; s=mailo; t=1386604806; h=Date: From: Reply-To: To: Message-Id: Subject: Mime-Version: Content-Type: Content-Transfer-Encoding: Sender; bh=VES0TUwnyNaL5fnlBgLqoYfssVpzx1F4rkDilT69Inc=; b=MRQ+q72a6nqPhKA6ec0fzWLiRWBE5uwzby+eNPJkUa/jR7+mWkkxJVAcilTawr3ErEvXZWsA SF9x8Z/cLjOhyKL159OOfM5FbDMP4/gjI/IAUIwWFC/z1QHjJj0uqup8EZYUfKKDi9QzzU/o cLkSWtR+9m3sAcgjteJPLGB3+9w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=github.com; s=mailo; q=dns; h=Date: From: Reply-To: To: Message-Id: Subject: Mime-Version: Content-Type: Content-Transfer-Encoding: Sender; b=lE5lbD3MpSPKcoRlVR166nh6jlgmp5O0cy3xR/bATKaqGwPbFI0wyIPIss/2oIVwYEO8J1 FG774Q9iVi8lTfaVqsMQn3ESOvew1+60Ja1TVzxlY3Yb6VAlQquYEc9l1zCJMlAl0Hfnt1jM Io/7DGj1DJVpjfiFM4OWzhpvvcM5M= Received: from github.com (Unknown [192.30.252.50]) by mxa.mailgun.org with ESMTP id 52a5e904.7f6c487dfcf0-in1; Mon, 09 Dec 2013 16:00:04 -0000 (UTC) Date: Mon, 09 Dec 2013 08:00:04 -0800 From: GitHub To: qemu-commits@nongnu.org Message-Id: <52a5e9049c4a4_31f7685d5811481d@hookshot-fe2-pe1-prd.aws.github.net.mail> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="--==_mimepart_52a5e9049bab9_31f7685d581147a9"; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Mailgun-Sid: WyI1YjNlZCIsICJxZW11LWNvbW1pdHNAbm9uZ251Lm9yZyIsICI0MGYiXQ== Sender: noreply@github.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 166.78.69.169 Subject: [Qemu-commits] [qemu/qemu] 21c046: target-sh4: move features flag after CPU_COMMON X-BeenThere: qemu-commits@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: GitHub List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Dec 2013 16:00:17 -0000 ----==_mimepart_52a5e9049bab9_31f7685d581147a9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: 21c046118e740704d0ba81f6281dc95905bc30a8 https://github.com/qemu/qemu/commit/21c046118e740704d0ba81f6281dc95905bc30a8 Author: Bobby Bingham Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M target-sh4/cpu.h Log Message: ----------- target-sh4: move features flag after CPU_COMMON Everything before CPU_COMMON in the structure is cleared as part of a CPU reset. This included the features flag, which indicates whether SH4A instructions are supported or not. As a result, a CPU reset downgraded the CPU from an SH4A to an SH4. Signed-off-by: Bobby Bingham Reviewed-by: Richard Henderson Signed-off-by: Aurelien Jarno Commit: 4d66261f71f2efa31e1052e4041c5ee505572fe5 https://github.com/qemu/qemu/commit/4d66261f71f2efa31e1052e4041c5ee505572fe5 Author: Petar Jovanovic Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M target-mips/translate.c Log Message: ----------- target-mips: fix 64-bit FPU config for user-mode emulation FR bit should be initialized to 1 for MIPS64, under condition that this bit is writable and that CPU has an FPU unit. It should be initialized to zero for MIPS32. This fixes different MIPS32 issues with FPU instructions whose behaviour defaulted to 64-bit FPU mode. Signed-off-by: Petar Jovanovic Signed-off-by: Aurelien Jarno Commit: 8f84271da83c0e9f92aa7c1c2d0d3875bf0a5cb8 https://github.com/qemu/qemu/commit/8f84271da83c0e9f92aa7c1c2d0d3875bf0a5cb8 Author: Stefan Weil Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M target-mips/dsp_helper.c Log Message: ----------- target-mips: Use macro ARRAY_SIZE where possible This improves readability and simplifies the code. Cc: Aurelien Jarno Signed-off-by: Stefan Weil Signed-off-by: Aurelien Jarno Compare: https://github.com/qemu/qemu/compare/a1d22a367d57...8f84271da83c ----==_mimepart_52a5e9049bab9_31f7685d581147a9-- From MAILER-DAEMON Tue Dec 10 19:30:33 2013 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VqXhA-0001SO-JP for mharc-qemu-commits@gnu.org; Tue, 10 Dec 2013 19:30:32 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42484) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqXh2-0001S2-2B for qemu-commits@nongnu.org; Tue, 10 Dec 2013 19:30:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VqXgw-0007an-JH for qemu-commits@nongnu.org; Tue, 10 Dec 2013 19:30:24 -0500 Received: from m69-170.mailgun.net ([166.78.69.170]:48439) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqXgw-0007aj-AL for qemu-commits@nongnu.org; Tue, 10 Dec 2013 19:30:18 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=github.com; q=dns/txt; s=mailo; t=1386721817; h=Date: From: Reply-To: To: Message-Id: Subject: Mime-Version: Content-Type: Content-Transfer-Encoding: Sender; bh=51dBpsRcsmzAjAjqEy9eyYni755J4IlTdxTA3rRId2k=; b=mJCfDVu5kypWJJRDgwXmCh1I/fGG5W/5uownYBdfgRb53iRT+u3qd9HYfXM2+M5RT8Dij/tt XvCkEjmSYEa/n1K5Hvfz9lcaDM/1nopMNCXZ+Wm304NJawE41nL9eL8IZIrOwgCGh5AQqkx+ 6t+mn5ZP7tY4GiCcRLak7oYR0b0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=github.com; s=mailo; q=dns; h=Date: From: Reply-To: To: Message-Id: Subject: Mime-Version: Content-Type: Content-Transfer-Encoding: Sender; b=QYAd+RWrIhDL0KXgYQIHL8vePUpivgh4YCRc8CDIBfezB3fZkKxYOjYJcluuftPfa1Jqxb AnKvfH3VCAhBT3WRe/lv1eHJcuqNqaOUjK8Evh70uw5OGnfc5PNmkjxHrmEdS8jQH0hxoRgy 8Bijj1x3qWBkHUVvSsql7jRik5y54= Received: from github.com (Unknown [192.30.252.52]) by mxa.mailgun.org with ESMTP id 52a7b210.434c1e0-in1; Wed, 11 Dec 2013 00:30:08 -0000 (UTC) Date: Tue, 10 Dec 2013 16:30:07 -0800 From: GitHub To: qemu-commits@nongnu.org Message-Id: <52a7b20f29315_15ee5dd50758d5@hookshot-fe4-pe1-prd.aws.github.net.mail> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="--==_mimepart_52a7b20f286d7_15ee5dd507576f"; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Mailgun-Sid: WyI1YjNlZCIsICJxZW11LWNvbW1pdHNAbm9uZ251Lm9yZyIsICI0MGYiXQ== Sender: noreply@github.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 166.78.69.170 Subject: [Qemu-commits] [qemu/qemu] b1829c: qxl: Add missing trace.h (fix broken build) X-BeenThere: qemu-commits@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: GitHub List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Dec 2013 00:30:30 -0000 ----==_mimepart_52a7b20f286d7_15ee5dd507576f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: b1829cdebe2c5cc0b445f2959dbdb63a48118b12 https://github.com/qemu/qemu/commit/b1829cdebe2c5cc0b445f2959dbdb63= a48118b12 Author: Stefan Weil Date: 2013-12-07 (Sat, 07 Dec 2013) Changed paths: M hw/display/qxl-render.c Log Message: ----------- qxl: Add missing trace.h (fix broken build) Commit ac86048bcd41129b18702ba63395f222871804de removed trace.h from console.h and ignored the fact that qxl-render.c needs this file (it includes qxl.h which includes console.h which included trace.h). Signed-off-by: Stefan Weil Signed-off-by: Michael Tokarev Commit: 40a814b0b1789b94c483190b3208729b5182e5bd https://github.com/qemu/qemu/commit/40a814b0b1789b94c483190b3208729= b5182e5bd Author: Hans de Goede Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M audio/audio.c Log Message: ----------- audio: Lower default wakeup rate to 100 times / second This is more then plenty to keep audio card fifos filles / emptied. This drops host cpu-load for audio playback inside a linux vm from 13% to 9%. Signed-off-by: Hans de Goede Signed-off-by: Gerd Hoffmann Commit: 0e8ae611bda0dfb038da2d865801d8adbd692bad https://github.com/qemu/qemu/commit/0e8ae611bda0dfb038da2d865801d8a= dbd692bad Author: Gerd Hoffmann Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M audio/paaudio.c Log Message: ----------- audio: adjust pulse to 100Hz wakeup rate Signed-off-by: Gerd Hoffmann Commit: 7f0ba7bb4378f22b017e08947219a352d491bac4 https://github.com/qemu/qemu/commit/7f0ba7bb4378f22b017e08947219a35= 2d491bac4 Author: Paolo Bonzini Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/audio/adlib.c Log Message: ----------- adlib: fix patching of port I/O addresses Commit 2b21fb5 (adlib: sort offsets in portio registration, 2013-08-14) fixed the offsets in adlib_portio_list, but forgot the matching indices in adlib_realizefn. Reported at http://virtuallyfun.superglobalmegacorp.com/?p=3D3616 by "neozeed". Signed-off-by: Paolo Bonzini Reviewed-by: Herv=C3=A9 Poussineau Signed-off-by: Gerd Hoffmann Commit: d58ce68a454e5ae9cbde0308def379e272f13b10 https://github.com/qemu/qemu/commit/d58ce68a454e5ae9cbde0308def379e= 272f13b10 Author: Gerd Hoffmann Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/audio/intel-hda.c Log Message: ----------- intel-hda: fix position buffer Fix position buffer updates to use the correct stream offset. Without this patch both IN (record) and OUT (playback) streams will update the IN buffer positions. The linux kernel notices and complains: hda-intel: Invalid position buffer, using LPIB read method instead. The bug may also lead to glitches when recording and playing at the same time: https://bugzilla.redhat.com/show_bug.cgi?id=3D947785 Cc: qemu-stable@nongnu.org Signed-off-by: Gerd Hoffmann Commit: 5ad04fb6f112cf2917909be4c22109dbb65fed18 https://github.com/qemu/qemu/commit/5ad04fb6f112cf2917909be4c22109d= bb65fed18 Author: Stefan Weil Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M libcacard/vscclient.c Log Message: ----------- libcacard: Fix compilation for older versions of glib (bug #1258168) See https://bugs.launchpad.net/bugs/1258168 libcacard/vscclient.c: In function 'do_socket_read': libcacard/vscclient.c:410: warning: implicit declaration of function 'g_w= arn_if_reached' libcacard/vscclient.c:410: warning: nested extern declaration of 'g_warn_= if_reached' libcacard/vscclient.c: In function 'main': libcacard/vscclient.c:763: warning: implicit declaration of function 'g_b= yte_array_unref' libcacard/vscclient.c:763: warning: nested extern declaration of 'g_byte_= array_unref' ... libcacard/vscclient.o: In function `do_socket_read': libcacard/vscclient.c:410: undefined reference to `g_warn_if_reached' libcacard/vscclient.o: In function `main': libcacard/vscclient.c:763: undefined reference to `g_byte_array_unref' g_warn_if_reached was added in glib 2.16, and g_byte_array_unref is supported since glib 2.22. QEMU requires glib 2.12, so both names must not be used. Instead of showing a warning for code which should not be reached, vscclient better stop running, so g_warn_if_reached is not useful for vscclient. In libcacard/vsclient.c, g_byte_array_unref can be replaced by g_byte_array_free. This is not generally true, so adding a compatibility layer in include/glib-compat.h is no option here. Reported-by: Laurent Desnogues Reported-by: Don Slutz Signed-off-by: Stefan Weil Commit: 58952137b0b3e1c9e3ce718ed952c1baf8832652 https://github.com/qemu/qemu/commit/58952137b0b3e1c9e3ce718ed952c1b= af8832652 Author: Vincenzo Maffione Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M configure M hmp-commands.hx M net/Makefile.objs M net/clients.h M net/net.c A net/netmap.c M qapi-schema.json M qemu-options.hx Log Message: ----------- net: Adding netmap network backend This patch adds support for a network backend based on netmap. netmap is a framework for high speed packet I/O. You can use it to build extremely fast traffic generators, monitors, software switches or network middleboxes. Its companion software switch VALE lets you interconnect virtual machines. netmap and VALE are implemented as a non-intrusive kernel module, support NICs from multiple vendors, are part of standard FreeBSD distributions and available in source format for Linux too. To compile QEMU with netmap support, use the following configure options: ./configure [...] --enable-netmap --extra-cflags=3D-I/path/to/netmap/= sys where "/path/to/netmap" contains the netmap source code, available at http://info.iet.unipi.it/~luigi/netmap/ The same webpage contains more information about the netmap project (together with papers and presentations). Signed-off-by: Vincenzo Maffione Signed-off-by: Stefan Hajnoczi Commit: aee09baf915491eabbf46f9cf55a445ec59b8269 https://github.com/qemu/qemu/commit/aee09baf915491eabbf46f9cf55a445= ec59b8269 Author: Vincenzo Maffione Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M MAINTAINERS Log Message: ----------- MAINTAINERS: Add netmap maintainers Signed-off-by: Vincenzo Maffione Signed-off-by: Stefan Hajnoczi Commit: cae2e5562cdaf3aafa1c4ec2d5f2b19af6c886dd https://github.com/qemu/qemu/commit/cae2e5562cdaf3aafa1c4ec2d5f2b19= af6c886dd Author: Amos Kong Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/net/virtio-net.c Log Message: ----------- virtio-net: don't update mac_table in error state mac_table was always cleaned up first in handling VIRTIO_NET_CTRL_MAC_TABLE_SET command, and we din't recover mac_table content in error state, it's not correct. This patch makes all the changes in temporal variables, only update the real mac_table if everything is ok. We won't change mac_table in error state, so rxfilter notification isn't needed. This patch also fixed same problame in http://lists.nongnu.org/archive/html/qemu-devel/2013-11/msg01188.html (not merge) I will send patch for virtio spec to clarifying this change. Signed-off-by: Amos Kong Reviewed-by: Vlad Yasevich Acked-by: Jason Wang Signed-off-by: Stefan Hajnoczi Commit: 02d38fcb2caa4454cf4ed728d5908c3cc9ba47be https://github.com/qemu/qemu/commit/02d38fcb2caa4454cf4ed728d5908c3= cc9ba47be Author: Vlad Yasevich Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M net/net.c Log Message: ----------- net: Update netdev peer on link change When a link change occurs on a backend (like tap), we currently do not propage such change to the nic. As a result, when someone turns off a link on a tap device, for instance, then a guest doesn't see that change and continues to try to send traffic or run DHCP even though the lower-layer is disconnected. This is OK when the network is set up as a HUB since the the guest may be connected to other HUB ports too, but when it's set up as a netdev, it makes thinkgs worse. The patch addresses this by setting the peers link down only when the peer is not a HUBPORT device. With this patch, in the following config -netdev tap,id=3Dnet0 -device e1000,mac=3DXXXXX,netdev=3Dnet0 when net0 link is turned off, the guest e1000 shows lower-layer link down. This allows guests to boot much faster in such configurations. With windows guest, it also allows the network to recover properly since windows will not configure the link-local IPv4 address, and when the link is turned on, the proper address address is configured. Signed-off-by: Vlad Yasevich Signed-off-by: Stefan Hajnoczi Commit: f53977f788c05e8795d22206c40eafb93a15d72b https://github.com/qemu/qemu/commit/f53977f788c05e8795d22206c40eafb= 93a15d72b Author: Jan Petrous Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M hw/arm/integratorcp.c Log Message: ----------- integrator/cp: add support for REFCNT register Linux kernel from version 3.4 requires CM_REFCNT register for sched timer= for Integrator/CP board (integrator_defconfig). See http://infocenter.arm.com/help/topic/com.arm.doc.dui0138e/ch04s06s11.= html Signed-off-by: Jan Petrous Signed-off-by: Peter Maydell Commit: d3053e6be5d90b86cbeba5eb3bba6d210014014b https://github.com/qemu/qemu/commit/d3053e6be5d90b86cbeba5eb3bba6d2= 10014014b Author: Peter Crosthwaite Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M hw/cpu/a9mpcore.c Log Message: ----------- cpu/a9mpcore: rename timerbusdev variable Rename this variable for consistency with the above defined mptimerdev variable. Signed-off-by: Peter Crosthwaite Reviewed-by: Peter Maydell Message-id: 28939ef95589a62414634e86c47cef76b21b15f7.1385969450.git.peter= .crosthwaite@xilinx.com Signed-off-by: Peter Maydell Commit: 4c25f365ab3a4f7de0a49af5d39ddc9d459e245b https://github.com/qemu/qemu/commit/4c25f365ab3a4f7de0a49af5d39ddc9= d459e245b Author: Peter Crosthwaite Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M hw/cpu/a9mpcore.c M include/hw/cpu/a9mpcore.h Log Message: ----------- cpu/a9mpcore: reorder operations/declarations To make it consistent for easier code reading. The order in which variables are defined and functions are called is set to match the address map ordering. The new consistent order of doing stuff is: SCU -> GIC -> MPTimer -> WDT. 0 functional change. Signed-off-by: Peter Crosthwaite Reviewed-by: Peter Maydell Message-id: 8f31398e6d9a93f57291399f269039da1a77a2b5.1385969450.git.peter= .crosthwaite@xilinx.com Signed-off-by: Peter Maydell Commit: c21c3b53e122a807ae4f5443b7f74f3850f21e37 https://github.com/qemu/qemu/commit/c21c3b53e122a807ae4f5443b7f74f3= 850f21e37 Author: Peter Crosthwaite Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M default-configs/arm-softmmu.mak M hw/timer/Makefile.objs A hw/timer/a9gtimer.c A include/hw/timer/a9gtimer.h Log Message: ----------- hw/timer: Introduce ARM A9 Global Timer. The ARM A9 MPCore has a timer that is global to all cores in the cluster.= The timer is shared but each core has a private independent comparator and interrupt. Based on version contributed by Francois LEGAL. Signed-off-by: Fran=C3=A7ois LEGAL Message-id: 4918e89476b8da916be2964ec41578b50d569a37.1385969450.git.peter= .crosthwaite@xilinx.com [PC changes: * New commit message * Re-implemented as single timer model * Fixed backwards counting issue in polled mode * completed VMSD fields * macroified magic numbers (and headerified reg definitions) * split of as device-model-only patch * use bitops for 64 bit register access * Fixed auto increment mode to check condition properly * general cleanup (names/style etc). ] Signed-off-by: Peter Crosthwaite [PMM: * minor typo fixes * added missing return after error_setg() * dropped setting dc->no_user =3D 1 ] Signed-off-by: Peter Maydell Commit: 57e72f2a1977448959fe4a492bc48cd2988c1f3b https://github.com/qemu/qemu/commit/57e72f2a1977448959fe4a492bc48cd= 2988c1f3b Author: Fran=C3=A7ois LEGAL Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M hw/cpu/a9mpcore.c M include/hw/cpu/a9mpcore.h Log Message: ----------- cpu/a9mpcore: Add Global Timer Add the global timer to A9 MPCore. Signed-off-by: Fran=C3=A7ois LEGAL Reviewed-by: Peter Maydell Message-id: ff92f35f438ac671b57d99d823723dd3e62d2c49.1385969450.git.peter= .crosthwaite@xilinx.com [PC Changes: * new commit message * split off original version as a separate patch * Rebased against new mpcore implementation (with struct embedding) ] Signed-off-by: Peter Crosthwaite Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell Commit: 72b0cd35ad3e216a1db7f6a08a2ff65bb577c119 https://github.com/qemu/qemu/commit/72b0cd35ad3e216a1db7f6a08a2ff65= bb577c119 Author: Peter Maydell Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M target-arm/cpu.h A target-arm/kvm-consts.h M target-arm/kvm.c Log Message: ----------- target-arm: Provide mechanism for getting KVM constants even if not CON= FIG_KVM There are a number of places where it would be convenient for ARM code to have working definitions of KVM constants even in code which is compiled with CONFIG_KVM not set. In this situation we can't simply include the kernel KVM headers (which might conflict with host header definitions or not even compile on the compiler we're using) so we have to redefine equivalent constants. Provide a mechanism for doing this and checking that the values match, and use it for the constants we're currently exposing via an ad-hoc mechanism. Signed-off-by: Peter Maydell Reviewed-by: Christoffer Dall Message-id: 1385140638-10444-2-git-send-email-peter.maydell@linaro.org Commit: ef6de70ea811d66ebb6b9b6046e304f588e754bb https://github.com/qemu/qemu/commit/ef6de70ea811d66ebb6b9b6046e304f= 588e754bb Author: Peter Maydell Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M device_tree.c Log Message: ----------- device_tree.c: Terminate the empty reservemap in create_device_tree() Device trees created with create_device_tree() may not have any entries in their reservemap, because the FDT API requires that the reservemap is completed before any FDT nodes are added, and create_device_tree() itself creates a node. However we were not calling fdt_finish_reservemap(), which meant that there was no terminator in the reservemap list and whatever happened to be at the start of the FDT data section would end up being interpreted as reservemap entries. Avoid this by calling fdt_finish_reservemap() to add the terminator. Signed-off-by: Peter Maydell Acked-by: Alexander Graf Reviewed-by: Christoffer Dall Reviewed-by: Peter Crosthwaite Message-id: 1385140638-10444-3-git-send-email-peter.maydell@linaro.org Commit: 0fb79851c3dffa06de648d955ee2f2b47bfb96ce https://github.com/qemu/qemu/commit/0fb79851c3dffa06de648d955ee2f2b= 47bfb96ce Author: John Rigby Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M hw/arm/boot.c M include/hw/arm/arm.h Log Message: ----------- hw/arm/boot: Allow boards to provide an fdt blob If no fdt is provided on command line and the new field get_dtb in struct arm_boot_info is set then call it to get a device tree blob. Signed-off-by: John Rigby Reviewed-by: Christoffer Dall Message-id: 1385140638-10444-4-git-send-email-peter.maydell@linaro.org [PMM: minor tweaks and cleanup] Signed-off-by: Peter Maydell Commit: a22ec1e6825c7a00d25648027d08d4a332c29c84 https://github.com/qemu/qemu/commit/a22ec1e6825c7a00d25648027d08d4a= 332c29c84 Author: Peter Maydell Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M target-arm/kvm-consts.h Log Message: ----------- target-arm: Provide PSCI constants to generic QEMU code Provide versions of the KVM PSCI constants to non-KVM code; this will allow us to avoid an ifdef in boards which set up a PSCI node in the device tree. Signed-off-by: Peter Maydell Reviewed-by: Christoffer Dall Message-id: 1385140638-10444-5-git-send-email-peter.maydell@linaro.org Commit: 54d3e3f52e5d540766af35f99fe0fa415c40cac2 https://github.com/qemu/qemu/commit/54d3e3f52e5d540766af35f99fe0fa4= 15c40cac2 Author: Peter Maydell Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M target-arm/cpu-qom.h M target-arm/cpu.c Log Message: ----------- target-arm: Add ARMCPU field for Linux device-tree 'compatible' string Linux requires device tree CPU nodes to include a 'compatible' string describing the CPU. Add a field in the ARMCPU struct for this so that boards which construct a device tree can insert the correct CPU nodes. Note that there is currently no officially specified 'compatible' string for the TI925T, Cortex-M3 or SA1110 CPUs. Signed-off-by: Peter Maydell Reviewed-by: Christoffer Dall Message-id: 1385140638-10444-6-git-send-email-peter.maydell@linaro.org Commit: 5de164304ad6473c812f24a29fda33a2d1b2bf45 https://github.com/qemu/qemu/commit/5de164304ad6473c812f24a29fda33a= 2d1b2bf45 Author: Peter Maydell Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M target-arm/cpu-qom.h M target-arm/cpu.c M target-arm/kvm.c Log Message: ----------- target-arm: Allow secondary KVM CPUs to be booted via PSCI New ARM boards are generally expected to boot their secondary CPUs via the PSCI interface, rather than ad-hoc "loop around in holding pen code" as hw/arm/boot.c implements. In particular this is necessary for mach-virt kernels. For KVM we achieve this by creating the VCPUs with a feature flag marking them as starting in PSCI powered-down state; the guest kernel will then make a PSCI call (implemented in the host kernel) to start the secondaries at an address of its choosing once it has got the primary CPU up. Implement this setting of the feature flag, controlled by a qdev property for ARMCPU, which board code can set if it is a PSCI system. Signed-off-by: Peter Maydell Reviewed-by: Christoffer Dall Message-id: 1385140638-10444-7-git-send-email-peter.maydell@linaro.org Commit: f5fdcd6e58ec35b4463569694fc15d28c505c4d0 https://github.com/qemu/qemu/commit/f5fdcd6e58ec35b4463569694fc15d2= 8c505c4d0 Author: Peter Maydell Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M hw/arm/Makefile.objs A hw/arm/virt.c Log Message: ----------- hw/arm: Add 'virt' platform Add 'virt' platform support corresponding to arch/arm/mach-virt in the Linux kernel tree. This has no platform-specific code but can use any device whose kernel driver is is able to work purely from a device tree node. We use this to instantiate a minimal set of devices: a GIC and some virtio-mmio transports. Signed-off-by: John Rigby Reviewed-by: Christoffer Dall Message-id: 1385140638-10444-8-git-send-email-peter.maydell@linaro.org [PMM: Significantly overhauled: * renamed user-facing machine to just "virt" * removed the A9 support (it can't work since the A9 has no generic timers) * added virtio-mmio transports instead of random set of 'soc' devices (though we retain a pl011 UART) * instead of updating io_base as we step through adding devices, define a memory map with an array (similar to vexpress) * similarly, define irqmap with an array * folded in some minor fixes from John's aarch64-support patch * rather than explicitly doing endian-swapping on FDT cells, use fdt APIs that let us just pass in host-endian values and let the fdt layer take care of the swapping * miscellaneous minor code cleanups and style fixes ] Signed-off-by: Peter Maydell Commit: 3541addc888413b84fb309e3f4abf210c0c5eb57 https://github.com/qemu/qemu/commit/3541addc888413b84fb309e3f4abf21= 0c0c5eb57 Author: Peter Maydell Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M target-arm/cpu-qom.h M target-arm/cpu.c M target-arm/kvm-consts.h M target-arm/kvm.c Log Message: ----------- target-arm: Don't hardcode KVM target CPU to be A15 Instead of assuming that a KVM target CPU must always be a Cortex-A15 and hardcoding this in kvm_arch_init_vcpu(), store the KVM_ARM_TARGET_* value in the ARMCPU class, and use that. Signed-off-by: Peter Maydell Reviewed-by: Christoffer Dall Message-id: 1385140638-10444-10-git-send-email-peter.maydell@linaro.org Commit: a96c0514ab7d74ecb04677d3dc599facafa44e5b https://github.com/qemu/qemu/commit/a96c0514ab7d74ecb04677d3dc599fa= cafa44e5b Author: Peter Maydell Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M target-arm/helper.c M target-arm/kvm.c M target-arm/kvm_arm.h Log Message: ----------- target-arm: Provide '-cpu host' when running KVM Implement '-cpu host' for ARM when we're using KVM, broadly in line with other KVM-supporting architectures. Signed-off-by: Peter Maydell Reviewed-by: Christoffer Dall Message-id: 1385140638-10444-11-git-send-email-peter.maydell@linaro.org Commit: 198aa06459ba6c0e689ed0f61b59ebe8aa9f9287 https://github.com/qemu/qemu/commit/198aa06459ba6c0e689ed0f61b59ebe= 8aa9f9287 Author: Peter Maydell Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M hw/arm/virt.c Log Message: ----------- hw/arm/virt: Support -cpu host Support -cpu host in virt machine (treating it like an A15, ie with a GIC v2 and the A15's private peripherals.) Signed-off-by: Peter Maydell Reviewed-by: Christoffer Dall Message-id: 1385140638-10444-12-git-send-email-peter.maydell@linaro.org Commit: 24e822ea4669145c94552cef67751fbd9a42b4c8 https://github.com/qemu/qemu/commit/24e822ea4669145c94552cef67751fb= d9a42b4c8 Author: Peter Crosthwaite Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M hw/net/cadence_gem.c Log Message: ----------- net/cadence_gem: Implement mac level loopback mode Cadence GEM has a MAC level loopback mode. Implement. Use the same basic operation as the already implemented PHY loopback. Reported-by: Deepika Dhamija Signed-off-by: Peter Crosthwaite Reviewed-by: Peter Maydell Message-id: 3a0baf1b6b2fc1be638bdf1a37408ec38988e970.1386136219.git.peter= .crosthwaite@xilinx.com Signed-off-by: Peter Maydell Commit: 3b2c97f9916e15ef630e3f8449b1b10902bf9407 https://github.com/qemu/qemu/commit/3b2c97f9916e15ef630e3f8449b1b10= 902bf9407 Author: Edgar E. Iglesias Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M hw/net/cadence_gem.c Log Message: ----------- net/cadence_gem: Update DMA rx descriptors as we process them We were updating the ownership bit of all descriptors if packets get split and written through several descriptors. Signed-off-by: Edgar E. Iglesias Signed-off-by: Peter Crosthwaite Reviewed-by: Peter Maydell Message-id: d61b7847b51487118783c93765a485bc5c66d272.1386136219.git.peter= .crosthwaite@xilinx.com Signed-off-by: Peter Maydell Commit: 11785f5352d45c6ef3efe3349ade42387ccebd5d https://github.com/qemu/qemu/commit/11785f5352d45c6ef3efe3349ade423= 87ccebd5d Author: Peter Crosthwaite Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M hw/net/cadence_gem.c Log Message: ----------- net/cadence_gem: Don't assert against 0 buffer address This has no real hardware analog and asserting correctness of DMA addresses is not a perhiperal level problem. Delete. Signed-off-by: Peter Crosthwaite Message-id: fc02417eb1874cb05e4f20531c6203c5a00110f1.1386136219.git.peter= .crosthwaite@xilinx.com Signed-off-by: Peter Maydell Commit: 7cfd65e41c51cd8a55730524af750638cd416f95 https://github.com/qemu/qemu/commit/7cfd65e41c51cd8a55730524af75063= 8cd416f95 Author: Peter Crosthwaite Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M hw/net/cadence_gem.c Log Message: ----------- net/cadence_gem: simplify rx buf descriptor walking There was a replication of the rx descriptor address walking logic. Reorder the flow control to remove. This refactoring also obsoletes the local variables packet_desc_addr and last_desc_addr. Signed-off-by: Peter Crosthwaite Message-id: 2a425b457ff0b57274bf206ad2236690cd7f5909.1386136219.git.peter= .crosthwaite@xilinx.com Signed-off-by: Peter Maydell Commit: 06c2fe951d58cdf2cafb432a76415236c8f73328 https://github.com/qemu/qemu/commit/06c2fe951d58cdf2cafb432a7641523= 6c8f73328 Author: Peter Crosthwaite Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M hw/net/cadence_gem.c Log Message: ----------- net/cadence_gem: Prefetch rx descriptors ASAP The real hardware prefetches rx buffer descriptors ASAP and potentially throws relevant interrupts following the fetch even in the absence of a received packet. Reported-by: Deepika Dhamija Signed-off-by: Peter Crosthwaite Message-id: 41629e35edfdb1f02f1e401f2c3d0e2e4c9e44b3.1386136219.git.peter= .crosthwaite@xilinx.com Signed-off-by: Peter Maydell Commit: 63af1e0cff8879a3ddd1b08abb3172b49fb88c88 https://github.com/qemu/qemu/commit/63af1e0cff8879a3ddd1b08abb3172b= 49fb88c88 Author: Peter Crosthwaite Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M hw/net/cadence_gem.c Log Message: ----------- net/cadence_gem: Implement RX descriptor match mode flags The various Rx packet address matching mode flags were not being set in the rx descriptor. Implement. Reported-by: Deepika Dhamija Signed-off-by: Peter Crosthwaite Message-id: 6002a24a6a8ceaa11d3009ab5392840d1c084b28.1386136219.git.peter= .crosthwaite@xilinx.com Signed-off-by: Peter Maydell Commit: a03f742983f9b6ed03913b30005b6f053290d285 https://github.com/qemu/qemu/commit/a03f742983f9b6ed03913b30005b6f0= 53290d285 Author: Peter Crosthwaite Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M hw/net/cadence_gem.c Log Message: ----------- net/cadence_gem: Implement SAR match bit in rx desc Bit 27 of the RX buffer desc word 1 should be set when the packet was accepted due to specific address register match. Implement. This feature is absent from the Xilinx documentation (UG585) but the behaviour is tested as accurate on real hardware. Reported-by: Deepika Dhamija Signed-off-by: Peter Crosthwaite Reviewed-by: Peter Maydell Message-id: 7e3f26fc4ab244e8123efc12723e7164730abdcb.1386136219.git.peter= .crosthwaite@xilinx.com Signed-off-by: Peter Maydell Commit: 64eb9301769c97c7fd340e4e7ef98edcd500ebff https://github.com/qemu/qemu/commit/64eb9301769c97c7fd340e4e7ef98ed= cd500ebff Author: Peter Crosthwaite Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M hw/net/cadence_gem.c Log Message: ----------- net/cadence_gem: Implement SAR (de)activation The Specific address registers can be enabled or disabled by software. QEMU was assuming they were always enabled. Implement the disable/enable feature. SARs are disabled by writing to the lower half register. They are re-enabled by then writing the upper half. Reported-by: Deepika Dhamija Signed-off-by: Peter Crosthwaite Message-id: 49efd1f7450af8f980b967d3054245bae137866c.1386136219.git.peter= .crosthwaite@xilinx.com Signed-off-by: Peter Maydell Commit: 17cf2c76b684b679cb25fcb4a36d536ba9944d4d https://github.com/qemu/qemu/commit/17cf2c76b684b679cb25fcb4a36d536= ba9944d4d Author: Peter Crosthwaite Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M hw/net/cadence_gem.c Log Message: ----------- net/cadence_gem: Add missing VMSTATE_END_OF_LIST Signed-off-by: Peter Crosthwaite Message-id: 8f8c2bfb15f40fb5f0d5766aa4cd3d54c596de6a.1386136219.git.peter= .crosthwaite@xilinx.com Signed-off-by: Peter Maydell Commit: 305706980267dae191d0fca2c769d7a31011be14 https://github.com/qemu/qemu/commit/305706980267dae191d0fca2c769d7a= 31011be14 Author: Peter Crosthwaite Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M hw/net/cadence_gem.c Log Message: ----------- net/cadence_gem: Fix rx multi-fragment packets Bytes_to_copy was being updated before its final use where it advances the rx buffer pointer. This was causing total mayhem, where packet data for any subsequent fragments was being fetched from the wrong place. Reported-by: Deepika Dhamija Signed-off-by: Peter Crosthwaite Reviewed-by: Peter Maydell Message-id: c2a1c65c1fd06eb274442a0fa4a6839d940e145e.1386136219.git.peter= .crosthwaite@xilinx.com Signed-off-by: Peter Maydell Commit: 191946c51f28e6ac76e94c7379d5e0f69c016e83 https://github.com/qemu/qemu/commit/191946c51f28e6ac76e94c7379d5e0f= 69c016e83 Author: Peter Crosthwaite Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M hw/net/cadence_gem.c Log Message: ----------- net/cadence_gem: Fix small packet FCS stripping The minimum packet size is 64, however this is before FCS stripping occurs. So when FCS stripping the minimum packet size is 60. Fix. Reported-by: Deepika Dhamija Signed-off-by: Peter Crosthwaite Message-id: 8aac5bd737f9cf48b87f32943d7eb5939061e546.1386136219.git.peter= .crosthwaite@xilinx.com Signed-off-by: Peter Maydell Commit: e2314fda62c42c89f91dcf104ed3702170a90308 https://github.com/qemu/qemu/commit/e2314fda62c42c89f91dcf104ed3702= 170a90308 Author: Peter Crosthwaite Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M hw/net/cadence_gem.c Log Message: ----------- net/cadence_gem: Fix register w1c logic This write-1-clear logic was incorrect. It was always clearing w1c bits regardless of whether the written value was 1 or not. i.e. it was implementing a write-anything-to-clear strategy. Signed-off-by: Peter Crosthwaite Reviewed-by: Peter Maydell Message-id: ed905b04d3343966ded425f06aa2224bc7a35b59.1386136219.git.peter= .crosthwaite@xilinx.com Signed-off-by: Peter Maydell Commit: 3ae5725f86a82751cccf6bc075e5ebfb327ac283 https://github.com/qemu/qemu/commit/3ae5725f86a82751cccf6bc075e5ebf= b327ac283 Author: Peter Crosthwaite Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M hw/net/cadence_gem.c Log Message: ----------- net/cadence_gem: Improve can_receive debug printfery Currently this just floods indicating that can_receive has been called by the net framework. Instead, save the result of the most recent can_receive callback as state and only print a message if the result changes (indicating some sort of actual state change in GEM). Make said debug message more meaningful as well. Signed-off-by: Peter Crosthwaite Message-id: 2eb74ca6a5756aea242d9f525961db95d6cfcf2c.1386136219.git.peter= .crosthwaite@xilinx.com Signed-off-by: Peter Maydell Commit: 8202aa539135a44906c38f82a469234ec65e0ef7 https://github.com/qemu/qemu/commit/8202aa539135a44906c38f82a469234= ec65e0ef7 Author: Peter Crosthwaite Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M hw/net/cadence_gem.c Log Message: ----------- net/cadence_gem: Don't rx packets when no rx buffer available Return false from can_receive() when no valid buffer descriptor is available. Ensures against mass packet droppage in some applications. Signed-off-by: Peter Crosthwaite Message-id: cde00ef774e84e2586bf10fd37b542f75bf36cfb.1386136219.git.peter= .crosthwaite@xilinx.com Signed-off-by: Peter Maydell Commit: 6a57f3ebba2dbe4a398319cec4df62cbcf3c5b8d https://github.com/qemu/qemu/commit/6a57f3ebba2dbe4a398319cec4df62c= bcf3c5b8d Author: Will Newton Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M target-arm/translate.c Log Message: ----------- target-arm: Move call to disas_vfp_insn out of disas_coproc_insn. Floating point is an extension to the instruction set rather than a coprocessor, so call it directly from the ARM and Thumb decode functions. Signed-off-by: Will Newton Reviewed-by: Peter Maydell Message-id: 1386158099-9239-2-git-send-email-will.newton@linaro.org Signed-off-by: Peter Maydell Commit: 04731fb5f3825409fd5ad64dbc0b1dfe7e7fb82f https://github.com/qemu/qemu/commit/04731fb5f3825409fd5ad64dbc0b1df= e7e7fb82f Author: Will Newton Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M target-arm/translate.c Log Message: ----------- target-arm: Implement ARMv8 VSEL instruction. This adds support for the VSEL floating point selection instruction which was added in ARMv8. Signed-off-by: Will Newton Reviewed-by: Peter Maydell Message-id: 1386158099-9239-3-git-send-email-will.newton@linaro.org Signed-off-by: Peter Maydell Commit: e70614eaa0b8c6a2c948efa3ad71e75cd1f8ff8a https://github.com/qemu/qemu/commit/e70614eaa0b8c6a2c948efa3ad71e75= cd1f8ff8a Author: Will Newton Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M fpu/softfloat.c Log Message: ----------- softfloat: Remove unused argument from MINMAX macro. The nan_exp argument is not used, so remove it. Signed-off-by: Will Newton Reviewed-by: Peter Maydell Message-id: 1386158099-9239-4-git-send-email-will.newton@linaro.org Signed-off-by: Peter Maydell Commit: e17ab310e98c55bd5cb8026c1086f9d19d181d3d https://github.com/qemu/qemu/commit/e17ab310e98c55bd5cb8026c1086f9d= 19d181d3d Author: Will Newton Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M fpu/softfloat.c M include/fpu/softfloat.h Log Message: ----------- softfloat: Add minNum() and maxNum() functions to softfloat. Add floatnn_minnum() and floatnn_maxnum() functions which are equivalent to the minNum() and maxNum() functions from IEEE 754-2008. They are similar to min() and max() but differ in the handling of QNaN arguments. Signed-off-by: Will Newton Message-id: 1386158099-9239-5-git-send-email-will.newton@linaro.org Signed-off-by: Peter Maydell Commit: 40cfacdd806b68706b10ceeeca6d0eea417d1a75 https://github.com/qemu/qemu/commit/40cfacdd806b68706b10ceeeca6d0ee= a417d1a75 Author: Will Newton Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M target-arm/helper.c M target-arm/helper.h M target-arm/translate.c Log Message: ----------- target-arm: Implement ARMv8 FP VMAXNM and VMINNM instructions. This adds support for the ARMv8 floating point VMAXNM and VMINNM instructions. Signed-off-by: Will Newton Reviewed-by: Peter Maydell Message-id: 1386158099-9239-6-git-send-email-will.newton@linaro.org Signed-off-by: Peter Maydell Commit: 505935fc766e84b58af6e4c3c4233ed0a29b1288 https://github.com/qemu/qemu/commit/505935fc766e84b58af6e4c3c4233ed= 0a29b1288 Author: Will Newton Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M target-arm/translate.c Log Message: ----------- target-arm: Implement ARMv8 SIMD VMAXNM and VMINNM instructions. This adds support for the ARMv8 Advanced SIMD VMAXNM and VMINNM instructions. Signed-off-by: Will Newton Message-id: 1386158099-9239-7-git-send-email-will.newton@linaro.org Signed-off-by: Peter Maydell Commit: 09f7813522238555b77ec2b9f2d3bc20d6e3c796 https://github.com/qemu/qemu/commit/09f7813522238555b77ec2b9f2d3bc2= 0d6e3c796 Author: Richard Henderson Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M target-arm/translate.c Log Message: ----------- target-arm: Use new qemu_ld/st opcodes Retain the existing gen_aa32_* inlines, to aid compilation for A64. Cc: Peter Maydell Signed-off-by: Richard Henderson Message-id: 1386628626-21627-1-git-send-email-rth@twiddle.net Signed-off-by: Peter Maydell Commit: 74f1c6ddec8dc7566d9b75574bb006214cc7d3b4 https://github.com/qemu/qemu/commit/74f1c6ddec8dc7566d9b75574bb0062= 14cc7d3b4 Author: Sergey Fedorov Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M target-arm/helper.c Log Message: ----------- target-arm: fix TTBCR write masking Current implementation is not accurate according to ARMv7-AR reference manual. See "B4.1.153 TTBCR, Translation Table Base Control Register, VMSA | TTBCR format when using the Long-descriptor translation table format". When LPAE feature is supported, EAE, bit[31] selects translation descriptor format and, therefore, TTBCR format. Signed-off-by: Sergey Fedorov Reviewed-by: Peter Maydell Message-id: 1386657709-23399-1-git-send-email-s.fedorov@samsung.com Signed-off-by: Peter Maydell Commit: 0ec9eabc7f6020418e1f3b3273d1dd701f7f87f9 https://github.com/qemu/qemu/commit/0ec9eabc7f6020418e1f3b3273d1dd7= 01f7f87f9 Author: Richard Henderson Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M tcg/tcg.c M tcg/tcg.h Log Message: ----------- tcg: Use bitmaps for free temporaries We previously allocated 32-bits per temp for the next_free_temp entry. We now allocate 4 bits per temp across the 4 bitmaps. Using a linked list meant that if a translator is tweeked, resulting in temps being freed in a different order, that would have follow-on effects= throughout the TB. Always allocating the lowest free temp means that follow-on effects are minimized, which can make it easier to diff output when debugging the translators. Reviewed-by: Peter Maydell Reviewed-by: Aurelien Jarno Signed-off-by: Richard Henderson Commit: 45506cc2be6834196ac2773ec4267ca6780f17a1 https://github.com/qemu/qemu/commit/45506cc2be6834196ac2773ec4267ca= 6780f17a1 Author: Anthony Liguori Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M hw/display/qxl-render.c Log Message: ----------- Merge remote-tracking branch 'mjt/trivial-patches' into staging # By Stefan Weil # Via Michael Tokarev * mjt/trivial-patches: qxl: Add missing trace.h (fix broken build) Message-id: 1386441094-9971-1-git-send-email-mjt@msgid.tls.msk.ru Signed-off-by: Anthony Liguori Commit: 75c4ce824ffd04a59f0af270f823fd5f1a59bd1a https://github.com/qemu/qemu/commit/75c4ce824ffd04a59f0af270f823fd5= f1a59bd1a Author: Anthony Liguori Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M libcacard/vscclient.c Log Message: ----------- Merge remote-tracking branch 'alon/libcacard_ccid.4' into staging # By Stefan Weil # Via Alon Levy * alon/libcacard_ccid.4: libcacard: Fix compilation for older versions of glib (bug #1258168) Message-id: 1386596263-26151-1-git-send-email-alevy@redhat.com Signed-off-by: Anthony Liguori Commit: b5527dad7dba7d85520aaec787fb6fb14be1c366 https://github.com/qemu/qemu/commit/b5527dad7dba7d85520aaec787fb6fb= 14be1c366 Author: Anthony Liguori Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M audio/audio.c M audio/paaudio.c M hw/audio/adlib.c M hw/audio/intel-hda.c Log Message: ----------- Merge remote-tracking branch 'kraxel/tags/pull-audio-1' into staging Change audio wakeup rate from 250 Hz to 100 Hz. Emulation bugfixes for intel-hda and adlib. # gpg: Signature made Mon 09 Dec 2013 06:04:16 AM PST using RSA key ID D3= E87138 # gpg: Can't check signature: public key not found # By Gerd Hoffmann (2) and others # Via Gerd Hoffmann * kraxel/tags/pull-audio-1: intel-hda: fix position buffer adlib: fix patching of port I/O addresses audio: adjust pulse to 100Hz wakeup rate audio: Lower default wakeup rate to 100 times / second Message-id: 1386597974-26506-1-git-send-email-kraxel@redhat.com Signed-off-by: Anthony Liguori Commit: 1ead3ed55584a62a12d840a71d3aab71f12ec42e https://github.com/qemu/qemu/commit/1ead3ed55584a62a12d840a71d3aab7= 1f12ec42e Author: Anthony Liguori Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M default-configs/arm-softmmu.mak M device_tree.c M fpu/softfloat.c M hw/arm/Makefile.objs M hw/arm/boot.c M hw/arm/integratorcp.c A hw/arm/virt.c M hw/cpu/a9mpcore.c M hw/net/cadence_gem.c M hw/timer/Makefile.objs A hw/timer/a9gtimer.c M include/fpu/softfloat.h M include/hw/arm/arm.h M include/hw/cpu/a9mpcore.h A include/hw/timer/a9gtimer.h M target-arm/cpu-qom.h M target-arm/cpu.c M target-arm/cpu.h M target-arm/helper.c M target-arm/helper.h A target-arm/kvm-consts.h M target-arm/kvm.c M target-arm/kvm_arm.h M target-arm/translate.c Log Message: ----------- Merge remote-tracking branch 'pmaydell/tags/pull-target-arm-20131210' i= nto staging target-arm queue: * support REFCNT register on integrator/cp board * implement the A9MP's global timer * add the 'virt' platform * support '-cpu host' on KVM/ARM * Cadence GEM ethernet device bugfixes * Implement 32-bit ARMv8 VSEL, VMAXNM, VMINNM * fix TTBCR write masking * update 32 bit decoder to use new qemu_ld/st TCG opcodes # gpg: Signature made Tue 10 Dec 2013 06:22:01 AM PST using RSA key ID 14= 360CDE # gpg: Can't check signature: public key not found # By Peter Crosthwaite (16) and others # Via Peter Maydell * pmaydell/tags/pull-target-arm-20131210: (37 commits) target-arm: fix TTBCR write masking target-arm: Use new qemu_ld/st opcodes target-arm: Implement ARMv8 SIMD VMAXNM and VMINNM instructions. target-arm: Implement ARMv8 FP VMAXNM and VMINNM instructions. softfloat: Add minNum() and maxNum() functions to softfloat. softfloat: Remove unused argument from MINMAX macro. target-arm: Implement ARMv8 VSEL instruction. target-arm: Move call to disas_vfp_insn out of disas_coproc_insn. net/cadence_gem: Don't rx packets when no rx buffer available net/cadence_gem: Improve can_receive debug printfery net/cadence_gem: Fix register w1c logic net/cadence_gem: Fix small packet FCS stripping net/cadence_gem: Fix rx multi-fragment packets net/cadence_gem: Add missing VMSTATE_END_OF_LIST net/cadence_gem: Implement SAR (de)activation net/cadence_gem: Implement SAR match bit in rx desc net/cadence_gem: Implement RX descriptor match mode flags net/cadence_gem: Prefetch rx descriptors ASAP net/cadence_gem: simplify rx buf descriptor walking net/cadence_gem: Don't assert against 0 buffer address ... Message-id: 1386686613-2390-1-git-send-email-peter.maydell@linaro.org Signed-off-by: Anthony Liguori Commit: b9aad5d68d0fa636d1a1edbbeffa0d7a80370711 https://github.com/qemu/qemu/commit/b9aad5d68d0fa636d1a1edbbeffa0d7= a80370711 Author: Anthony Liguori Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M MAINTAINERS M configure M hmp-commands.hx M hw/net/virtio-net.c M net/Makefile.objs M net/clients.h M net/net.c A net/netmap.c M qapi-schema.json M qemu-options.hx Log Message: ----------- Merge remote-tracking branch 'stefanha/net-next' into staging # By Vincenzo Maffione (2) and others # Via Stefan Hajnoczi * stefanha/net-next: net: Update netdev peer on link change virtio-net: don't update mac_table in error state MAINTAINERS: Add netmap maintainers net: Adding netmap network backend Message-id: 1386594692-21278-1-git-send-email-stefanha@redhat.com Signed-off-by: Anthony Liguori Commit: 6747f6456fd1e5e986b6385ff5d706c79ebd8a32 https://github.com/qemu/qemu/commit/6747f6456fd1e5e986b6385ff5d706c= 79ebd8a32 Author: Anthony Liguori Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M tcg/tcg.c M tcg/tcg.h Log Message: ----------- Merge remote-tracking branch 'rth/tcg-temp-order' into staging # By Richard Henderson # Via Richard Henderson * rth/tcg-temp-order: tcg: Use bitmaps for free temporaries Message-id: 1386698065-6661-1-git-send-email-rth@twiddle.net Signed-off-by: Anthony Liguori Compare: https://github.com/qemu/qemu/compare/8f84271da83c...6747f6456fd1= ----==_mimepart_52a7b20f286d7_15ee5dd507576f-- From MAILER-DAEMON Thu Dec 12 20:30:19 2013 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VrHa7-000212-Il for mharc-qemu-commits@gnu.org; Thu, 12 Dec 2013 20:30:19 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59667) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrHa1-00020l-Bn for qemu-commits@nongnu.org; Thu, 12 Dec 2013 20:30:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VrHZv-0005PO-U2 for qemu-commits@nongnu.org; Thu, 12 Dec 2013 20:30:13 -0500 Received: from m69-169.mailgun.net ([166.78.69.169]:44087) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrHZv-0005Ou-Pv for qemu-commits@nongnu.org; Thu, 12 Dec 2013 20:30:07 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=github.com; q=dns/txt; s=mailo; t=1386898207; h=Date: From: Reply-To: To: Message-Id: Subject: Mime-Version: Content-Type: Content-Transfer-Encoding: Sender; bh=3Hx4KzYOKbrzzq/H/bk55RihuMJBtDakhYzRmRRyYMY=; b=GiC6rXBCuKn4u8OFZolM/SwAJFDx4XunCCZouF7ju9jBvsj7MFMr1qytrfr6sR3UO7dWAxMY DQugdH+cSPtzov2cy08p776Xu7sJikt05nHBdqMB0fCNBexsAoho0sdqxnZrbLN4VtDGL0K3 /fIL3VAd9iv0l3P4qAvAmZOgz5s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=github.com; s=mailo; q=dns; h=Date: From: Reply-To: To: Message-Id: Subject: Mime-Version: Content-Type: Content-Transfer-Encoding: Sender; b=zNTWwxl12v3qLBcGvFsWFraepzK6hZemjPQNXYgLCxgzfkARRJJubDEecyvV7AmXH++5PL hBdP6TwYry7KqnQTAl/F3FX/1UlBZrGGtqJ5yC4d1xoRpEr5TNLPEdKUT9IA6WJYPxZ11+a8 XnUBEUj1qu+Se/Y5dGoaRzA4pFM54= Received: from github.com (Unknown [192.30.252.51]) by mxa.mailgun.org with ESMTP id 52aa631d.59a5750-in1; Fri, 13 Dec 2013 01:30:05 -0000 (UTC) Date: Thu, 12 Dec 2013 17:30:05 -0800 From: GitHub To: qemu-commits@nongnu.org Message-Id: <52aa631d6264d_655b1117d48199bb@hookshot-fe2-pe1-prd.aws.github.net.mail> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="--==_mimepart_52aa631d61d9c_655b1117d4819818"; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Mailgun-Sid: WyI1YjNlZCIsICJxZW11LWNvbW1pdHNAbm9uZ251Lm9yZyIsICI0MGYiXQ== Sender: noreply@github.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 166.78.69.169 Subject: [Qemu-commits] [qemu/qemu] 47acdd: target-microblaze: Use the new qemu_ld/st opcodes X-BeenThere: qemu-commits@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: GitHub List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Dec 2013 01:30:18 -0000 ----==_mimepart_52aa631d61d9c_655b1117d4819818 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: 47acdd63a33a5966bf4fc94a6ac835d72a70c555 https://github.com/qemu/qemu/commit/47acdd63a33a5966bf4fc94a6ac835d72a70c555 Author: Richard Henderson Date: 2013-12-12 (Thu, 12 Dec 2013) Changed paths: M target-microblaze/translate.c Log Message: ----------- target-microblaze: Use the new qemu_ld/st opcodes The ability of the new opcodes to byte-swap the memory operation simplifies the code in and around dec_load and dec_store significantly. Reviewed-by: Edgar E. Iglesias Tested-by: Edgar E. Iglesias Cc: Edgar E. Iglesias Signed-off-by: Richard Henderson Signed-off-by: Edgar E. Iglesias ----==_mimepart_52aa631d61d9c_655b1117d4819818-- From MAILER-DAEMON Fri Dec 13 14:30:24 2013 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VrYRM-0006oN-UV for mharc-qemu-commits@gnu.org; Fri, 13 Dec 2013 14:30:24 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54585) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrYRF-0006jr-2s for qemu-commits@nongnu.org; Fri, 13 Dec 2013 14:30:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VrYR9-0000jj-JX for qemu-commits@nongnu.org; Fri, 13 Dec 2013 14:30:17 -0500 Received: from m69-170.mailgun.net ([166.78.69.170]:54115) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrYR9-0000jV-A8 for qemu-commits@nongnu.org; Fri, 13 Dec 2013 14:30:11 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=github.com; q=dns/txt; s=mailo; t=1386963010; h=Date: From: Reply-To: To: Message-Id: Subject: Mime-Version: Content-Type: Content-Transfer-Encoding: Sender; bh=LmDaitFdLhBfX8+3+/dXlhkvHbLIUv9PQ4FzyC1UDzs=; b=T2PPLl+EV5KGSd8XIVbe1ln2NU5YK/zRI9rcmx0wmJqfArulUU7SVkOcCBwpu7nS44iy5TTo rLgyjCO+ESz2a4dhb65RhEnCdCxmQCv0CChULxQVxYr15XVTCLeLxagIQ7dly8i4kKfdbHdS bztzk0bdnupE1PR2X4KPE63H+3M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=github.com; s=mailo; q=dns; h=Date: From: Reply-To: To: Message-Id: Subject: Mime-Version: Content-Type: Content-Transfer-Encoding: Sender; b=oFm7lL7dkKJEocR4Z6N9qtd8Ggo4t/SxM4aQUI2gXeJJBQsg1/bugtmeWQAUr38uOC2GLH iO4T3136uySS8BEOX5TDsgLq0PZ4q43QhDgHM3P64e9ltChWhJ8CYtaAzVi/BXauqChL5KRW wiDYx7fy6/2hYPTetCvlZIG2ZAOUA= Received: from github.com (Unknown [192.30.252.54]) by mxa.mailgun.org with ESMTP id 52ab6041.7350810-in2; Fri, 13 Dec 2013 19:30:09 -0000 (UTC) Date: Fri, 13 Dec 2013 11:30:08 -0800 From: GitHub To: qemu-commits@nongnu.org Message-Id: <52ab6040a4af4_62dd81fd587165d@hookshot-fe2-pe1-prd.aws.github.net.mail> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="--==_mimepart_52ab6040a41bf_62dd81fd5871583"; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Mailgun-Sid: WyI1YjNlZCIsICJxZW11LWNvbW1pdHNAbm9uZ251Lm9yZyIsICI0MGYiXQ== Sender: noreply@github.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 166.78.69.170 Subject: [Qemu-commits] [qemu/qemu] d12ad4: scsi-bus: fix transfer length and direction for VE... X-BeenThere: qemu-commits@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: GitHub List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Dec 2013 19:30:22 -0000 ----==_mimepart_52ab6040a41bf_62dd81fd5871583 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: d12ad44cc4cc9142179e64295608611f118b8ad8 https://github.com/qemu/qemu/commit/d12ad44cc4cc9142179e64295608611= f118b8ad8 Author: Paolo Bonzini Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/scsi/scsi-bus.c Log Message: ----------- scsi-bus: fix transfer length and direction for VERIFY command The amount of bytes to transfer depends on the BYTCHK field. If any data is transferred, it is sent to the device. Cc: qemu-stable@nongnu.org Tested-by: Herv=C3=A9 Poussineau Signed-off-by: Paolo Bonzini Commit: d97e7730816094a71cd1f19a56d7a73f77cdbf96 https://github.com/qemu/qemu/commit/d97e7730816094a71cd1f19a56d7a73= f77cdbf96 Author: Paolo Bonzini Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/scsi/scsi-disk.c Log Message: ----------- scsi-disk: fix VERIFY emulation VERIFY emulation was completely botched (and remained botched through all the refactorings). The command must be emulated both in check-medium= mode (BYTCHK=3D00, which we implement by doing nothing) and in check-byte= s mode (which we do not implement yet). Unlike WRITE AND VERIFY (which we treat simply as WRITE with FUA bit set), VERIFY cannot be handled like READ. In fact the device is _receiving_ data for VERIFY, not _sending_ it like READ. Cc: qemu-stable@nongnu.org Tested-by: Herv=C3=A9 Poussineau Signed-off-by: Paolo Bonzini Commit: 063c3378a9e3c25cc0afac3c72e4823d0621e352 https://github.com/qemu/qemu/commit/063c3378a9e3c25cc0afac3c72e4823= d0621e352 Author: Peter Lieven Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M block/iscsi.c M configure Log Message: ----------- block/iscsi: introduce bdrv_co_{readv, writev, flush_to_disk} this converts read, write and flush functions from aio to coroutines eliminating almost 200 lines of code. The requirement for libiscsi is bumped to version 1.4.0 which was released in may 2012. Signed-off-by: Peter Lieven Signed-off-by: Paolo Bonzini Commit: 98e33f1b0eff84d9538cf957dde48c3f67f6f9d8 https://github.com/qemu/qemu/commit/98e33f1b0eff84d9538cf957dde48c3= f67f6f9d8 Author: Paolo Bonzini Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/scsi/scsi-disk.c Log Message: ----------- scsi-disk: fix WRITE SAME with large non-zero payload Due to a thinko in the patch that implemented WRITE SAME. Signed-off-by: Paolo Bonzini Commit: 2fe3798cd5fab65ee7c86758b1b7701d7fe3709f https://github.com/qemu/qemu/commit/2fe3798cd5fab65ee7c86758b1b7701= d7fe3709f Author: Paolo Bonzini Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M qemu-options.hx Log Message: ----------- help: add id suboption to -iscsi Signed-off-by: Paolo Bonzini Commit: 0b81c1ef5c677c2a07be5f8bf0dfe2c62ef52115 https://github.com/qemu/qemu/commit/0b81c1ef5c677c2a07be5f8bf0dfe2c= 62ef52115 Author: Paolo Bonzini Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/s390x/virtio-ccw.c Log Message: ----------- virtio-ccw: move virtio_ccw_stop_ioeventfd to virtio_ccw_busdev_unplug Similar to the PCI bug that prompted these patches, virtio-ccw will segfault after the reworking of hotplug/hot-unplug. Prepare for this by moving virtio_ccw_stop_ioeventfd to before the freeing of the proxy device. A better place for this could be the device_unplugged callback for the virtio-ccw bus. However, we do not yet have a callback that works: this patch avoids the problem while leaving the tree bisectable. Cc: qemu-stable@nongnu.org Reported-by: Cornelia Huck Suggested-by: Cornelia Huck Reviewed-by: Cornelia Huck Acked-by: Andreas Faerber Signed-off-by: Paolo Bonzini Commit: 06d3dff0723c712a4b109ced4243edf49ef850af https://github.com/qemu/qemu/commit/06d3dff0723c712a4b109ced4243edf= 49ef850af Author: Paolo Bonzini Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/virtio/virtio-bus.c M hw/virtio/virtio-mmio.c M hw/virtio/virtio-pci.c M include/hw/virtio/virtio-bus.h Log Message: ----------- virtio-bus: remove vdev field The vdev field is complicated to synchronize. Just access the BusState's list of children. Cc: qemu-stable@nongnu.org Acked-by: Andreas Faerber Signed-off-by: Paolo Bonzini Commit: f24a684073bcdaf4e9d3c592345744ba3356d9e3 https://github.com/qemu/qemu/commit/f24a684073bcdaf4e9d3c592345744b= a3356d9e3 Author: Paolo Bonzini Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/s390x/virtio-ccw.c M hw/s390x/virtio-ccw.h Log Message: ----------- virtio-ccw: remove vdev field The vdev field is complicated to synchronize. Just access the BusState's list of children. Cc: qemu-stable@nongnu.org Reviewed-by: Cornelia Huck Acked-by: Andreas Faerber Signed-off-by: Paolo Bonzini Commit: a3fc66d9fd37acbfcee013692246a8ae42bd93bb https://github.com/qemu/qemu/commit/a3fc66d9fd37acbfcee013692246a8a= e42bd93bb Author: Paolo Bonzini Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/virtio/virtio-pci.c M hw/virtio/virtio-pci.h Log Message: ----------- virtio-pci: remove vdev field The vdev field is complicated to synchronize. Just access the BusState's list of children. Cc: qemu-stable@nongnu.org Acked-by: Andreas Faerber Signed-off-by: Paolo Bonzini Commit: 5e96f5d2f8d2696ef7d2d8d7282c18fa6023470b https://github.com/qemu/qemu/commit/5e96f5d2f8d2696ef7d2d8d7282c18f= a6023470b Author: Paolo Bonzini Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/virtio/virtio-bus.c M hw/virtio/virtio.c M include/hw/virtio/virtio-bus.h M include/hw/virtio/virtio.h Log Message: ----------- virtio-bus: cleanup plug/unplug interface Right now we have these pairs: - virtio_bus_plug_device/virtio_bus_destroy_device. The first takes a VirtIODevice, the second takes a VirtioBusState - device_plugged/device_unplug callbacks in the VirtioBusClass (here it's just the naming that is inconsistent) - virtio_bus_destroy_device is not called by anyone (and since it calls qdev_free, it would be called by the proxies---but then the callback is useless since the proxies can do whatever they want before calling virtio_bus_destroy_device) And there is a k->init but no k->exit, hence virtio_device_exit is overwritten by subclasses (except virtio-9p). This cleans it up by: - renaming the device_unplug callback to device_unplugged - renaming virtio_bus_plug_device to virtio_bus_device_plugged, matching the callback name - renaming virtio_bus_destroy_device to virtio_bus_device_unplugged, removing the qdev_free, making it take a VirtIODevice and calling it from virtio_device_exit - adding a k->exit callback virtio_device_exit is still overwritten, the next patches will fix that. Cc: qemu-stable@nongnu.org Acked-by: Andreas Faerber Signed-off-by: Paolo Bonzini Commit: 40dfc16f5fe0afb66f9436718781264dfadb6c61 https://github.com/qemu/qemu/commit/40dfc16f5fe0afb66f9436718781264= dfadb6c61 Author: Paolo Bonzini Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/block/virtio-blk.c Log Message: ----------- virtio-blk: switch exit callback to VirtioDeviceClass This ensures hot-unplug is handled properly by the proxy, and avoids leaking bus_name which is freed by virtio_device_exit. Cc: qemu-stable@nongnu.org Acked-by: Andreas Faerber Signed-off-by: Paolo Bonzini Commit: 0e86c13fe2058adb8c792ebb7c51a6a7ca9d3d55 https://github.com/qemu/qemu/commit/0e86c13fe2058adb8c792ebb7c51a6a= 7ca9d3d55 Author: Paolo Bonzini Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/char/virtio-serial-bus.c Log Message: ----------- virtio-serial: switch exit callback to VirtioDeviceClass This ensures hot-unplug is handled properly by the proxy, and avoids leaking bus_name which is freed by virtio_device_exit. Cc: qemu-stable@nongnu.org Acked-by: Andreas Faerber Signed-off-by: Paolo Bonzini Commit: 3786cff5eb384d058395a2729af627fa3253d056 https://github.com/qemu/qemu/commit/3786cff5eb384d058395a2729af627f= a3253d056 Author: Paolo Bonzini Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/net/virtio-net.c Log Message: ----------- virtio-net: switch exit callback to VirtioDeviceClass This ensures hot-unplug is handled properly by the proxy, and avoids leaking bus_name which is freed by virtio_device_exit. Cc: qemu-stable@nongnu.org Acked-by: Andreas Faerber Signed-off-by: Paolo Bonzini Commit: e3c9d76acc984218264bbc6435b0c09f959ed9b8 https://github.com/qemu/qemu/commit/e3c9d76acc984218264bbc6435b0c09= f959ed9b8 Author: Paolo Bonzini Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/scsi/vhost-scsi.c M hw/scsi/virtio-scsi.c M include/hw/virtio/virtio-scsi.h Log Message: ----------- virtio-scsi: switch exit callback to VirtioDeviceClass This ensures hot-unplug is handled properly by the proxy, and avoids leaking bus_name which is freed by virtio_device_exit. Cc: qemu-stable@nongnu.org Acked-by: Andreas Faerber Signed-off-by: Paolo Bonzini Commit: baa61b9870dd7e0bb07e0ae61c6ec805db13f699 https://github.com/qemu/qemu/commit/baa61b9870dd7e0bb07e0ae61c6ec80= 5db13f699 Author: Paolo Bonzini Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/virtio/virtio-balloon.c Log Message: ----------- virtio-balloon: switch exit callback to VirtioDeviceClass This ensures hot-unplug is handled properly by the proxy, and avoids leaking bus_name which is freed by virtio_device_exit. Cc: qemu-stable@nongnu.org Acked-by: Andreas Faerber Signed-off-by: Paolo Bonzini Commit: 7bb6edb0e3dd78d74e0ac980cf6c0a07307f61bf https://github.com/qemu/qemu/commit/7bb6edb0e3dd78d74e0ac980cf6c0a0= 7307f61bf Author: Paolo Bonzini Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/virtio/virtio-rng.c Log Message: ----------- virtio-rng: switch exit callback to VirtioDeviceClass This ensures hot-unplug is handled properly by the proxy, and avoids leaking bus_name which is freed by virtio_device_exit. Cc: qemu-stable@nongnu.org Acked-by: Andreas Faerber Signed-off-by: Paolo Bonzini Commit: 06a1307379fcd6c551185ad87679cd7ed896b9ea https://github.com/qemu/qemu/commit/06a1307379fcd6c551185ad87679cd7= ed896b9ea Author: Paolo Bonzini Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/virtio/virtio-pci.c Log Message: ----------- virtio-pci: add device_unplugged callback This fixes a crash in hot-unplug of virtio-pci devices behind a PCIe switch. The crash happens because the ioeventfd is still set whent the child is destroyed (destruction happens in postorder). Then the proxy tries to unset to ioeventfd, but the virtqueue structure that holds the EventNotifier has been trashed in the meanwhile. kvm_set_ioeventfd_pio does not expect failure and aborts. The fix is simply to move parts of uninitialization to a new device_unplugged callback, which is called before the child is destroyed.= Cc: qemu-stable@nongnu.org Acked-by: Andreas Faerber Signed-off-by: Paolo Bonzini Commit: 3ffeeef735fdb52ffee2eed4fb398f3a1199728f https://github.com/qemu/qemu/commit/3ffeeef735fdb52ffee2eed4fb398f3= a1199728f Author: Andreas F=C3=A4rber Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/block/dataplane/virtio-blk.c M hw/block/dataplane/virtio-blk.h M hw/block/virtio-blk.c Log Message: ----------- virtio-blk-dataplane: Improve error reporting Return an Error so that it can be propagated later. Tested-by: Stefan Hajnoczi Acked-by: Stefan Hajnoczi [AF: Rebased] Signed-off-by: Andreas F=C3=A4rber Signed-off-by: Paolo Bonzini Commit: 0f3657ec3664b340ae20b461a7e15dbdac129179 https://github.com/qemu/qemu/commit/0f3657ec3664b340ae20b461a7e15db= dac129179 Author: Andreas F=C3=A4rber Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/9pfs/virtio-9p-device.c Log Message: ----------- virtio-9p: QOM realize preparations Avoid unnecessary VIRTIO_DEVICE(). Signed-off-by: Andreas F=C3=A4rber Signed-off-by: Paolo Bonzini Commit: 179b417e17ada41dce4e8112bea0a78a70b6162c https://github.com/qemu/qemu/commit/179b417e17ada41dce4e8112bea0a78= a70b6162c Author: Andreas F=C3=A4rber Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/block/virtio-blk.c Log Message: ----------- virtio-blk: QOM realize preparations Rename variable qdev -> dev since that's what realize's argument is calle= d by convention. Signed-off-by: Andreas F=C3=A4rber Signed-off-by: Paolo Bonzini Commit: b1a20c3fcab96832c3813e9e7162748f325e0c82 https://github.com/qemu/qemu/commit/b1a20c3fcab96832c3813e9e7162748= f325e0c82 Author: Andreas F=C3=A4rber Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/char/virtio-serial-bus.c Log Message: ----------- virtio-serial: QOM realize preparations Signed-off-by: Andreas F=C3=A4rber Signed-off-by: Paolo Bonzini Commit: 284a32f0b33dce4e77e896168387b8dca90c4bea https://github.com/qemu/qemu/commit/284a32f0b33dce4e77e896168387b8d= ca90c4bea Author: Andreas F=C3=A4rber Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/net/virtio-net.c Log Message: ----------- virtio-net: QOM realize preparations Rename variable qdev -> dev since that's what realize's argument is called by convention. Avoid duplicate VIRTIO_DEVICE() cast. Signed-off-by: Andreas F=C3=A4rber Signed-off-by: Paolo Bonzini Commit: a546fb174162b0186fe6c275476cb45e5cafa68c https://github.com/qemu/qemu/commit/a546fb174162b0186fe6c275476cb45= e5cafa68c Author: Andreas F=C3=A4rber Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/virtio/virtio-balloon.c Log Message: ----------- virtio-balloon: QOM realize preparations Rename qdev -> dev since that's what realize's argument is called by convention. No need to keep more "qdev" around than necessary. Avoid duplicate VIRTIO_DEVICE() cast. Signed-off-by: Andreas F=C3=A4rber Signed-off-by: Paolo Bonzini Commit: af7671fdc530dd597b1ddb4561f5ffc0d534c44c https://github.com/qemu/qemu/commit/af7671fdc530dd597b1ddb4561f5ffc= 0d534c44c Author: Andreas F=C3=A4rber Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/virtio/virtio-rng.c Log Message: ----------- virtio-rng: QOM realize preparations Rename qdev -> dev because that's what realize's argument is called by convention. No need to keep more "qdev" around than necessary. Signed-off-by: Andreas F=C3=A4rber Signed-off-by: Paolo Bonzini Commit: 7598f0f30e027146ba70517a2bda98d16bac1e24 https://github.com/qemu/qemu/commit/7598f0f30e027146ba70517a2bda98d= 16bac1e24 Author: Andreas F=C3=A4rber Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/scsi/virtio-scsi.c Log Message: ----------- virtio-scsi: QOM realize preparations Rename qdev -> dev since that's what realize's argument is called by convention. No need to keep more "qdev" around than necessary. Avoid duplicate VIRTIO_DEVICE() cast. Signed-off-by: Andreas F=C3=A4rber Signed-off-by: Paolo Bonzini Commit: 1d244b42d200c02ad60eb564c75d8adea9243366 https://github.com/qemu/qemu/commit/1d244b42d200c02ad60eb564c75d8ad= ea9243366 Author: Andreas F=C3=A4rber Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/virtio/virtio.c M include/hw/virtio/virtio.h Log Message: ----------- virtio: Start converting VirtioDevice to QOM realize Temporarily allow either VirtioDeviceClass::init or VirtioDeviceClass::realize. Introduce VirtioDeviceClass::unrealize for symmetry. Signed-off-by: Andreas F=C3=A4rber Signed-off-by: Paolo Bonzini Commit: 59be75227d3985c9f0a9f5396fc64e357a54defb https://github.com/qemu/qemu/commit/59be75227d3985c9f0a9f5396fc64e3= 57a54defb Author: Andreas F=C3=A4rber Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/9pfs/virtio-9p-device.c Log Message: ----------- virtio-9p: Convert to QOM realize Signed-off-by: Andreas F=C3=A4rber Signed-off-by: Paolo Bonzini Commit: 75884afd5c6c42e523b08565e289dbe319e17ad9 https://github.com/qemu/qemu/commit/75884afd5c6c42e523b08565e289dbe= 319e17ad9 Author: Andreas F=C3=A4rber Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/block/virtio-blk.c M tests/qdev-monitor-test.c Log Message: ----------- virtio-blk: Convert to QOM realize Signed-off-by: Andreas F=C3=A4rber Signed-off-by: Paolo Bonzini Commit: 863462440d646098d2b83fb0ffa5f165e7f90511 https://github.com/qemu/qemu/commit/863462440d646098d2b83fb0ffa5f16= 5e7f90511 Author: Andreas F=C3=A4rber Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/char/virtio-serial-bus.c Log Message: ----------- virtio-serial: Convert to QOM realize Signed-off-by: Andreas F=C3=A4rber Signed-off-by: Paolo Bonzini Commit: e6f746b380ad04246e5cce621f174355f39addcd https://github.com/qemu/qemu/commit/e6f746b380ad04246e5cce621f17435= 5f39addcd Author: Andreas F=C3=A4rber Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/net/virtio-net.c Log Message: ----------- virtio-net: Convert to QOM realize Signed-off-by: Andreas F=C3=A4rber Signed-off-by: Paolo Bonzini Commit: 74def47c8c1453a48f9bd61633050cc681e67fba https://github.com/qemu/qemu/commit/74def47c8c1453a48f9bd61633050cc= 681e67fba Author: Andreas F=C3=A4rber Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/virtio/virtio-balloon.c Log Message: ----------- virtio-balloon: Convert to QOM realize Signed-off-by: Andreas F=C3=A4rber Signed-off-by: Paolo Bonzini Commit: a8d57dfb28bd8fd8ebddf08d0cfafdcb61a764fb https://github.com/qemu/qemu/commit/a8d57dfb28bd8fd8ebddf08d0cfafdc= b61a764fb Author: Andreas F=C3=A4rber Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/virtio/virtio-rng.c M include/hw/virtio/virtio-rng.h Log Message: ----------- virtio-rng: Convert to QOM realize Signed-off-by: Andreas F=C3=A4rber Signed-off-by: Paolo Bonzini Commit: 71a6520b83414b4ebe3ecfdee3dc3a70db98c91f https://github.com/qemu/qemu/commit/71a6520b83414b4ebe3ecfdee3dc3a7= 0db98c91f Author: Andreas F=C3=A4rber Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/scsi/vhost-scsi.c M hw/scsi/virtio-scsi.c M include/hw/virtio/virtio-scsi.h Log Message: ----------- virtio-scsi: Convert to QOM realize Signed-off-by: Andreas F=C3=A4rber Signed-off-by: Paolo Bonzini Commit: 0ba94b6f94a5b0bed9f125ce4c3348adc83db5de https://github.com/qemu/qemu/commit/0ba94b6f94a5b0bed9f125ce4c3348a= dc83db5de Author: Andreas F=C3=A4rber Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/scsi/virtio-scsi.c M hw/virtio/virtio.c M include/hw/virtio/virtio.h Log Message: ----------- virtio: Complete converting VirtioDevice to QOM realize Drop VirtioDeviceClass::init. Signed-off-by: Andreas F=C3=A4rber Signed-off-by: Paolo Bonzini Commit: 306ec6c3cece7004429c79c1ac93d49919f1f1cc https://github.com/qemu/qemu/commit/306ec6c3cece7004429c79c1ac93d49= 919f1f1cc Author: Andreas F=C3=A4rber Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/block/virtio-blk.c M hw/char/virtio-serial-bus.c M hw/net/virtio-net.c M hw/scsi/vhost-scsi.c M hw/scsi/virtio-scsi.c M hw/virtio/virtio-balloon.c M hw/virtio/virtio-rng.c M hw/virtio/virtio.c M include/hw/virtio/virtio-scsi.h M include/hw/virtio/virtio.h Log Message: ----------- virtio: Convert exit to unrealize Signed-off-by: Andreas F=C3=A4rber Signed-off-by: Paolo Bonzini Commit: e689f7c668cbd9d08f330e17c3dd3a059c9553d3 https://github.com/qemu/qemu/commit/e689f7c668cbd9d08f330e17c3dd3a0= 59c9553d3 Author: Markus Armbruster Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M include/hw/boards.h M vl.c Log Message: ----------- hw: Pass QEMUMachine to its init() method Put it in QEMUMachineInitArgs, so I don't have to touch every board. Reviewed-by: Andreas F=C3=A4rber Reviewed-by: Eduardo Habkost Reviewed-by: Michael S. Tsirkin Signed-off-by: Markus Armbruster Signed-off-by: Michael S. Tsirkin Commit: 83d08f2673504a299194dcac1657a13754b5932a https://github.com/qemu/qemu/commit/83d08f2673504a299194dcac1657a13= 754b5932a Author: Michael S. Tsirkin Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M hw/i386/pc.c M hw/i386/pc_piix.c M hw/pci-host/piix.c M hw/pci-host/q35.c M include/hw/i386/pc.h M include/hw/pci-host/q35.h Log Message: ----------- pc: map PCI address space as catchall region for not mapped addresses With a help of negative memory region priority PCI address space is mapped underneath RAM regions effectively catching every access to addresses not mapped by any other region. It simplifies PCI address space mapping into system address space. Signed-off-by: Michael S. Tsirkin Signed-off-by: Igor Mammedov Commit: d4fce24f3a59eda081cdf2e38e7001591b95d173 https://github.com/qemu/qemu/commit/d4fce24f3a59eda081cdf2e38e70015= 91b95d173 Author: Paolo Bonzini Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M include/sysemu/qtest.h M qtest.c M vl.c Log Message: ----------- qtest: split configuration of qtest accelerator and chardev qtest uses the icount infrastructure to implement a test-driven vm_clock.= This however is not necessary when using -qtest as a "probe" together with a n= ormal TCG-, KVM- or Xen-based virtual machine. Hence, split out the call to configure_icount into a new function that is called only for "-machine accel=3Dqtest"; and disable those commands when running with an accelerat= or other than qtest. This also fixes an assertion failure with "qemu-system-x86_64 -machine accel=3Dqtest" but no -qtest option. This is a valid case, albeit somewh= at weird; nothing will happen in the VM but you'll still be able to interact with the monitor or the GUI. Now that qtest_init is not limited to an int(void) function, change global variables that are not used outside qtest_init to arguments. And finally, cleanup useless parts of include/sysemu/qtest.h. The file is not used at all for user-only emulation, and qtest is not available on Win32 due to its usage of sigwait. Reported-by: Michael S. Tsirkin Reviewed-by: Michael S. Tsirkin Tested-by: Michael S. Tsirkin Signed-off-by: Paolo Bonzini Signed-off-by: Michael S. Tsirkin Commit: ad6423a7fbbaedc4ec1ed41a9688ca4a10909e89 https://github.com/qemu/qemu/commit/ad6423a7fbbaedc4ec1ed41a9688ca4= a10909e89 Author: Michael S. Tsirkin Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M tests/Makefile A tests/acpi-test.c Log Message: ----------- acpi-test: basic acpi unit-test We run bios, and boot a minimal boot sector that immediately halts. Then poke at memory to find ACPI tables. This only checks that RSDP is there. More will be added later. Cc: Andreas F=C3=A4rber Cc: Markus Armbruster Cc: Paolo Bonzini Signed-off-by: Michael S. Tsirkin Commit: 046a648661517f63496aaa34ed2647c77cc2ebe5 https://github.com/qemu/qemu/commit/046a648661517f63496aaa34ed2647c= 77cc2ebe5 Author: Michael S. Tsirkin Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M MAINTAINERS Log Message: ----------- MAINTAINERS: update X86 machine entry Add a bunch of files missing, and add self as maintainer. Since I'm hacking on these anyway, it will be helpful if people Cc me on patches. Anthony gets to review everything anyway ... Signed-off-by: Michael S. Tsirkin Commit: cf252e5173e46aa4956b88a95fd09ef7eb38b8a6 https://github.com/qemu/qemu/commit/cf252e5173e46aa4956b88a95fd09ef= 7eb38b8a6 Author: Michael S. Tsirkin Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M hw/pci/pci_bridge.c Log Message: ----------- pci: fix address space size for bridge Address space size for bridge should be full 64 bit, so we should use UINT64_MAX not INT64_MAX as it's size. Signed-off-by: Michael S. Tsirkin Commit: 286690e34ce04fa29bf812ef2bb7b32c3e7c3b85 https://github.com/qemu/qemu/commit/286690e34ce04fa29bf812ef2bb7b32= c3e7c3b85 Author: Paolo Bonzini Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M hw/i386/pc_piix.c M hw/i386/pc_q35.c Log Message: ----------- pc: s/INT64_MAX/UINT64_MAX/ It doesn't make sense for a region to be INT64_MAX in size: memory core uses UINT64_MAX as a special value meaning "all 64 bit" this is what was meant here. While this should never affect the PC system which at the moment always has < 63 bit size, this makes us hit all kind of corner case bugs with sub-pages, so users are probably better off if we just use UINT64_MAX instead. Reported-by: Luiz Capitulino Tested-by: Luiz Capitulino Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Commit: 92b8e39c7f582e15f9e9423bc9fd3f186536b073 https://github.com/qemu/qemu/commit/92b8e39c7f582e15f9e9423bc9fd3f1= 86536b073 Author: Michael S. Tsirkin Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M hw/ppc/spapr_pci.c Log Message: ----------- spapr_pci: s/INT64_MAX/UINT64_MAX/ It doesn't make sense for a region to be INT64_MAX in size: memory core uses UINT64_MAX as a special value meaning "all 64 bit" this is what was meant here. While this should never affect the spapr system which at the moment alway= s has < 63 bit size, this makes us hit all kind of corner case bugs with sub-pages, so users are probably better off if we just use UINT64_MAX instead. Signed-off-by: Michael S. Tsirkin Acked-by: Alexander Graf Commit: 03f4995781a64e106e6f73864a1e9c4163dac53b https://github.com/qemu/qemu/commit/03f4995781a64e106e6f73864a1e9c4= 163dac53b Author: Paolo Bonzini Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M exec.c M translate-all.c M translate-all.h Log Message: ----------- split definitions for exec.c and translate-all.c radix trees The exec.c and translate-all.c radix trees are quite different, and the exec.c one in particular is not limited to the CPU---it can be used also by devices that do DMA, and in that case the address space is not limited to TARGET_PHYS_ADDR_SPACE_BITS bits. We want to make exec.c's radix trees 64-bit wide. As a first step, stop sharing the constants between exec.c and translate-all.c. exec.c gets P_L2_* constants, translate-all.c gets V_L2_*, for consistency with the existing V_L1_* symbols. Though actually in the softmmu case translate-all.c is also indexed by physical addresses... This patch has no semantic change. Signed-off-by: Paolo Bonzini Signed-off-by: Michael S. Tsirkin Commit: 9736e55b78dc49b7f3a265932ab32ed360f633e4 https://github.com/qemu/qemu/commit/9736e55b78dc49b7f3a265932ab32ed= 360f633e4 Author: Michael S. Tsirkin Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M exec.c Log Message: ----------- exec: replace leaf with skip In preparation for dynamic radix tree depth support, rename is_leaf field to skip, telling us how many bits to skip to next level. Set to 0 for leaf. Signed-off-by: Michael S. Tsirkin Commit: 8b795765db36544da6193fb64e4e0f1dc55aaa36 https://github.com/qemu/qemu/commit/8b795765db36544da6193fb64e4e0f1= dc55aaa36 Author: Michael S. Tsirkin Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M exec.c Log Message: ----------- exec: extend skip field to 6 bit, page entry to 32 bit Extend skip to 6 bit. As page entry doesn't fit in 16 bit any longer anyway, extend it to 32 bit. This doubles node map memory requirements, but follow-up patches will save this memory. Signed-off-by: Michael S. Tsirkin Commit: 97115a8d4500abeb090b968f01605e0bdafcdfd3 https://github.com/qemu/qemu/commit/97115a8d4500abeb090b968f01605e0= bdafcdfd3 Author: Michael S. Tsirkin Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M exec.c Log Message: ----------- exec: pass hw address to phys_page_find callers always shift by target page bits so let's just do this internally. Signed-off-by: Michael S. Tsirkin Commit: b35ba30f8fa235c779d876ee299b80a2d501d204 https://github.com/qemu/qemu/commit/b35ba30f8fa235c779d876ee299b80a= 2d501d204 Author: Michael S. Tsirkin Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M exec.c Log Message: ----------- exec: memory radix tree page level compression At the moment, memory radix tree is already variable width, but it can only skip the low bits of address. This is efficient if we have huge memory regions but inefficient if we are only using a tiny portion of the address space. After we have built up the map, detect configurations where a single L2 entry is valid. We then speed up the lookup by skipping one or more levels. In case any levels were skipped, we might end up in a valid section instead of erroring out. We handle this by checking that the address is in range of the resulting section. Signed-off-by: Michael S. Tsirkin Commit: 57271d63c4d93352406704d540453c43a4a241a7 https://github.com/qemu/qemu/commit/57271d63c4d93352406704d540453c4= 3a4a241a7 Author: Paolo Bonzini Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M exec.c Log Message: ----------- exec: make address spaces 64-bit wide As an alternative to commit 818f86b (exec: limit system memory size, 2013-11-04) let's just make all address spaces 64-bit wide. This eliminates problems with phys_page_find ignoring bits above TARGET_PHYS_ADDR_SPACE_BITS and address_space_translate_internal consequently messing up the computations. In Luiz's reported crash, at startup gdb attempts to read from address 0xffffffffffffffe6 to 0xffffffffffffffff inclusive. The region it gets is the newly introduced master abort region, which is as big as the PCI address space (see pci_bus_init). Due to a typo that's only 2^63-1, not 2^64. But we get it anyway because phys_page_find ignores the upper bits of the physical address. In address_space_translate_internal then diff =3D int128_sub(section->mr->size, int128_make64(addr)); *plen =3D int128_get64(int128_min(diff, int128_make64(*plen))); diff becomes negative, and int128_get64 booms. The size of the PCI address space region should be fixed anyway. Reported-by: Luiz Capitulino Signed-off-by: Paolo Bonzini Signed-off-by: Michael S. Tsirkin Commit: 026736cebfe0e4a96f0761a2bae62cca92ce2a4e https://github.com/qemu/qemu/commit/026736cebfe0e4a96f0761a2bae62cc= a92ce2a4e Author: Michael S. Tsirkin Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M exec.c Log Message: ----------- exec: reduce L2_PAGE_SIZE With the single exception of ppc with 16M pages, we get the same number of levels with L2_PAGE_SIZE =3D 10 as with L2_PAGE_SIZE =3D 9. by doing this we reduce memory footprint of a single level in the node memory map by 2x without runtime overhead. Signed-off-by: Michael S. Tsirkin Commit: b29ad07ee8ff44115ac9167bba51d1cf59f8649c https://github.com/qemu/qemu/commit/b29ad07ee8ff44115ac9167bba51d1c= f59f8649c Author: Markus Armbruster Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M hw/i386/pc_piix.c M hw/i386/pc_q35.c M hw/i386/smbios.c M include/hw/i386/smbios.h Log Message: ----------- smbios: Set system manufacturer, product & version by default Currently, we get SeaBIOS defaults: manufacturer Bochs, product Bochs, no version. Best SeaBIOS can do, but we can provide better defaults: manufacturer QEMU, product & version taken from QEMUMachine desc and name. Take care to do this only for new machine types, of course. Note: Michael Tsirkin doesn't trust us to keep values of QEMUMachine memb= er product stable in the future. Use copies instead, and in a way that makes it obvious that they're guest ABI. Note that we can be trusted to keep values of member name, because that has always been ABI. Reviewed-by: Eduardo Habkost Reviewed-by: Michael S. Tsirkin Signed-off-by: Markus Armbruster Signed-off-by: Michael S. Tsirkin Commit: 53333801e7bb41487147599e1b16b60ebea74695 https://github.com/qemu/qemu/commit/53333801e7bb41487147599e1b16b60= ebea74695 Author: Marcel Apfelbaum Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M tests/acpi-test.c Log Message: ----------- acpi unit-test: verify signature and checksum Read all ACPI tables from guest - will be useful for further unit tests. Follow pointers between ACPI tables checking signature and format for correctness. Verify checksum for all tables. Signed-off-by: Marcel Apfelbaum Signed-off-by: Michael S. Tsirkin Commit: 53db092ad1c81c30a617f44e83e8fb9e27c001ba https://github.com/qemu/qemu/commit/53db092ad1c81c30a617f44e83e8fb9= e27c001ba Author: Michael S. Tsirkin Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M hw/i386/acpi-build.c Log Message: ----------- acpi: strip compiler info in built-in DSDT IASL stores it's revision in each table header it generates. That's not nice since guests will see a change each time they move between hypervisors. We generally fill our own info for tables, but we (and seabios) forgot to do this for the built-in DSDT. Modifications in DSDT table: OEM ID: "BXPC" -> "BOCHS " OEM Table ID: "BXDSDT" -> "BXPCDSDT" Compiler ID: "INTL" -> "BXPC" Compiler Version: 0x20130823 -> 0x00000001 Tested-by: Marcel Apfelbaum Signed-off-by: Michael S. Tsirkin Commit: 6b9b4405743ffd428f35247516de9e6f4240f73f https://github.com/qemu/qemu/commit/6b9b4405743ffd428f35247516de9e6= f4240f73f Author: Michael S. Tsirkin Date: 2013-12-10 (Tue, 10 Dec 2013) Changed paths: M hw/i386/acpi-dsdt.dsl M hw/i386/acpi-dsdt.hex.generated M hw/i386/q35-acpi-dsdt.dsl M hw/i386/q35-acpi-dsdt.hex.generated Log Message: ----------- ACPI DSDT: Make control method `IQCR` serialized Forward-port the following commit from seabios: commit 995bbeef78b338370f426bf8d0399038c3fa259c Author: Paul Menzel Date: Thu Oct 3 11:30:52 2013 +0200 The ASL Optimizing Compiler version 20130823-32 [Sep 11 2013] issues = the following warning. $ make [=E2=80=A6] Compiling IASL out/src/fw/acpi-dsdt.hex out/src/fw/acpi-dsdt.dsl.i 360: Method(IQCR, 1, NotSeria= lized) { Remark 2120 - ^ Control Metho= d should be made Serialized (due to creation of named objects within) [=E2=80=A6] ASL Input: out/src/fw/acpi-dsdt.dsl.i - 475 lines, 19181 bytes,= 316 keywords AML Output: out/src/fw/acpi-dsdt.aml - 4407 bytes, 159 named obj= ects, 157 executable opcodes Listing File: out/src/fw/acpi-dsdt.lst - 143715 bytes Hex Dump: out/src/fw/acpi-dsdt.hex - 41661 bytes Compilation complete. 0 Errors, 0 Warnings, 1 Remarks, 246 Optimiz= ations [=E2=80=A6] After changing the parameter from `NotSerialized` to `Serialized`, th= e remark is indeed gone and there is no size change. The remark was added in ACPICA version 20130517 [1] and gives the following explanation. If a thread blocks within the method for any reason, and another t= hread enters the method, the method will fail because an attempt will be made to create the same (named) object twice. In this case, issue a remark that the method should be marked serialized. ACPICA BZ 909. [1] https://github.com/acpica/acpica/commit/ba84d0fc18ba910a47a3f71c6= 8a43543c06e6831 Signed-off-by: Paul Menzel Reported-by: Marcel Apfelbaum Tested-by: Marcel Apfelbaum Signed-off-by: Michael S. Tsirkin Commit: 4c41425d2e79f267b2236da31abedb866777d92f https://github.com/qemu/qemu/commit/4c41425d2e79f267b2236da31abedb8= 66777d92f Author: Gerd Hoffmann Date: 2013-12-11 (Wed, 11 Dec 2013) Changed paths: M hw/pci/pci.c Log Message: ----------- pci: fix pci bridge fw path qemu uses "pci" as name for pci bridges in the firmware device path. seabios expects "pci-bridge". Result is that bootorder is broken for devices behind pci bridges. Some googling suggests that "pci-bridge" is the correct one. At least PPC-based Apple machines are using this. See question "How do I boot from a device attached to a PCI card" here: http://www.netbsd.org/ports/macppc/faq.html So lets change qemu to use "pci-bridge" too. Signed-off-by: Gerd Hoffmann Signed-off-by: Michael S. Tsirkin Commit: 0d63b2dd31464cfccc80bbeedc24e3863fe4c895 https://github.com/qemu/qemu/commit/0d63b2dd31464cfccc80bbeedc24e38= 63fe4c895 Author: Liu Ping Fan Date: 2013-12-11 (Wed, 11 Dec 2013) Changed paths: M hw/timer/hpet.c Log Message: ----------- hpet: inverse polarity when pin above ISA_NUM_IRQS According to hpet spec, hpet irq is high active. But according to ICH spec, there is inversion before the input of ioapic. So the OS will expect low active on this IRQ line. (On bare metal, if OS driver claims high active on this line, spurious irq is generated) We fold the emulation of this inversion inside the hpet logic. Signed-off-by: Liu Ping Fan Reviewed-by: Paolo Bonzini Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Commit: 7a10ef51c2397ac4323bc786af02c58b413b5cd2 https://github.com/qemu/qemu/commit/7a10ef51c2397ac4323bc786af02c58= b413b5cd2 Author: Liu Ping Fan Date: 2013-12-11 (Wed, 11 Dec 2013) Changed paths: M hw/i386/pc.c M hw/i386/pc_piix.c M hw/i386/pc_q35.c M hw/timer/hpet.c M include/hw/i386/pc.h Log Message: ----------- hpet: enable to entitle more irq pins for hpet Owning to some different hardware design, piix and q35 need different compat. So making them diverge. On q35, IRQ2/8 can be reserved for hpet timer 0/1. And pin 16~23 can be assigned to hpet as guest chooses. So we introduce intcap property to do that. Consider the compat and piix/q35, we finally have the following value for intcap: For piix, hpet's intcap is hard coded as IRQ2. For pc-q35-1.7 and earlier, we use IRQ2 for compat reason. Otherwise IRQ2, IRQ8, and IRQ16~23 are allowed. Signed-off-by: Liu Ping Fan Reviewed-by: Michael S. Tsirkin Reviewed-by: Paolo Bonzini Signed-off-by: Michael S. Tsirkin Commit: 6307d974f9a28bb6652352f52da97f820427d29d https://github.com/qemu/qemu/commit/6307d974f9a28bb6652352f52da97f8= 20427d29d Author: Marcel Apfelbaum Date: 2013-12-11 (Wed, 11 Dec 2013) Changed paths: M memory.c Log Message: ----------- memory.c: bugfix - ref counting mismatch in memory_region_find 'address_space_get_flatview' gets a reference to a FlatView. If the flatview lookup fails, the code returns without "unreferencing" the view. Cc: qemu-stable@nongnu.org Signed-off-by: Marcel Apfelbaum Reviewed-by: Paolo Bonzini Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Commit: 53cb28cbfea038f8ad50132dc8a684e638c7d48b https://github.com/qemu/qemu/commit/53cb28cbfea038f8ad50132dc8a684e= 638c7d48b Author: Marcel Apfelbaum Date: 2013-12-11 (Wed, 11 Dec 2013) Changed paths: M exec.c Log Message: ----------- exec: separate sections and nodes per address space Every address space has its own nodes and sections, but it uses the same global arrays of nodes/section. This limits the number of devices that can be attached to the guest to 20-30 devices. It happens because: - The sections array is limited to 2^12 entries. - The main memory has at least 100 sections. - Each device address space is actually an alias to main memory, multiplying its number of nodes/sections. Remove the limitation by using separate arrays of nodes and sections for each address space. Signed-off-by: Marcel Apfelbaum Reviewed-by: Michael S. Tsirkin Reviewed-by: Paolo Bonzini Signed-off-by: Michael S. Tsirkin Commit: 15650602195be9f2957818318457c5d5096ff4c2 https://github.com/qemu/qemu/commit/15650602195be9f2957818318457c5d= 5096ff4c2 Author: Marcel Apfelbaum Date: 2013-12-11 (Wed, 11 Dec 2013) Changed paths: M tests/acpi-test.c Log Message: ----------- acpi unit-test: load and check facs table FACS table does not have a checksum, so we can check at least the signature (existence). Signed-off-by: Marcel Apfelbaum Signed-off-by: Michael S. Tsirkin Commit: 8ac2adf79a06372fe2c50ddac64cfffb93dbfeb8 https://github.com/qemu/qemu/commit/8ac2adf79a06372fe2c50ddac64cfff= b93dbfeb8 Author: Marcel Apfelbaum Date: 2013-12-11 (Wed, 11 Dec 2013) Changed paths: M tests/acpi-test.c Log Message: ----------- acpi unit-test: adjust the test data structure for better handling Ensure more then one instance of test_data may exist at a given time. It will help to compare different acpi table versions. Signed-off-by: Marcel Apfelbaum Signed-off-by: Michael S. Tsirkin Commit: 142e0950cfaf023a81112dc3cdfa799d769886a4 https://github.com/qemu/qemu/commit/142e0950cfaf023a81112dc3cdfa799= d769886a4 Author: Michael S. Tsirkin Date: 2013-12-11 (Wed, 11 Dec 2013) Changed paths: M hw/timer/hpet.c M include/hw/timer/hpet.h Log Message: ----------- hpet: fix build with CONFIG_HPET off make hpet_find inline so we don't need to build hpet.c to check if hpet is enabled. Fixes link error with CONFIG_HPET off. Cc: qemu-stable@nongnu.org Signed-off-by: Michael S. Tsirkin Commit: 511161027a0ecab6e12107128adeb8a884c5bcbe https://github.com/qemu/qemu/commit/511161027a0ecab6e12107128adeb8a= 884c5bcbe Author: Michael S. Tsirkin Date: 2013-12-11 (Wed, 11 Dec 2013) Changed paths: M hw/i386/pc.c Log Message: ----------- pc: use macro for HPET type avoid hard-coding strings Signed-off-by: Michael S. Tsirkin Commit: bf6e3cc4fadaa6884dd1e561215f5d93cfe4f5f3 https://github.com/qemu/qemu/commit/bf6e3cc4fadaa6884dd1e561215f5d9= 3cfe4f5f3 Author: Anthony Liguori Date: 2013-12-13 (Fri, 13 Dec 2013) Changed paths: M block/iscsi.c M configure M hw/scsi/scsi-bus.c M hw/scsi/scsi-disk.c M qemu-options.hx Log Message: ----------- Merge remote-tracking branch 'bonzini/scsi-next' into staging # By Paolo Bonzini (4) and Peter Lieven (1) # Via Paolo Bonzini * bonzini/scsi-next: help: add id suboption to -iscsi scsi-disk: fix WRITE SAME with large non-zero payload block/iscsi: introduce bdrv_co_{readv, writev, flush_to_disk} scsi-disk: fix VERIFY emulation scsi-bus: fix transfer length and direction for VERIFY command Message-id: 1386594157-17535-1-git-send-email-pbonzini@redhat.com Signed-off-by: Anthony Liguori Commit: 5d0e2280cc344f1b939acff431ed2731a9ee7db5 https://github.com/qemu/qemu/commit/5d0e2280cc344f1b939acff431ed273= 1a9ee7db5 Author: Anthony Liguori Date: 2013-12-13 (Fri, 13 Dec 2013) Changed paths: M MAINTAINERS M exec.c M hw/i386/acpi-build.c M hw/i386/acpi-dsdt.dsl M hw/i386/acpi-dsdt.hex.generated M hw/i386/pc.c M hw/i386/pc_piix.c M hw/i386/pc_q35.c M hw/i386/q35-acpi-dsdt.dsl M hw/i386/q35-acpi-dsdt.hex.generated M hw/i386/smbios.c M hw/pci-host/piix.c M hw/pci-host/q35.c M hw/pci/pci.c M hw/pci/pci_bridge.c M hw/ppc/spapr_pci.c M hw/timer/hpet.c M include/hw/boards.h M include/hw/i386/pc.h M include/hw/i386/smbios.h M include/hw/pci-host/q35.h M include/hw/timer/hpet.h M include/sysemu/qtest.h M memory.c M qtest.c M tests/Makefile A tests/acpi-test.c M translate-all.c M translate-all.h M vl.c Log Message: ----------- Merge remote-tracking branch 'mst/tags/for_anthony' into staging acpi.pci,pc,memory core fixes Most notably this includes changes to exec to support full 64 bit addresses. This also flushes out patches that got queued during 1.7 freeze. There are new tests, and a bunch of bug fixes all over the place. There are also some changes mostly useful for downstreams. I'm also listing myself as pc co-maintainer. I'm doing this reluctantly, but this seems to be necessary to make sure patches are not lost or delay= ed too much, and posting the MAINTAINERS patch did not seem to make anyone else volunteer. Signed-off-by: Michael S. Tsirkin # gpg: Signature made Wed 11 Dec 2013 10:21:51 AM PST using RSA key ID D2= 8D5469 # gpg: Can't check signature: public key not found # By Michael S. Tsirkin (14) and others # Via Michael S. Tsirkin * mst/tags/for_anthony: (28 commits) pc: use macro for HPET type hpet: fix build with CONFIG_HPET off acpi unit-test: adjust the test data structure for better handling acpi unit-test: load and check facs table exec: separate sections and nodes per address space memory.c: bugfix - ref counting mismatch in memory_region_find hpet: enable to entitle more irq pins for hpet hpet: inverse polarity when pin above ISA_NUM_IRQS pci: fix pci bridge fw path ACPI DSDT: Make control method `IQCR` serialized acpi: strip compiler info in built-in DSDT acpi unit-test: verify signature and checksum smbios: Set system manufacturer, product & version by default exec: reduce L2_PAGE_SIZE exec: make address spaces 64-bit wide exec: memory radix tree page level compression exec: pass hw address to phys_page_find exec: extend skip field to 6 bit, page entry to 32 bit exec: replace leaf with skip split definitions for exec.c and translate-all.c radix trees ... Message-id: cover.1386786228.git.mst@redhat.com Signed-off-by: Anthony Liguori Commit: e157b8fdd412d48eacfbb8c67d3d58780154faa3 https://github.com/qemu/qemu/commit/e157b8fdd412d48eacfbb8c67d3d587= 80154faa3 Author: Anthony Liguori Date: 2013-12-13 (Fri, 13 Dec 2013) Changed paths: M hw/9pfs/virtio-9p-device.c M hw/block/dataplane/virtio-blk.c M hw/block/dataplane/virtio-blk.h M hw/block/virtio-blk.c M hw/char/virtio-serial-bus.c M hw/net/virtio-net.c M hw/s390x/virtio-ccw.c M hw/s390x/virtio-ccw.h M hw/scsi/vhost-scsi.c M hw/scsi/virtio-scsi.c M hw/virtio/virtio-balloon.c M hw/virtio/virtio-bus.c M hw/virtio/virtio-mmio.c M hw/virtio/virtio-pci.c M hw/virtio/virtio-pci.h M hw/virtio/virtio-rng.c M hw/virtio/virtio.c M include/hw/virtio/virtio-bus.h M include/hw/virtio/virtio-rng.h M include/hw/virtio/virtio-scsi.h M include/hw/virtio/virtio.h M tests/qdev-monitor-test.c Log Message: ----------- Merge remote-tracking branch 'bonzini/virtio' into staging # By Andreas F=C3=A4rber (18) and Paolo Bonzini (12) # Via Paolo Bonzini * bonzini/virtio: (30 commits) virtio: Convert exit to unrealize virtio: Complete converting VirtioDevice to QOM realize virtio-scsi: Convert to QOM realize virtio-rng: Convert to QOM realize virtio-balloon: Convert to QOM realize virtio-net: Convert to QOM realize virtio-serial: Convert to QOM realize virtio-blk: Convert to QOM realize virtio-9p: Convert to QOM realize virtio: Start converting VirtioDevice to QOM realize virtio-scsi: QOM realize preparations virtio-rng: QOM realize preparations virtio-balloon: QOM realize preparations virtio-net: QOM realize preparations virtio-serial: QOM realize preparations virtio-blk: QOM realize preparations virtio-9p: QOM realize preparations virtio-blk-dataplane: Improve error reporting virtio-pci: add device_unplugged callback virtio-rng: switch exit callback to VirtioDeviceClass ... Compare: https://github.com/qemu/qemu/compare/47acdd63a33a...e157b8fdd412= ----==_mimepart_52ab6040a41bf_62dd81fd5871583-- From MAILER-DAEMON Mon Dec 16 11:30:22 2013 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Vsb3m-0007nz-B9 for mharc-qemu-commits@gnu.org; Mon, 16 Dec 2013 11:30:22 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59995) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vsb3f-0007iy-98 for qemu-commits@nongnu.org; Mon, 16 Dec 2013 11:30:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vsb3Y-0007lo-LJ for qemu-commits@nongnu.org; Mon, 16 Dec 2013 11:30:15 -0500 Received: from m69-170.mailgun.net ([166.78.69.170]:34434) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vsb3Y-0007li-Ha for qemu-commits@nongnu.org; Mon, 16 Dec 2013 11:30:08 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=github.com; q=dns/txt; s=mailo; t=1387211408; h=Date: From: Reply-To: To: Message-Id: Subject: Mime-Version: Content-Type: Content-Transfer-Encoding: Sender; bh=9iw3B3bMyf7nQeI7GMSuhs9A1hd+LKYJJjR187ivoUU=; b=MQXRRCXjA3H3UAahwPvD6lXxEuX8dzPu42rKsbV6CMgwfPX3xm3TVcAqtCfKP4npwyvpaUCs q/MUr2pfLJuYHCFHTzOoZK7Gwmml202RwHa8A4PHNJVjoi9efcdpCCm3PN2OQFm6oohu213J RzV3PF0u6U8wuMxJghM75z7Z11M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=github.com; s=mailo; q=dns; h=Date: From: Reply-To: To: Message-Id: Subject: Mime-Version: Content-Type: Content-Transfer-Encoding: Sender; b=o7bIJAaE8dwkmNLPL1CXUB98DsEaJg5KKBwsT2lRSs0JdTeJtaeqfzHVhzT5eFZIgC+w7b mcEoMpL142/v8hJihLuYISnMEOAc/Mt901ecMlzqAslH4dKlKdupw5mvXD+X43hIjQCsQaG3 coHHzmgCwAmH+aFOlONZHTdH2CCJg= Received: from github.com (Unknown [192.30.252.49]) by mxa.mailgun.org with ESMTP id 52af2a8f.58229c0-in2; Mon, 16 Dec 2013 16:30:07 -0000 (UTC) Date: Mon, 16 Dec 2013 08:30:07 -0800 From: GitHub To: qemu-commits@nongnu.org Message-Id: <52af2a8fa2574_4c86f93d506318f@hookshot-fe2-pe1-prd.aws.github.net.mail> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="--==_mimepart_52af2a8fa1cbe_4c86f93d5063067"; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Mailgun-Sid: WyI1YjNlZCIsICJxZW11LWNvbW1pdHNAbm9uZ251Lm9yZyIsICI0MGYiXQ== Sender: noreply@github.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 166.78.69.170 Subject: [Qemu-commits] [qemu/qemu] X-BeenThere: qemu-commits@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: GitHub List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Dec 2013 16:30:21 -0000 ----==_mimepart_52af2a8fa1cbe_4c86f93d5063067 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Branch: refs/tags/v1.6.2 Home: https://github.com/qemu/qemu ----==_mimepart_52af2a8fa1cbe_4c86f93d5063067-- From MAILER-DAEMON Mon Dec 16 11:30:23 2013 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Vsb3n-0007pC-HE for mharc-qemu-commits@gnu.org; Mon, 16 Dec 2013 11:30:23 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60019) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vsb3h-0007m0-DT for qemu-commits@nongnu.org; Mon, 16 Dec 2013 11:30:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vsb3Y-0007la-1S for qemu-commits@nongnu.org; Mon, 16 Dec 2013 11:30:17 -0500 Received: from m69-169.mailgun.net ([166.78.69.169]:40806) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vsb3X-0007kw-Pe for qemu-commits@nongnu.org; Mon, 16 Dec 2013 11:30:07 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=github.com; q=dns/txt; s=mailo; t=1387211407; h=Date: From: Reply-To: To: Message-Id: Subject: Mime-Version: Content-Type: Content-Transfer-Encoding: Sender; bh=NDbc6aBBU37g6ZYYvNudzqFbNuZJTnsK0FGlKbf3M8M=; b=f1gHf+BTyILNX3T4pRj0xQv75b5GN65DexbZRSfpoX4BblN05C6954wgRXYCtU7/GbPKGF5b gu2ij4wKXIR6btWzR3Op3+uD68tUhuEjhobQV3w20v5qEVMpZTPnZ9CQY91G/Bb45yy8D0jE jfFyKjRIV74aFF8BZzQy8LiQx6E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=github.com; s=mailo; q=dns; h=Date: From: Reply-To: To: Message-Id: Subject: Mime-Version: Content-Type: Content-Transfer-Encoding: Sender; b=HUQIEcMCXVZVd2e4RpcOBCwqN5jBtFHjI0nr1xRXe9WwsR7soBGHI/OCuQyXY3azN/wgZh CSIOvSXhHeC6Vi/N05CIaG72rKjbclunmoXowh1vqdT5YJ8in5ZkJe29jglY0+5yG4ETb9II 7jcKrooLvbzxh1qAI7p9N4TEZdrgE= Received: from github.com (Unknown [192.30.252.52]) by mxa.mailgun.org with ESMTP id 52af2a8e.5dd77b0-in3; Mon, 16 Dec 2013 16:30:06 -0000 (UTC) Date: Mon, 16 Dec 2013 08:30:06 -0800 From: GitHub To: qemu-commits@nongnu.org Message-Id: <52af2a8e5ae5d_257b9f9d547483d@hookshot-fe5-pe1-prd.aws.github.net.mail> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="--==_mimepart_52af2a8e5a162_257b9f9d54747d2"; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Mailgun-Sid: WyI1YjNlZCIsICJxZW11LWNvbW1pdHNAbm9uZ251Lm9yZyIsICI0MGYiXQ== Sender: noreply@github.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 166.78.69.169 Subject: [Qemu-commits] [qemu/qemu] 205cff: char: move backends' io watch tag to CharDriverSta... X-BeenThere: qemu-commits@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: GitHub List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Dec 2013 16:30:22 -0000 ----==_mimepart_52af2a8e5a162_257b9f9d54747d2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Branch: refs/heads/stable-1.6 Home: https://github.com/qemu/qemu Commit: 205cff77af9debf395610fbef34874d5e6f80cd2 https://github.com/qemu/qemu/commit/205cff77af9debf395610fbef34874d= 5e6f80cd2 Author: Amit Shah Date: 2013-12-02 (Mon, 02 Dec 2013) Changed paths: M include/sysemu/char.h M qemu-char.c Log Message: ----------- char: move backends' io watch tag to CharDriverState All the backends implement an io watcher tag for callbacks. Move it to CharDriverState from each backend's struct to make accessing the tag from= backend-neutral functions easier. This will be used later to cancel a callback on chardev detach from a frontend. CC: Reviewed-by: Gerd Hoffmann Signed-off-by: Amit Shah (cherry picked from commit 7ba9addc165b37b764baa08c02518b15b2361707) Signed-off-by: Michael Roth Commit: aeefaaac83a38a563a0511d6012abea5c49a3165 https://github.com/qemu/qemu/commit/aeefaaac83a38a563a0511d6012abea= 5c49a3165 Author: Amit Shah Date: 2013-12-02 (Mon, 02 Dec 2013) Changed paths: M qemu-char.c Log Message: ----------- char: use common function to disable callbacks on chardev close This deduplicates code used a lot of times. CC: Reviewed-by: Gerd Hoffmann Signed-off-by: Amit Shah (cherry picked from commit 26da70c72524eb22c946ab19ec98a217b8252f7e) Signed-off-by: Michael Roth Commit: 8501da4b93959ccbae4d04a673d0f1c5b72b1a4b https://github.com/qemu/qemu/commit/8501da4b93959ccbae4d04a673d0f1c= 5b72b1a4b Author: Amit Shah Date: 2013-12-02 (Mon, 02 Dec 2013) Changed paths: M qemu-char.c Log Message: ----------- char: remove watch callback on chardev detach from frontend If a frontend device releases the chardev (via unplug), the chr handlers are set to NULL via qdev's exit callbacks invoking qemu_chr_add_handlers(). If the chardev had a pending operation, a callback will be invoked, which will try to access data in the just-released frontend, causing a segfault. Ensure the callbacks are disabled when frontends release chardevs. This was seen when a virtio-serial port was unplugged when heavy guest->host IO was in progress (causing a callback to be registered). In the window in which the throttling was active, unplugging ports caused a qemu segfault. https://bugzilla.redhat.com/show_bug.cgi?id=3D985205 CC: Reported-by: Sibiao Luo Reviewed-by: Gerd Hoffmann Signed-off-by: Amit Shah (cherry picked from commit 386a5a1e0057e220f79c48fe3689e3dfb17f1b09) Signed-off-by: Michael Roth Commit: 7038fe818e40f8633b81462f0152a9630acdb704 https://github.com/qemu/qemu/commit/7038fe818e40f8633b81462f0152a96= 30acdb704 Author: Markus Armbruster Date: 2013-12-02 (Mon, 02 Dec 2013) Changed paths: M tests/.gitignore M tests/Makefile Log Message: ----------- tests: Fix schema parser test for in-tree build Commit 4f193e3 added the test, but screwed up in-tree builds (SRCDIR=3D.): the tests's output overwrites the expected output, and is thus compared to itself. Cc: qemu-stable@nongnu.org Reported-by: Laszlo Ersek Reviewed-by: Andreas F=C3=A4rber Reviewed-by: Laszlo Ersek Signed-off-by: Markus Armbruster Signed-off-by: Michael Tokarev (cherry picked from commit d8039e58b1ecfdc9af171502c83e3949f6dafb95) Signed-off-by: Michael Roth Commit: 98384a92cce4b090c6fad734bbc7a9572c246201 https://github.com/qemu/qemu/commit/98384a92cce4b090c6fad734bbc7a95= 72c246201 Author: Markus Armbruster Date: 2013-12-02 (Mon, 02 Dec 2013) Changed paths: M tests/.gitignore Log Message: ----------- tests: Update .gitignore for test-int128 and test-bitops Forgotten in commit 6046c62 and 3464700. Cc: qemu-stable@nongnu.org Reviewed-by: Andreas F=C3=A4rber Reviewed-by: Laszlo Ersek Signed-off-by: Markus Armbruster Signed-off-by: Michael Tokarev (cherry picked from commit 9dbb52e862458935c250bac9e71d5a87da4e33e9) Conflicts: tests/.gitignore *removed post-1.6 additions from diff Signed-off-by: Michael Roth Commit: 2c342444a0938a064d2a24e0c6ef28cce4737524 https://github.com/qemu/qemu/commit/2c342444a0938a064d2a24e0c6ef28c= ce4737524 Author: Stefan Weil Date: 2013-12-02 (Mon, 02 Dec 2013) Changed paths: M tcg/tci/tcg-target.c M tci.c Log Message: ----------- tci: Add implementation of rotl_i64, rotr_i64 It is used by qemu-ppc64 when running Debian's busybox-static. Cc: qemu-stable Signed-off-by: Stefan Weil Reviewed-by: Richard Henderson (cherry picked from commit d285bf784b6234e994ce73c05c82c9fb6429df00) Signed-off-by: Michael Roth Commit: 927fab3e061eba4feaaaa0c7409b431f4340197d https://github.com/qemu/qemu/commit/927fab3e061eba4feaaaa0c7409b431= f4340197d Author: Stefan Weil Date: 2013-12-02 (Mon, 02 Dec 2013) Changed paths: M include/qemu/bitops.h Log Message: ----------- bitops: Add rotate functions (rol8, ror8, ...) These functions were copies from include/linux/bitopts.h. Signed-off-by: Stefan Weil Reviewed-by: Richard Henderson (cherry picked from commit 6aa25b4a7bb10c48c3054f268d5be98e42ea42c0) Signed-off-by: Michael Roth Commit: a2c9dc504a28d07284d87a4ef10ad66f6f864b42 https://github.com/qemu/qemu/commit/a2c9dc504a28d07284d87a4ef10ad66= f6f864b42 Author: Stefan Weil Date: 2013-12-02 (Mon, 02 Dec 2013) Changed paths: M target-arm/iwmmxt_helper.c M tcg/optimize.c M tci.c Log Message: ----------- misc: Use new rotate functions Signed-off-by: Stefan Weil (cherry picked from commit 3df2b8fde949be86d8a78923c992fdd698d4ea4c) Signed-off-by: Michael Roth Commit: 78bd79fac33a56156d1d05a7f0547a0b7c282225 https://github.com/qemu/qemu/commit/78bd79fac33a56156d1d05a7f0547a0= b7c282225 Author: Stefan Weil Date: 2013-12-02 (Mon, 02 Dec 2013) Changed paths: M qemu-char.c Log Message: ----------- qemu-char: Fix potential out of bounds access to local arrays Latest gcc-4.8 supports a new option -fsanitize=3Daddress which activates= an AddressSanitizer. This AddressSanitizer stops the QEMU system emulatio= n very early because two character arrays of size 8 are potentially written= with 9 bytes. Commit 6ea314d91439741e95772dfbab98b4135e04bebb added the code. There is no obvious reason why width or height could need 8 characters, so reduce it to 7 characters which together with the terminating '\0' fit into the arrays. Cc: qemu-stable Signed-off-by: Stefan Weil Reviewed-by: Alex Benn=C3=A9e Signed-off-by: Michael Tokarev (cherry picked from commit 49aa4058ac6dd0081aaa45776f07c98df397ca5e) Signed-off-by: Michael Roth Commit: 99b5b999a4fc03ad6164b71af97406657c1ff14a https://github.com/qemu/qemu/commit/99b5b999a4fc03ad6164b71af974066= 57c1ff14a Author: Matthew Daley Date: 2013-12-03 (Tue, 03 Dec 2013) Changed paths: M hw/block/xen_disk.c Log Message: ----------- xen_disk: mark ioreq as mapped before unmapping in error case Commit 4472beae modified the semantics of ioreq_{un,}map so that they are= idempotent if called when they're not needed (ie., twice in a row). Howev= er, it neglected to handle the case where batch mapping is not being used (th= e default), and one of the grants fails to map. In this case, ioreq_unmap w= ill be called to unwind and unmap any mappings already performed, but ioreq_u= nmap simply returns due to the aforementioned change (the ioreq has not alread= y been marked as mapped). The frontend user can therefore force xen_disk to leak grant mappings, a per-domain limited resource. Fix by marking the ioreq as mapped before calling ioreq_unmap in this situation. Signed-off-by: Matthew Daley Signed-off-by: Stefano Stabellini (cherry picked from commit a76f48e53382e6f039db6278443e3ce437653302) Signed-off-by: Michael Roth Commit: b685f6af6f3aa34a845f156b334c1e24661fd344 https://github.com/qemu/qemu/commit/b685f6af6f3aa34a845f156b334c1e2= 4661fd344 Author: Fam Zheng Date: 2013-12-03 (Tue, 03 Dec 2013) Changed paths: M block/vmdk.c Log Message: ----------- vmdk: Fix vmdk_parse_extents An extra 'p++' after while loop when *p =3D=3D '\n' will move p to unknow= n data position, risking parsing junk data or memory access violation. Cc: qemu-stable@nongnu.org Signed-off-by: Fam Zheng Signed-off-by: Kevin Wolf (cherry picked from commit 899f1ae219d5eaa96a53c996026cb0178d62a86d) Signed-off-by: Michael Roth Commit: 91a2cf3d0b367c3f009a83637fc5255fdf2cf8eb https://github.com/qemu/qemu/commit/91a2cf3d0b367c3f009a83637fc5255= fdf2cf8eb Author: Hans de Goede Date: 2013-12-03 (Tue, 03 Dec 2013) Changed paths: M audio/audio.c Log Message: ----------- audio: honor QEMU_AUDIO_TIMER_PERIOD instead of waking up every *nano* = second Now that we no longer have MIN_REARM_TIMER_NS a bug in the audio subsys h= as clearly shown it self by trying to make a timer fire every nano second. Note we have a similar problem in 1.6, 1.5 and older but there MIN_REARM_TIMER_NS limits the wakeups caused by audio being active to 4000 times / second. This still causes a host cpu load of 50 % for simply= playing audio, where as with this patch git master is at 13%, so we shoul= d backport this to 1.5 and 1.6 too. Note this will not apply to 1.5 and 1.6 as is. Cc: qemu-stable@nongnu.org Signed-off-by: Hans de Goede Signed-off-by: Gerd Hoffmann (cherry picked from commit b4350deed67b95651896ddb60cf9f765093a4848) Conflicts: audio/audio.c *fixed to reflect 1.6 timer function/clock names Signed-off-by: Michael Roth Commit: 7bda8555de4507685bc5713d1239f341718bbf1d https://github.com/qemu/qemu/commit/7bda8555de4507685bc5713d1239f34= 1718bbf1d Author: Paolo Bonzini Date: 2013-12-03 (Tue, 03 Dec 2013) Changed paths: M monitor.c Log Message: ----------- monitor: eliminate monitor_event_state_lock This lock does not protect anything that the BQL does not already protect. Furthermore, with -nodefaults and no monitor, the mutex is not initialized but monitor_protocol_event_queue is called anyway, which causes a crash under mingw (and only works by luck. under Linux or other POSIX OSes). Reported-by: Orx Goshen Cc: Daniel Berrange Cc: qemu-stable@nongnu.org Signed-off-by: Paolo Bonzini Signed-off-by: Luiz Capitulino (cherry picked from commit c20b7fa4b2fedd979bcb0cc974bb5d08a10e3448) Signed-off-by: Michael Roth Commit: bd821a9bc3cc4fc5fe8912deac883e6a4b00bc6a https://github.com/qemu/qemu/commit/bd821a9bc3cc4fc5fe8912deac883e6= a4b00bc6a Author: Alexey Kardashevskiy Date: 2013-12-03 (Tue, 03 Dec 2013) Changed paths: M memory.c Log Message: ----------- memory: fix 128 arithmetic in info mtree mtree_print_mr() calls int128_get64() in 3 places but only 2 places handle 2^64 correctly. This fixes the third call of int128_get64(). Cc: qemu-stable@nongnu.org Signed-off-by: Alexey Kardashevskiy Signed-off-by: Paolo Bonzini (cherry picked from commit a66670c79c5c7d530d818430ffcdaa25cbf2c2ab) Signed-off-by: Michael Roth Commit: 0ca1774b619dc53db5eb1419d12efcd433f9fe3d https://github.com/qemu/qemu/commit/0ca1774b619dc53db5eb1419d12efcd= 433f9fe3d Author: Richard Henderson Date: 2013-12-03 (Tue, 03 Dec 2013) Changed paths: M scripts/qapi-visit.py Log Message: ----------- Adjust qapi-visit for python-2.4.3 We say we support python 2.4, but python 2.4.3 does not support the "expr if test else expr" syntax used here. This allows QEMU to compile on RHEL 5.3, the last release for ia64. Signed-off-by: Richard Henderson Reviewed-by: Michael Roth Signed-off-by: Luiz Capitulino (cherry picked from commit 7b75d9d61bf9b7b43f6df2fb2fbfc38c4eb9d2e9) Signed-off-by: Michael Roth Commit: ba3b29e04bab5b1c79920a38e88201c171b5ece4 https://github.com/qemu/qemu/commit/ba3b29e04bab5b1c79920a38e88201c= 171b5ece4 Author: Mike Frysinger Date: 2013-12-03 (Tue, 03 Dec 2013) Changed paths: M configure Log Message: ----------- configure: detect endian via compile test This avoids needing to execute a program and keeping an (incomplete) list when cross-compiling. Signed-off-by: Mike Frysinger Reviewed-by: Richard Henderson Tested-by: James Hogan [mips] Message-id: 1372649418-4987-1-git-send-email-vapier@gentoo.org Signed-off-by: Anthony Liguori (cherry picked from commit 61cc919f73ea7ca134c0ac41b748981ad63a253b) Signed-off-by: Michael Roth Commit: 08e2f35c65b0864fbe0d2e8d5df330316b4dd742 https://github.com/qemu/qemu/commit/08e2f35c65b0864fbe0d2e8d5df3303= 16b4dd742 Author: Wenchao Xia Date: 2013-12-03 (Tue, 03 Dec 2013) Changed paths: M qapi/qapi-dealloc-visitor.c Log Message: ----------- qapi: fix memleak by adding implict struct functions in dealloc visitor= Otherwise member "base" is leaked in a qapi_free_STRUCTURE() call. Signed-off-by: Wenchao Xia Reviewed-by: Eric Blake Message-id: 1383676551-18806-2-git-send-email-xiawenc@linux.vnet.ibm.com Cc: qemu-stable@nongnu.org Signed-off-by: Anthony Liguori (cherry picked from commit 3dce9cad5a6c0b0dbe0830973b270c9466c8ab4b) Signed-off-by: Michael Roth Commit: c1fecf20854020dfc24a9e47adc7a49b4cd5fbce https://github.com/qemu/qemu/commit/c1fecf20854020dfc24a9e47adc7a49= b4cd5fbce Author: Wenchao Xia Date: 2013-12-03 (Tue, 03 Dec 2013) Changed paths: M tests/test-qmp-input-visitor.c Log Message: ----------- tests: fix memleak in error path test for input visitor Signed-off-by: Wenchao Xia Reviewed-by: Eric Blake Message-id: 1383676551-18806-3-git-send-email-xiawenc@linux.vnet.ibm.com Cc: qemu-stable@nongnu.org Signed-off-by: Anthony Liguori (cherry picked from commit 8aa15b6e527f234e491a6d354bed4d10da3a01a7) Signed-off-by: Michael Roth Commit: c554ddb901f7716e3288a555a0b4fd0cd1f028ab https://github.com/qemu/qemu/commit/c554ddb901f7716e3288a555a0b4fd0= cd1f028ab Author: Peter Maydell Date: 2013-12-03 (Tue, 03 Dec 2013) Changed paths: M configure Log Message: ----------- configure: Explicitly set ARFLAGS so we can build with GNU Make 4.0 Our rules.mak adds '-rR' to MAKEFLAGS to indicate that we will be explicitly specifying everything and not relying on any default variables or rules. However we were accidentally relying on the default ARFLAGS ("rv"). This went unnoticed because of a bug in GNU Make 3.82 and earlier which meant that adding -rR to MAKEFLAGS only affected submakes, not the currently running instance. Explicitly set ARFLAGS in config-host.mak, in the same way we handle CFLAGS and LDFLAGS; this will allow us to work with Make 4.0. Thanks to Paul Smith for analyzing this bug for us. Cc: qemu-stable@nongnu.org Reported-by: Ken Moffat Signed-off-by: Peter Maydell Signed-off-by: Paolo Bonzini (cherry picked from commit 45d285abd7028ac72418c1a22f9298bb898fbfb8) Signed-off-by: Michael Roth Commit: 3bd74d1712c33a746b1aee45b809647f9353238c https://github.com/qemu/qemu/commit/3bd74d1712c33a746b1aee45b809647= f9353238c Author: Stefan Weil Date: 2013-12-03 (Tue, 03 Dec 2013) Changed paths: M linux-user/syscall.c M linux-user/syscall_defs.h Log Message: ----------- linux-user: Fix stat64 syscall for SPARC64 Some targets use a stat64 structure for the stat64 syscall while others use a stat structure. SPARC64 used the wrong kind. Instead of extending the conditional compilation in syscall.c, now a macro TARGET_HAS_STRUCT_STAT64 is defined whenever a target has a target_stat64. Signed-off-by: Stefan Weil Reviewed-by: Erik de Castro Lopo (cherry picked from commit 20d155bc902f41c5b354937e730ad85b43614ae9) Signed-off-by: Michael Roth Commit: 5326636ff2390bb260b3d8d14899b04db205992d https://github.com/qemu/qemu/commit/5326636ff2390bb260b3d8d14899b04= db205992d Author: Jason Wang Date: 2013-12-03 (Tue, 03 Dec 2013) Changed paths: M hw/net/virtio-net.c Log Message: ----------- virtio-net: only delete bh that existed We delete without check whether it existed during exit. This will lead NU= LL pointer deference since it was created conditionally depends on guest dri= ver status and features. So add a check of existence before trying to delete = it. Cc: qemu-stable@nongnu.org Signed-off-by: Jason Wang Reviewed-by: Michael S. Tsirkin Message-id: 1383728288-28469-1-git-send-email-jasowang@redhat.com Signed-off-by: Anthony Liguori (cherry picked from commit fe2dafa02de4f80ab36f6e0f4ddfcd6418c03c49) Conflicts: hw/net/virtio-net.c *modified to reflect timer function names for 1.6 Signed-off-by: Michael Roth Commit: 2c8187434f90fceb20ee1f0031fb591e5382674d https://github.com/qemu/qemu/commit/2c8187434f90fceb20ee1f0031fb591= e5382674d Author: Max Filippov Date: 2013-12-03 (Tue, 03 Dec 2013) Changed paths: M exec.c Log Message: ----------- exec: fix breakpoint_invalidate when pc may not be translated This fixes qemu abort with the following message: include/qemu/int128.h:22: int128_get64: Assertion `!a.hi' failed. which happens due to attempt to invalidate breakpoint by virtual address for which get_phys_page_debug couldn't find mapping. For more details see http://lists.nongnu.org/archive/html/qemu-devel/2013-09/msg04582.html Cc: qemu-stable@nongnu.org Signed-off-by: Max Filippov Reviewed-by: Paolo Bonzini (cherry picked from commit e8262a1b5b7cfbcbc80c46e4ce6ff7c517b7b2f6) Signed-off-by: Michael Roth Commit: 53e8cf93b3ecdb32ca4aa93d04b0a959988456fa https://github.com/qemu/qemu/commit/53e8cf93b3ecdb32ca4aa93d04b0a95= 9988456fa Author: Cole Robinson Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/pci-host/piix.c M hw/pci-host/q35.c M include/hw/i386/pc.h M include/hw/pci-host/q35.h Log Message: ----------- Fix pc migration from qemu <=3D 1.5 The following commit introduced a migration incompatibility: commit 568f0690fd9aa4d39d84b04c1a5dbb53a915c3fe Author: David Gibson Date: Thu Jun 6 18:48:49 2013 +1000 pci: Replace pci_find_domain() with more general pci_root_bus_path() The issue is that i440fx savevm idstr went from 0000:00:00.0/I440FX to 0000:00.0/I440FX. Unfortunately we are stuck with the breakage for 1.6 machine types. Add a compat property to maintain the busted idstr for the 1.6 machine types, but revert to the old style format for 1.7+, and <=3D 1.5. Tested with migration from qemu 1.5, qemu 1.6, and qemu.git. Cc: qemu-stable@nongnu.org Signed-off-by: Cole Robinson Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin (cherry picked from commit 04c7d8b8dea724f1007f0f6e76047ff03b4cb24f) Conflicts: include/hw/i386/pc.h *removed 1.6 compat properties *enabled short_root_bus by default to enable for 1.6 (no 1.6 compat fields to do so in 1.6.x) Signed-off-by: Michael Roth Commit: 4a5bf69f78e20a64f35770612ee897da4d80082e https://github.com/qemu/qemu/commit/4a5bf69f78e20a64f35770612ee897d= a4d80082e Author: Max Reitz Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M block/qcow2-cluster.c Log Message: ----------- qcow2: count_contiguous_clusters and compression The function is not intended to be used on compressed clusters and will not work correctly, if used anyway, since L2E_OFFSET_MASK is not the right mask for determining the offset of compressed clusters. Therefore, assert that the first cluster is not compressed and always include the compression flag in the mask of significant flags, i.e., stop the search as soon as a compressed cluster occurs. Signed-off-by: Max Reitz Signed-off-by: Kevin Wolf (cherry picked from commit 15684a474286cc2c6106c756ddd095a21d058970) Signed-off-by: Michael Roth Commit: 4d2f39a918ab4ccac7255da143b4322a9b4b204a https://github.com/qemu/qemu/commit/4d2f39a918ab4ccac7255da143b4322= a9b4b204a Author: Peter Lieven Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M block/qcow2-cluster.c Log Message: ----------- qcow2: fix possible corruption when reading multiple clusters if multiple sectors spanning multiple clusters are read the function count_contiguous_clusters should ensure that the cluster type should not change between the clusters. Especially the for-loop should break when we have one or more normal clusters followed by a compressed cluster. Unfortunately the wrong macro was used in the mask to compare the flags. This was discovered while debugging a data corruption issue when converting a compressed qcow2 image to raw. qemu-img reads 2MB chunks which span multiple clusters. CC: qemu-stable@nongnu.org Signed-off-by: Peter Lieven Signed-off-by: Kevin Wolf (cherry picked from commit 78a52ad5acca7053b774fcc80290e7b7e224c80a) Signed-off-by: Michael Roth Commit: 37da395651cd1279a8f111b5c8fc31d6f547f67f https://github.com/qemu/qemu/commit/37da395651cd1279a8f111b5c8fc31d= 6f547f67f Author: Alex Williamson Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/misc/vfio.c Log Message: ----------- vfio-pci: Fix multifunction=3Don When an assigned device is initialized it copies the device config space into the emulated config space. Unfortunately multifunction is setup prior to the device initfn and gets clobbered. We need to restore it just like pci-assign does. Cc: qemu-stable@nongnu.org Signed-off-by: Alex Williamson Signed-off-by: Paolo Bonzini (cherry picked from commit 8d07d6c46597a885eb38d99cc6fff399ce69cd21) Signed-off-by: Michael Roth Commit: 817a872cc6e52abe304ec8c0a94c69d4f2b450ec https://github.com/qemu/qemu/commit/817a872cc6e52abe304ec8c0a94c69d= 4f2b450ec Author: Amos Kong Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/net/virtio-net.c Log Message: ----------- virtio-net: fix the memory leak in rxfilter_notify() object_get_canonical_path() returns a gchar*, it should be freed by the caller. Signed-off-by: Amos Kong Reviewed-by: Michael S. Tsirkin Reviewed-by: Vlad Yasevich Reviewed-by: Andreas F=C3=A4rber Signed-off-by: Stefan Hajnoczi (cherry picked from commit 96e35046e4a97df5b4e1e24e217eb1e1701c7c71) Signed-off-by: Michael Roth Commit: 991a5f378261b759b2af2354703c504906418d35 https://github.com/qemu/qemu/commit/991a5f378261b759b2af2354703c504= 906418d35 Author: Vlad Yasevich Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M qom/object.c Log Message: ----------- qom: Fix memory leak in object_property_set_link() Save the result of the call to object_get_canonical_path() so we can free it. Cc: qemu-stable@nongnu.org Signed-off-by: Vlad Yasevich Reviewed-by: Amos Kong Reviewed-by: Stefan Hajnoczi Signed-off-by: Andreas F=C3=A4rber (cherry picked from commit 2d3aa28cc2cf382aa04cd577e0be542175eea9bd) Signed-off-by: Michael Roth Commit: 2cafbbf1e03b954dedd3643ab3a4ffe685a63ccf https://github.com/qemu/qemu/commit/2cafbbf1e03b954dedd3643ab3a4ffe= 685a63ccf Author: Igor Mammedov Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M qdev-monitor.c Log Message: ----------- qdev-monitor: Fix crash when device_add is called with abstract driver User is able to crash running QEMU when following monitor command is called: device_add intel-hda-generic Crash is caused by assertion in object_initialize_with_type() when type is abstract. Checking if type is abstract before instance is created in qdev_device_add() allows to prevent crash on incorrect user input. Cc: qemu-stable@nongnu.org Signed-off-by: Igor Mammedov Signed-off-by: Andreas F=C3=A4rber (cherry picked from commit 2fa4e56d88aa0039062bbc7f9a88e9f90c77ed94) Conflicts: qdev-monitor.c *updated to reflect different 1.6 variable names Signed-off-by: Michael Roth Commit: 03060dc086ec8a75929b7bb58df9e67a305a810d https://github.com/qemu/qemu/commit/03060dc086ec8a75929b7bb58df9e67= a305a810d Author: Stefan Hajnoczi Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M qdev-monitor.c Log Message: ----------- qdev-monitor: Unref device when device_add fails qdev_device_add() leaks the created device upon failure. I suspect this problem crept in because qdev_free() unparents the device but does not drop a reference - confusing name. Cc: qemu-stable@nongnu.org Signed-off-by: Stefan Hajnoczi Reviewed-by: Eric Blake Signed-off-by: Andreas F=C3=A4rber (cherry picked from commit ee6abeb6ec08473713848ce9028110f1684853b7) Signed-off-by: Michael Roth Commit: 0f6298786f0d88a29d150a19870f2ea7bc5c01a5 https://github.com/qemu/qemu/commit/0f6298786f0d88a29d150a19870f2ea= 7bc5c01a5 Author: Bandan Das Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/pci/pci.c Log Message: ----------- pci: unregister vmstate_pcibus on unplug PCIBus registers a vmstate during init. Unregister it upon removal/unplug. Signed-off-by: Bandan Das Cc: qemu-stable@nongnu.org Reviewed-by: Andreas F=C3=A4rber Signed-off-by: Michael S. Tsirkin (cherry picked from commit 5c397242d5d53c1adecce31817bb439383cf8228) Signed-off-by: Michael Roth Commit: 7cfd037403ba34e8ed1ebfa4e7d6abec738e2000 https://github.com/qemu/qemu/commit/7cfd037403ba34e8ed1ebfa4e7d6abe= c738e2000 Author: Amos Kong Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M backends/rng-egd.c Log Message: ----------- rng-egd: offset the point when repeatedly read from the buffer The buffer content might be read out more than once, currently we just repeatedly read the first data block, buffer offset is missing. Cc: qemu-stable@nongnu.org Signed-off-by: Amos Kong Message-id: 1385023371-8198-3-git-send-email-akong@redhat.com Signed-off-by: Anthony Liguori (cherry picked from commit 1eb1bd9eafa890f1f4d16ef5cb8b9239a86874d9) Signed-off-by: Michael Roth Commit: d90ff19d0a664400232ae062163790937068a0f8 https://github.com/qemu/qemu/commit/d90ff19d0a664400232ae0621637909= 37068a0f8 Author: Alex Williamson Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/misc/vfio.c Log Message: ----------- vfio-pci: Release all MSI-X vectors when disabled We were relying on msix_unset_vector_notifiers() to release all the vectors when we disable MSI-X, but this only happens when MSI-X is still enabled on the device. Perform further cleanup by releasing any remaining vectors listed as in-use after this call. This caused a leak of IRQ routes on hotplug depending on how the guest OS prepared the device for removal. Signed-off-by: Alex Williamson Cc: qemu-stable@nongnu.org (cherry picked from commit 3e40ba0faf0822fa78336fe6cd9d677ea9b14f1b) Signed-off-by: Michael Roth Commit: 982c8c5e209d0331f06c0d6bd9a440aa67a5e721 https://github.com/qemu/qemu/commit/982c8c5e209d0331f06c0d6bd9a440a= a67a5e721 Author: Kevin Wolf Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M block/qcow2.c Log Message: ----------- qcow2: Zero-initialise first cluster for new images Strictly speaking, this is only required for has_zero_init() =3D=3D false= , but it's easy enough to just do a cluster-aligned write that is padded with zeros after the header. This fixes that after 'qemu-img create' header extensions are attempted to be parsed that are really just random leftover data. Cc: qemu-stable@nongnu.org Signed-off-by: Kevin Wolf Reviewed-by: Fam Zheng Reviewed-by: Paolo Bonzini Signed-off-by: Stefan Hajnoczi (cherry picked from commit f8413b3c23b08a547ce18609acc6fae5fd04ed5c) Signed-off-by: Michael Roth Commit: 12f741031feb870b9b4ed6819b3c16ca5f2c6816 https://github.com/qemu/qemu/commit/12f741031feb870b9b4ed6819b3c16c= a5f2c6816 Author: Fam Zheng Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M block/vmdk.c M tests/qemu-iotests/059 M tests/qemu-iotests/059.out Log Message: ----------- vmdk: Fix creating big description file The buffer for description file was 4096 which only covers a few hundred of extents. This changes the buffer to dynamic allocated with g_strdup_printf in order to support bigger cases. Signed-off-by: Fam Zheng Signed-off-by: Stefan Hajnoczi (cherry picked from commit af057fe74092df2e7a576448ddbdc0daac1370bf) Conflicts: block/vmdk.c tests/qemu-iotests/059 tests/qemu-iotests/059.out *removed dependencies on 4823970b and 4f6fd349 Signed-off-by: Michael Roth Commit: 08dde5b17b56d64c1536177866eafa98db4fba74 https://github.com/qemu/qemu/commit/08dde5b17b56d64c1536177866eafa9= 8db4fba74 Author: Paul Moore Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M qemu-seccomp.c Log Message: ----------- seccomp: add kill() to the syscall whitelist The kill() syscall is triggered with the following command: # qemu -sandbox on -monitor stdio \ -device intel-hda -device hda-duplex -vnc :0 The resulting syslog/audit message: # ausearch -m SECCOMP ---- time->Wed Nov 20 09:52:08 2013 type=3DSECCOMP msg=3Daudit(1384912328.482:6656): auid=3D0 uid=3D0 gid=3D= 0 ses=3D854 subj=3Dunconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=3D1208= 7 comm=3D"qemu-kvm" sig=3D31 syscall=3D62 compat=3D0 ip=3D0x7f7a1d2abc67 = code=3D0x0 # scmp_sys_resolver 62 kill Reported-by: CongLi Tested-by: CongLi Signed-off-by: Paul Moore Acked-by: Eduardo Otubo (cherry picked from commit e9eecb5bf82a71564bf018fcbbfc6cda19cab6c2) Signed-off-by: Michael Roth Commit: 68a1ac19a1a24bc47c8c6db1bca7026e2199cc32 https://github.com/qemu/qemu/commit/68a1ac19a1a24bc47c8c6db1bca7026= e2199cc32 Author: Petar Jovanovic Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M target-mips/translate.c Log Message: ----------- target-mips: fix 64-bit FPU config for user-mode emulation FR bit should be initialized to 1 for MIPS64, under condition that this bit is writable and that CPU has an FPU unit. It should be initialized to= zero for MIPS32. This fixes different MIPS32 issues with FPU instructions whose behaviour defaulted to 64-bit FPU mode. Signed-off-by: Petar Jovanovic Signed-off-by: Aurelien Jarno (cherry picked from commit 4d66261f71f2efa31e1052e4041c5ee505572fe5) Signed-off-by: Michael Roth Commit: 9388fdb603e69d1c251f9bdfaac575ad3258583a https://github.com/qemu/qemu/commit/9388fdb603e69d1c251f9bdfaac575a= d3258583a Author: Tomoki Sekiyama Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M qga/commands-posix.c Log Message: ----------- qemu-ga: execute fsfreeze-freeze in reverse order of mounts Currently, fsfreeze-freeze may cause deadlock if a guest has loopback mou= nts of image files in its disk; e.g.: # mount | grep ^/ /dev/vda1 / type ext4 (rw,noatime,seclabel,data=3Dordered) /tmp/disk.img on /mnt type ext4 (rw,relatime,seclabel) To avoid the deadlock, this freezes filesystems in reverse order of mount= s. Signed-off-by: Tomoki Sekiyama Reviewed-by: Eric Blake *fix up commit msg Signed-off-by: Michael Roth (cherry picked from commit e5d9adbdab972a2172815c1174aed3fabcc448f1) Signed-off-by: Michael Roth Commit: 192d2f4cc7931668d4e4f10e882af3c097193c47 https://github.com/qemu/qemu/commit/192d2f4cc7931668d4e4f10e882af3c= 097193c47 Author: Laszlo Ersek Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M hw/scsi/scsi-bus.c Log Message: ----------- scsi_target_send_command(): amend stable-1.6 port of the CVE-2013-4344 = fix The originally suggested fix for CVE-2013-4344 introduced a regression in= scsi_target_send_command() / REQUEST_SENSE; the third argument passed to scsi_device_get_sense() -- for the "len" parameter -- ignored the possibility of the guest SCSI driver requesting truncated (or shorter tha= n full) sense data. This could result in (r->len > req->cmd.xfer) on return, which is not valid SCSI. The problem was addressed in the second round, and the commit on the master branch (84642435) is correct. However the stable-1.6 branch (the v1.6.1 release) has the original, regressive fix (commit fdcbe7d5); let's= update it. Signed-off-by: Laszlo Ersek Reviewed-by: Paolo Bonzini Signed-off-by: Michael Roth Commit: e82ee0845c3240541e79b9bf21779b3f8743f1b4 https://github.com/qemu/qemu/commit/e82ee0845c3240541e79b9bf21779b3= f8743f1b4 Author: Michael Roth Date: 2013-12-09 (Mon, 09 Dec 2013) Changed paths: M VERSION Log Message: ----------- Update VERSION for 1.6.2 release Signed-off-by: Michael Roth Compare: https://github.com/qemu/qemu/compare/62ecc3a0e3c7...e82ee0845c32= ----==_mimepart_52af2a8e5a162_257b9f9d54747d2-- From MAILER-DAEMON Mon Dec 16 20:30:20 2013 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VsjUK-00087W-0S for mharc-qemu-commits@gnu.org; Mon, 16 Dec 2013 20:30:20 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36039) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VsjUE-00085l-6K for qemu-commits@nongnu.org; Mon, 16 Dec 2013 20:30:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VsjU9-0005tm-Gu for qemu-commits@nongnu.org; Mon, 16 Dec 2013 20:30:14 -0500 Received: from m69-169.mailgun.net ([166.78.69.169]:60160) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VsjU9-0005tX-AT for qemu-commits@nongnu.org; Mon, 16 Dec 2013 20:30:09 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=github.com; q=dns/txt; s=mailo; t=1387243808; h=Date: From: Reply-To: To: Message-Id: Subject: Mime-Version: Content-Type: Content-Transfer-Encoding: Sender; bh=G+TQYu+sEh+t0F7cY8WSsKpiGE8a6gxYaamJTdrTAH0=; b=VssP+5izqwuak+4snAtycPQWNaDPkySbEcCA8REOfNII7BXBlhczvy6wlkXXdopuBEptrvKx n92Plt6FuvC20FGmUvZQnS5KXD8nD0DjcsmDWWgRIWaa9UDQlw4HBdIV9LhOlm+PJW7T0pgE QyMysCBnsL2qp6ysoreZkobqdw0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=github.com; s=mailo; q=dns; h=Date: From: Reply-To: To: Message-Id: Subject: Mime-Version: Content-Type: Content-Transfer-Encoding: Sender; b=ne2i2/k+kn28xVraqhMlXvv1aD/vhajNhpD93JiadyQk0SMhOTB0/maLd4SZplki/uwGNC G/YL7aH7QysQycVfq699XdhYgDlWHr5v4NBrT3lpRRZinxbdTuQ2r/hZKFbRkg1NlISI/cWD IwqkcMWrow4zeEMd+3xfe8qsNMgvM= Received: from github.com (Unknown [192.30.252.54]) by mxa.mailgun.org with ESMTP id 52afa91f.7fa5d06d62a0-in1; Tue, 17 Dec 2013 01:30:07 -0000 (UTC) Date: Mon, 16 Dec 2013 17:30:07 -0800 From: GitHub To: qemu-commits@nongnu.org Message-Id: <52afa91f79643_1c41c5dd48710ef@hookshot-fe4-pe1-prd.aws.github.net.mail> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="--==_mimepart_52afa91f789a5_1c41c5dd48709e4"; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Mailgun-Sid: WyI1YjNlZCIsICJxZW11LWNvbW1pdHNAbm9uZ251Lm9yZyIsICI0MGYiXQ== Sender: noreply@github.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 166.78.69.169 Subject: [Qemu-commits] [qemu/qemu] a3120d: sheepdog: check if '-o redundancy' is passed from ... X-BeenThere: qemu-commits@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: GitHub List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Dec 2013 01:30:19 -0000 ----==_mimepart_52afa91f789a5_1c41c5dd48709e4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: a3120deee5fc1d702ba5da98fd9c845ad1c8f301 https://github.com/qemu/qemu/commit/a3120deee5fc1d702ba5da98fd9c845= ad1c8f301 Author: Liu Yuan Date: 2013-12-13 (Fri, 13 Dec 2013) Changed paths: M block/sheepdog.c Log Message: ----------- sheepdog: check if '-o redundancy' is passed from user This fix a segfault (that is caused by b3af018f3) of following command: $ qemu-img convert some_img sheepdog:some_img Cc: qemu-devel@nongnu.org Cc: Kevin Wolf Cc: Stefan Hajnoczi Signed-off-by: Liu Yuan Signed-off-by: Kevin Wolf Commit: 01443e1388971999514511a26f9d36a7cdaa2cc2 https://github.com/qemu/qemu/commit/01443e1388971999514511a26f9d36a= 7cdaa2cc2 Author: Kevin Wolf Date: 2013-12-13 (Fri, 13 Dec 2013) Changed paths: M qapi-schema.json Log Message: ----------- qapi-schema.json: Change 1.8 reference to 2.0 Reviewed-by: Eric Blake Signed-off-by: Kevin Wolf Commit: f671d173c7e1da555b693e8b14f3ed0852601809 https://github.com/qemu/qemu/commit/f671d173c7e1da555b693e8b14f3ed0= 852601809 Author: Stefan Weil Date: 2013-12-13 (Fri, 13 Dec 2013) Changed paths: M block/vvfat.c Log Message: ----------- block/vvfat: Fix compiler warnings for OpenBSD The buildbot shows these compiler warnings: block/vvfat.c: In function 'create_short_and_long_name': block/vvfat.c:620: warning: array size (8) smaller than bound length (11)= block/vvfat.c:620: warning: array size (8) smaller than bound length (11)= block/vvfat.c:635: warning: array size (8) smaller than bound length (11)= block/vvfat.c:635: warning: array size (8) smaller than bound length (11)= They are caused by tricky code where 8 characters for the name are follow= ed by 3 characters for the extension, and some operations touch both name an= d extension. Using an 11 character name which includes the extension fixes the compile= r warning, satisfies cppcheck, valgrind and maybe other static and dynamic code checkers, and even simplifies some parts of the code. Signed-off-by: Stefan Weil Reviewed-by: Stefan Hajnoczi Signed-off-by: Kevin Wolf Commit: 3d94ce60ae7ad7c31dc143fdd9da95c61b4e529e https://github.com/qemu/qemu/commit/3d94ce60ae7ad7c31dc143fdd9da95c= 61b4e529e Author: Peter Lieven Date: 2013-12-13 (Fri, 13 Dec 2013) Changed paths: M block.c Log Message: ----------- block: expect get_block_status errors in bdrv_make_zero during testing around with 4k LUNs a bad target implementation triggert an -EIO in iscsi_get_block_status, but it got never caught resulting in an infinite loop. CC: qemu-stable@nongnu.org Signed-off-by: Peter Lieven Reviewed-by: Stefan Hajnoczi Signed-off-by: Kevin Wolf Commit: 802c3d4ccc9853ee11c742bc206f284f04259426 https://github.com/qemu/qemu/commit/802c3d4ccc9853ee11c742bc206f284= f04259426 Author: Peter Lieven Date: 2013-12-13 (Fri, 13 Dec 2013) Changed paths: M qemu-img.c Log Message: ----------- qemu-img: make progress output more accurate during convert the progress output is very bumpy if the input images contains a significant portion of unallocated sectors. This patch checks how much sectors are allocated a priori if progress output is selected. Signed-off-by: Peter Lieven Signed-off-by: Kevin Wolf Commit: c547e5640d5b0993cdfb252331065c1a1d813bd8 https://github.com/qemu/qemu/commit/c547e5640d5b0993cdfb252331065c1= a1d813bd8 Author: Fam Zheng Date: 2013-12-13 (Fri, 13 Dec 2013) Changed paths: M block/blkdebug.c Log Message: ----------- blkdebug: Use QLIST_FOREACH_SAFE to resume IO Qemu-iotest 030 was broken. When the coroutine runs and finishes, it will remove itself from the req list, so let's use safe version of foreach to avoid use after free. Signed-off-by: Fam Zheng Signed-off-by: Kevin Wolf Commit: f1d3e586f069e17f83b669842bc02d60d509daca https://github.com/qemu/qemu/commit/f1d3e586f069e17f83b669842bc02d6= 0d509daca Author: Gerd Hoffmann Date: 2013-12-16 (Mon, 16 Dec 2013) Changed paths: M ui/spice-core.c Log Message: ----------- spice: flip streaming video mode to off by default Video streaming detection heuristics in spice-server have problems keeping modern desktop animations (as done by gnome shell) and real video playback apart. This leads to jpeg compression artefacts on your desktop, due to spice using mjpeg to send what it thinks is a video stream. Turn off video detection by default to avoid these artifacts. Signed-off-by: Gerd Hoffmann Reviewed-by: Alon Levy Commit: fa88afa51c7db927b3dd6c2f7878c23e53441de6 https://github.com/qemu/qemu/commit/fa88afa51c7db927b3dd6c2f7878c23= e53441de6 Author: Marc-Andr=C3=A9 Lureau Date: 2013-12-16 (Mon, 16 Dec 2013) Changed paths: M libcacard/vscclient.c Log Message: ----------- vscclient: do not add a socket watch if there is not data to send Fixes the following error: ** (process:780): CRITICAL **: do_socket_send: assertion `socket_to_send->len !=3D 0' failed Signed-off-by: Marc-Andr=C3=A9 Lureau Signed-off-by: Gerd Hoffmann Commit: d8a03a09524c141325f3469cc5c393f7eae3c9cf https://github.com/qemu/qemu/commit/d8a03a09524c141325f3469cc5c393f= 7eae3c9cf Author: Marc-Andr=C3=A9 Lureau Date: 2013-12-16 (Mon, 16 Dec 2013) Changed paths: M spice-qemu-char.c Log Message: ----------- spice-char: remove unused field Signed-off-by: Marc-Andr=C3=A9 Lureau Signed-off-by: Gerd Hoffmann Commit: 314f7ea74f0c36e3291c4c6d58816da83a232fc2 https://github.com/qemu/qemu/commit/314f7ea74f0c36e3291c4c6d58816da= 83a232fc2 Author: Marc-Andr=C3=A9 Lureau Date: 2013-12-16 (Mon, 16 Dec 2013) Changed paths: M blockdev.c M include/sysemu/blockdev.h M qmp.c Log Message: ----------- qmp_change_blockdev() remove unused has_format Signed-off-by: Marc-Andr=C3=A9 Lureau Signed-off-by: Gerd Hoffmann Commit: f7d48052644f3307748f47062728bb3e5f051ffe https://github.com/qemu/qemu/commit/f7d48052644f3307748f47062728bb3= e5f051ffe Author: Marc-Andr=C3=A9 Lureau Date: 2013-12-16 (Mon, 16 Dec 2013) Changed paths: M include/ui/qemu-spice.h Log Message: ----------- include: add missing config-host.h include Signed-off-by: Marc-Andr=C3=A9 Lureau Signed-off-by: Gerd Hoffmann Commit: d61b0c9a2f7f39cc30cbd713e0798a23a51340e7 https://github.com/qemu/qemu/commit/d61b0c9a2f7f39cc30cbd713e0798a2= 3a51340e7 Author: Marc-Andr=C3=A9 Lureau Date: 2013-12-16 (Mon, 16 Dec 2013) Changed paths: M include/sysemu/char.h M qemu-char.c Log Message: ----------- char: add qemu_chr_fe_event() Teach the chardev frontend to send event. This is used by the Spice port chardev currently. Signed-off-by: Marc-Andr=C3=A9 Lureau Signed-off-by: Gerd Hoffmann Commit: be733d6d484cd6a9e27a43a3f426688124fd0652 https://github.com/qemu/qemu/commit/be733d6d484cd6a9e27a43a3f426688= 124fd0652 Author: Marc-Andr=C3=A9 Lureau Date: 2013-12-16 (Mon, 16 Dec 2013) Changed paths: M spice-qemu-char.c Log Message: ----------- spice-char: implement chardev port event Wire up chardev fe_event to Spice port. Signed-off-by: Marc-Andr=C3=A9 Lureau Signed-off-by: Gerd Hoffmann Commit: 2302c1cafb13df23938b098d9c6595de52ec2577 https://github.com/qemu/qemu/commit/2302c1cafb13df23938b098d9c6595d= e52ec2577 Author: Marc-Andr=C3=A9 Lureau Date: 2013-12-16 (Mon, 16 Dec 2013) Changed paths: M block/Makefile.objs A block/nbd-client.c A block/nbd-client.h M block/nbd.c Log Message: ----------- Split nbd block client code Signed-off-by: Marc-Andr=C3=A9 Lureau Acked-by: Paolo Bonzini Signed-off-by: Gerd Hoffmann Commit: e53a18e488c657bbc6f218ae60de8e813a912667 https://github.com/qemu/qemu/commit/e53a18e488c657bbc6f218ae60de8e8= 13a912667 Author: Marc-Andr=C3=A9 Lureau Date: 2013-12-16 (Mon, 16 Dec 2013) Changed paths: M block/nbd-client.c M nbd.c Log Message: ----------- nbd: don't change socket block during negotiate The caller might handle non-blocking using coroutine. Leave the choice to the caller to use a blocking or non-blocking negotiate. Signed-off-by: Marc-Andr=C3=A9 Lureau Acked-by: Paolo Bonzini Signed-off-by: Gerd Hoffmann Commit: e2bc625f9bbb3a5d3ef2cb0f14dd52b517b92ffd https://github.com/qemu/qemu/commit/e2bc625f9bbb3a5d3ef2cb0f14dd52b= 517b92ffd Author: Marc-Andr=C3=A9 Lureau Date: 2013-12-16 (Mon, 16 Dec 2013) Changed paths: M block/nbd-client.c M block/nbd-client.h M block/nbd.c Log Message: ----------- nbd: pass export name as init argument There is no need to keep the export name around, and it seems a better fit as an argument in the init() call. Signed-off-by: Marc-Andr=C3=A9 Lureau Acked-by: Paolo Bonzini Signed-off-by: Gerd Hoffmann Commit: 5ad283ebb82c007f49535907874213cdb05c307a https://github.com/qemu/qemu/commit/5ad283ebb82c007f49535907874213c= db05c307a Author: Marc-Andr=C3=A9 Lureau Date: 2013-12-16 (Mon, 16 Dec 2013) Changed paths: M block/nbd-client.c Log Message: ----------- nbd: make nbd_client_session_close() idempotent Signed-off-by: Marc-Andr=C3=A9 Lureau Acked-by: Paolo Bonzini Signed-off-by: Gerd Hoffmann Commit: 69152c09d337a8e1368e65bcd5a598def6c3079f https://github.com/qemu/qemu/commit/69152c09d337a8e1368e65bcd5a598d= ef6c3079f Author: Marc-Andr=C3=A9 Lureau Date: 2013-12-16 (Mon, 16 Dec 2013) Changed paths: M block/nbd-client.c Log Message: ----------- nbd: finish any pending coroutine Make sure all pending coroutines are finished when closing the session. Signed-off-by: Marc-Andr=C3=A9 Lureau Acked-by: Paolo Bonzini Signed-off-by: Gerd Hoffmann Commit: b1b27b64262fdace45e5ab134c4438338076cb98 https://github.com/qemu/qemu/commit/b1b27b64262fdace45e5ab134c44383= 38076cb98 Author: Marc-Andr=C3=A9 Lureau Date: 2013-12-16 (Mon, 16 Dec 2013) Changed paths: M block/nbd-client.c Log Message: ----------- nbd: avoid uninitialized warnings =3D=3D15815=3D=3D Thread 1: =3D=3D15815=3D=3D Syscall param socketcall.sendto(msg) points to uninitia= lised byte(s) =3D=3D15815=3D=3D at 0x65AD5CB: send (send.c:31) =3D=3D15815=3D=3D by 0x37F84B: nbd_wr_sync (nbd.c:145) =3D=3D15815=3D=3D by 0x37F94B: write_sync (nbd.c:186) =3D=3D15815=3D=3D by 0x380FA9: nbd_send_request (nbd.c:681) =3D=3D15815=3D=3D by 0x1C4A2D: nbd_teardown_connection (nbd-client.c:3= 37) =3D=3D15815=3D=3D by 0x1C4AD8: nbd_client_session_close (nbd-client.c:= 354) =3D=3D15815=3D=3D by 0x1ED2D8: close_socketpair (spicebd.c:132) =3D=3D15815=3D=3D by 0x1EE265: spice_close (spicebd.c:457) =3D=3D15815=3D=3D by 0x1ACBF6: bdrv_close (block.c:1519) =3D=3D15815=3D=3D by 0x1AD804: bdrv_delete (block.c:1772) =3D=3D15815=3D=3D by 0x1B4136: bdrv_unref (block.c:4476) =3D=3D15815=3D=3D by 0x1ACCE0: bdrv_close (block.c:1541) =3D=3D15815=3D=3D Address 0x7feffef98 is on thread 1's stack Signed-off-by: Marc-Andr=C3=A9 Lureau Acked-by: Paolo Bonzini Signed-off-by: Gerd Hoffmann Commit: 7cc6a25fe94b430cb5a041bcb19d7d854b4e99a7 https://github.com/qemu/qemu/commit/7cc6a25fe94b430cb5a041bcb19d7d8= 54b4e99a7 Author: Gerd Hoffmann Date: 2013-12-16 (Mon, 16 Dec 2013) Changed paths: M ui/spice-core.c M ui/spice-display.c Log Message: ----------- spice: move qemu_spice_display_*() from spice-graphics to spice-core Signed-off-by: Gerd Hoffmann Commit: b50f3e42b9438e033074222671c0502ecfeba82c https://github.com/qemu/qemu/commit/b50f3e42b9438e033074222671c0502= ecfeba82c Author: Gerd Hoffmann Date: 2013-12-16 (Mon, 16 Dec 2013) Changed paths: M ui/spice-core.c Log Message: ----------- spice: move spice_server_vm_{start,stop} calls into qemu_spice_display_= *() So calling spice server to start/stop the worker goes hand in hand with the status variable update. Signed-off-by: Gerd Hoffmann Commit: 75c70e37bc4a6bdc394b4d1b163fe730abb82c72 https://github.com/qemu/qemu/commit/75c70e37bc4a6bdc394b4d1b163fe73= 0abb82c72 Author: Gerd Hoffmann Date: 2013-12-16 (Mon, 16 Dec 2013) Changed paths: M hw/display/qxl.c Log Message: ----------- spice: stop server for qxl hard reset Hard reset can happen at any time. We should be able to put qxl into a known-good state no matter what. Stop spice server thread for reset so it can't be confused by fetching stale commands lingering around in the rings while we reset is ongoing. Signed-off-by: Gerd Hoffmann Commit: 80d6f5eae79b009bf3e02e59e9e225db42ddf887 https://github.com/qemu/qemu/commit/80d6f5eae79b009bf3e02e59e9e225d= b42ddf887 Author: Anthony Liguori Date: 2013-12-16 (Mon, 16 Dec 2013) Changed paths: M block.c M block/blkdebug.c M block/sheepdog.c M block/vvfat.c M qapi-schema.json M qemu-img.c Log Message: ----------- Merge remote-tracking branch 'kwolf/tags/for-anthony' into staging Block patches # gpg: Signature made Fri 13 Dec 2013 09:47:03 AM PST using RSA key ID C8= 8F2FD6 # gpg: Can't check signature: public key not found # By Peter Lieven (2) and others # Via Kevin Wolf * kwolf/tags/for-anthony: blkdebug: Use QLIST_FOREACH_SAFE to resume IO qemu-img: make progress output more accurate during convert block: expect get_block_status errors in bdrv_make_zero block/vvfat: Fix compiler warnings for OpenBSD qapi-schema.json: Change 1.8 reference to 2.0 sheepdog: check if '-o redundancy' is passed from user Message-id: 1386956943-19474-1-git-send-email-kwolf@redhat.com Signed-off-by: Anthony Liguori Commit: b91f93243bbe36dc436a64a662a9bbfb2362534a https://github.com/qemu/qemu/commit/b91f93243bbe36dc436a64a662a9bbf= b2362534a Author: Anthony Liguori Date: 2013-12-16 (Mon, 16 Dec 2013) Changed paths: M block/Makefile.objs A block/nbd-client.c A block/nbd-client.h M block/nbd.c M blockdev.c M hw/display/qxl.c M include/sysemu/blockdev.h M include/sysemu/char.h M include/ui/qemu-spice.h M libcacard/vscclient.c M nbd.c M qemu-char.c M qmp.c M spice-qemu-char.c M ui/spice-core.c M ui/spice-display.c Log Message: ----------- Merge remote-tracking branch 'spice/tags/pull-spice-1' into staging Collection of little cleanups anf bugfixes. nbd patches in preparation of spice-nbd. # gpg: Signature made Mon 16 Dec 2013 01:27:45 AM PST using RSA key ID D3= E87138 # gpg: Can't check signature: public key not found # By Marc-Andr=C3=A9 Lureau (12) and Gerd Hoffmann (4) # Via Gerd Hoffmann * spice/tags/pull-spice-1: spice: stop server for qxl hard reset spice: move spice_server_vm_{start,stop} calls into qemu_spice_display_= *() spice: move qemu_spice_display_*() from spice-graphics to spice-core nbd: avoid uninitialized warnings nbd: finish any pending coroutine nbd: make nbd_client_session_close() idempotent nbd: pass export name as init argument nbd: don't change socket block during negotiate Split nbd block client code spice-char: implement chardev port event char: add qemu_chr_fe_event() include: add missing config-host.h include qmp_change_blockdev() remove unused has_format spice-char: remove unused field vscclient: do not add a socket watch if there is not data to send spice: flip streaming video mode to off by default Commit: f46e720a82ccdf1a521cf459448f3f96ed895d43 https://github.com/qemu/qemu/commit/f46e720a82ccdf1a521cf459448f3f9= 6ed895d43 Author: Laszlo Ersek Date: 2013-12-16 (Mon, 16 Dec 2013) Changed paths: M vl.c Log Message: ----------- qemu_opts_parse(): always check return value qemu_opts_parse() can always return NULL, even if the QemuOptsList.desc i= n question would be trivial to satisfy (eg. because it's empty). For example: qemu_opts_parse() opts_parse() qemu_opts_create() id_wellformed() In practice: $ .../qemu-system-x86_64 -acpitable id=3D3 qemu-system-x86_64: -acpitable id=3D3: Parameter 'id' expects an identi= fier ** ERROR:vl.c:3491:main: assertion failed: (opts !=3D NULL) Aborted (core dumped) $ .../qemu-system-x86_64 -smbios id=3D3 qemu-system-x86_64: -smbios id=3D3: Parameter 'id' expects an identifie= r Segmentation fault (core dumped) I checked all qemu_opts_parse() invocations (and all drive_def() invocations too, because it blindly forwards the former's retval). Only the two above examples look problematic. Signed-off-by: Laszlo Ersek Reviewed-by: Markus Armbruster Message-id: 1385658779-7529-1-git-send-email-lersek@redhat.com Signed-off-by: Anthony Liguori Compare: https://github.com/qemu/qemu/compare/e157b8fdd412...f46e720a82cc= ----==_mimepart_52afa91f789a5_1c41c5dd48709e4-- From MAILER-DAEMON Thu Dec 19 20:00:24 2013 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VtoS0-0004ds-Jf for mharc-qemu-commits@gnu.org; Thu, 19 Dec 2013 20:00:24 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41207) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtoRs-0004cO-V8 for qemu-commits@nongnu.org; Thu, 19 Dec 2013 20:00:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VtoRn-00025s-01 for qemu-commits@nongnu.org; Thu, 19 Dec 2013 20:00:16 -0500 Received: from m71-131.mailgun.net ([166.78.71.131]:38490) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtoRm-00025b-Kt for qemu-commits@nongnu.org; Thu, 19 Dec 2013 20:00:10 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=github.com; q=dns/txt; s=mailo; t=1387501209; h=Date: From: Reply-To: To: Message-Id: Subject: Mime-Version: Content-Type: Content-Transfer-Encoding: Sender; bh=T7JLLCo9AYW89Es1dEOL+LCycqu9RvNwkAidaYdLI1E=; b=c/6PY7rYfJoyf9LvO+kD6FowCA3wV87NpEqc8y8kYFxgfmcDljltKHBdhIVla8B7gSp9lYBb vgFRr/nElVWIjAMommK35tmAj+z/FLAwGqZUjFJteDE7FC8nN5Y8aRbk+4e9UiEmcb7Q24qN dTrN3CTrxTGae+bFd4N7BlM/vrM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=github.com; s=mailo; q=dns; h=Date: From: Reply-To: To: Message-Id: Subject: Mime-Version: Content-Type: Content-Transfer-Encoding: Sender; b=WZzdhQ6RqOI3kMZ0C51FkC3cBSTDpYTxJ/JWYy1ETvux4n0Yn8KCu8NLYQNO8CIH+6ScsS 0Yxo743Jc6jIiHehsovo1GGKJYEwz3w0mdeAwBPYhGXaFecuq+DbazrktZ1bYXVKziKqwCPu 47xuVrPVLsGFk8TGw1OmbxdawkRr0= Received: from github.com (Unknown [192.30.252.48]) by mxa.mailgun.org with ESMTP id 52b39698.6352270-in2; Fri, 20 Dec 2013 01:00:08 -0000 (UTC) Date: Thu, 19 Dec 2013 17:00:07 -0800 From: GitHub To: qemu-commits@nongnu.org Message-Id: <52b39697f09a8_581072bd481328b8@hookshot-fe2-pe1-prd.aws.github.net.mail> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="--==_mimepart_52b39697ef390_581072bd4813274a"; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Mailgun-Sid: WyI1YjNlZCIsICJxZW11LWNvbW1pdHNAbm9uZ251Lm9yZyIsICI0MGYiXQ== Sender: noreply@github.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 166.78.71.131 Subject: [Qemu-commits] [qemu/qemu] 9d9355: target-arm: add support for v8 AES instructions X-BeenThere: qemu-commits@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: GitHub List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Dec 2013 01:00:23 -0000 ----==_mimepart_52b39697ef390_581072bd4813274a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: 9d935509fdb48e47cc46e81d2b9d466b18b546ba https://github.com/qemu/qemu/commit/9d935509fdb48e47cc46e81d2b9d466= b18b546ba Author: Ard Biesheuvel Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M target-arm/Makefile.objs M target-arm/cpu.c M target-arm/cpu.h A target-arm/crypto_helper.c M target-arm/helper.h M target-arm/translate.c Log Message: ----------- target-arm: add support for v8 AES instructions This adds support for the AESE/AESD/AESMC/AESIMC instructions that are available on some v8 implementations of Aarch32. Signed-off-by: Ard Biesheuvel Message-id: 1386266078-6976-1-git-send-email-ard.biesheuvel@linaro.org Signed-off-by: Peter Maydell Commit: 4b6fedcac0f51157ef042cde80d5dc5d0c9ef8a4 https://github.com/qemu/qemu/commit/4b6fedcac0f51157ef042cde80d5dc5= d0c9ef8a4 Author: Roy Franz Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M hw/block/pflash_cfi01.c Log Message: ----------- rename pflash_t member width to bank_width Rename the 'width' member of the pflash_t structure in preparation for adding a bank_width member. Signed-off-by: Roy Franz Reviewed-by: Peter Maydell Message-id: 1386279359-32286-2-git-send-email-roy.franz@linaro.org Signed-off-by: Peter Maydell Commit: 1997b48527c38fe8cdbbb3df82ed79aa3ee88b83 https://github.com/qemu/qemu/commit/1997b48527c38fe8cdbbb3df82ed79a= a3ee88b83 Author: Roy Franz Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M hw/block/pflash_cfi01.c Log Message: ----------- Add device-width property to pflash_cfi01 The width of the devices that make up the flash interface is required to mask certain commands, in particular the write length for buffered writes. This length will be presented to each device on the interface by the program writing the flash, and the flash emulation code needs to be able to determine the length of the write as recieved by each flash device. The device-width defaults to the bank width which should maintain existing behavior for platforms that don't need this change. This change is required to support buffered writes on the vexpress platform that has a 32 bit flash interface with 2 16 bit devices on it. Signed-off-by: Roy Franz Message-id: 1386279359-32286-3-git-send-email-roy.franz@linaro.org Signed-off-by: Peter Maydell Commit: 2003889f67755d47ab355c7813c587adb204eeea https://github.com/qemu/qemu/commit/2003889f67755d47ab355c7813c587a= db204eeea Author: Roy Franz Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M hw/block/pflash_cfi01.c Log Message: ----------- return status for each NOR flash device Now that we know how wide each flash device that makes up the bank is, return status for each device in the bank. Leave existing code that treats 32 bit wide banks as composed of two 16 bit devices as otherw= ise we may break configurations that do not set the device_width propery. Signed-off-by: Roy Franz Message-id: 1386279359-32286-4-git-send-email-roy.franz@linaro.org Signed-off-by: Peter Maydell Commit: b8433303fbc5a4a694adb0f0aff5059442ae63e3 https://github.com/qemu/qemu/commit/b8433303fbc5a4a694adb0f0aff5059= 442ae63e3 Author: Roy Franz Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M hw/arm/vexpress.c Log Message: ----------- Set proper device-width for vexpress flash Create vexpress specific pflash registration function which properly configures the device-width of 16 bits (2 bytes) for the NOR flash on the vexpress platform. This change is required for buffered flash writes to work properly. Signed-off-by: Roy Franz Message-id: 1386279359-32286-5-git-send-email-roy.franz@linaro.org Signed-off-by: Peter Maydell Commit: fa21a7b13e97120c789eda1dbae87a9bcb1efe09 https://github.com/qemu/qemu/commit/fa21a7b13e97120c789eda1dbae87a9= bcb1efe09 Author: Roy Franz Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M hw/block/pflash_cfi01.c Log Message: ----------- Add max device width parameter for NOR devices For handling CFI and device ID reads, we need to not only know the width that a NOR flash device is configured for, but also its maximum width. The maximum width addressing mode is used for multi-width parts no matter which width they are configured for. The most common case is x16 parts that also support x8 mode. When configured for x8 operation these devices respond to CFI and device ID requests differently= than native x8 NOR parts. Signed-off-by: Roy Franz Message-id: 1386279359-32286-6-git-send-email-roy.franz@linaro.org [PMM: Added comment explaining the semantics of width vs device-width vs max-device-width] Signed-off-by: Peter Maydell Commit: 4433e660e3ff19747d9ca7fd3873407ecfb276bf https://github.com/qemu/qemu/commit/4433e660e3ff19747d9ca7fd3873407= ecfb276bf Author: Roy Franz Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M hw/block/pflash_cfi01.c Log Message: ----------- Fix CFI query responses for NOR flash This change fixes the CFI query responses to handle NOR device widths that are different from the bank width. Support is also added for multi-width devices in a x8 configuration. This is typically x8/x16 devices, but the CFI specification mentions x8/x32 devices so those should be supported as well if they exist. The query response data is now replicated per-device in the bank, and is adjusted for x16 or x32 parts configured in x8 mode. The existing code is left in place for boards that have not been updated to specify an explicit device_width. The VExpress board has been updated in an earlier patch in this series so this is the only board currently affected. Signed-off-by: Roy Franz Message-id: 1386279359-32286-7-git-send-email-roy.franz@linaro.org [PMM: fixed a few formatting nits] Signed-off-by: Peter Maydell Commit: 0163a2dc80b52553a478fa6e60f09cef4b338d42 https://github.com/qemu/qemu/commit/0163a2dc80b52553a478fa6e60f09ce= f4b338d42 Author: Roy Franz Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M hw/arm/vexpress.c M hw/block/pflash_cfi01.c Log Message: ----------- Fix NOR flash device ID reading Fix NOR flash manufacturer and device ID reading. This now properly takes into account device widths and device max widths as required. The reading of these IDs uses the same max_width dependent addressing as CFI queries. The old code remains for chips that don't specify a device width, as the new code relies on a device width being set in order to properly operate. The existing code seems very broken. Only ident0 and ident1 are used in the new code, as other fields relate to the lock state of blocks in flash. The VExpress flash configuration has been updated to match the new code, as the existing definition was 'wrong' in order to return the expected results with the broken device ID code. Signed-off-by: Roy Franz Message-id: 1386279359-32286-8-git-send-email-roy.franz@linaro.org Signed-off-by: Peter Maydell Commit: 3671cd879a2666ca1d6e8820a319924be25d6746 https://github.com/qemu/qemu/commit/3671cd879a2666ca1d6e8820a319924= be25d6746 Author: Peter Crosthwaite Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M target-arm/helper.c Log Message: ----------- target-arm/helper.c: Allow cp15.c15 dummy override The cp15.c15 space is implementation defined. Currently there is a dummy placeholder register RAZing it. Allow overriding of this RAZ so implementations of specific registers can take precedence. Signed-off-by: Peter Crosthwaite Reviewed-by: Peter Maydell Message-id: ed1bacec56dae00cb398c798f8240e8e685f949c.1387160489.git.peter= .crosthwaite@xilinx.com Signed-off-by: Peter Maydell Commit: d8ba780b6a17020aadea479ad96ed9fe3bb10661 https://github.com/qemu/qemu/commit/d8ba780b6a17020aadea479ad96ed9f= e3bb10661 Author: Peter Crosthwaite Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M target-arm/cpu.c M target-arm/cpu.h M target-arm/helper.c Log Message: ----------- target-arm: Define and use ARM_FEATURE_CBAR Some processors (notably A9 within Highbank) define and use the CP15 configuration base address (CBAR). This is vendor specific so its best implemented as a CPU property (otherwise we would need vendor specific child classes for every ARM implementation). This patch prepares support for converting CBAR reset value to a CPU property by moving the CP registration out of the CPU init fn, as registration will need to happen at realize time to pick up any property updates. The easiest way to do this is via definition of a new ARM_FEATURE to flag the existence of the register. Signed-off-by: Peter Crosthwaite Reviewed-by: Peter Maydell Message-id: 9f697ef1e2ee60a3b9ef971a7f3bc3fa6752a9b7.1387160489.git.peter= .crosthwaite@xilinx.com Signed-off-by: Peter Maydell Commit: 07a5b0d21e450842e3474546366593a5893e8c61 https://github.com/qemu/qemu/commit/07a5b0d21e450842e3474546366593a= 5893e8c61 Author: Peter Crosthwaite Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M target-arm/cpu.c Log Message: ----------- target-arm/cpu: Convert reset CBAR to a property The reset value of the CP15 CBAR is a vendor (machine) configurable property. If ARM_FEATURE_CBAR is set, add it as a property at post_init time. Signed-off-by: Peter Crosthwaite Message-id: 2f1eec3f912135deea6252360e03645003d12e0a.1387160489.git.peter= .crosthwaite@xilinx.com Signed-off-by: Peter Maydell Commit: f282f29626b6ce65641fb5f8cb631aaade0e51c5 https://github.com/qemu/qemu/commit/f282f29626b6ce65641fb5f8cb631aa= ade0e51c5 Author: Peter Crosthwaite Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M hw/arm/highbank.c Log Message: ----------- arm/highbank: Use object_new() rather than cpu_arm_init() To allow the machine model to set device properties before CPU realization. Signed-off-by: Peter Crosthwaite Reviewed-by: Peter Maydell Message-id: 8c671e500390c8be0cc363e887e32867d1d1b0d2.1387160489.git.peter= .crosthwaite@xilinx.com Signed-off-by: Peter Maydell Commit: c0f1ead985e024dd8d01bba650bc753083a2cc2a https://github.com/qemu/qemu/commit/c0f1ead985e024dd8d01bba650bc753= 083a2cc2a Author: Peter Crosthwaite Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M hw/arm/highbank.c Log Message: ----------- arm/highbank: Fix CBAR initialisation Fix the CBAR initialisation by using the newly defined static property. CBAR is now set before realization, so the intended value is now actually used. So I have kind of tested this. I booted an ARM kernel on Highbank with the stock Highbank DTB. It doesn't boot (and I will be doing something wrong), but before this patch I got this: ------------[ cut here ]------------ WARNING: CPU: 0 PID: 0 at /workspaces/pcrost/public/linux2.git/arch/arm/m= m/ioremap.c:301 __arm_ioremap_pfn_caller+0x180/0x198() CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W 3.13.0-rc1-next-2013112= 6-dirty #2 [] (unwind_backtrace) from [] (show_stack+0x10/0x14) [] (show_stack) from [] (dump_stack+0x78/0x90) [] (dump_stack) from [] (warn_slowpath_common+0x68/0x= 84) [] (warn_slowpath_common) from [] (warn_slowpath_null= +0x1c/0x24) [] (warn_slowpath_null) from [] (__arm_ioremap_pfn_ca= ller+0x180/0x198) [] (__arm_ioremap_pfn_caller) from [] (__arm_ioremap_= caller+0x54/0x5c) [] (__arm_ioremap_caller) from [] (__arm_ioremap+0x18= /0x1c) [] (__arm_ioremap) from [] (highbank_init_irq+0x34/0x= 8c) [] (highbank_init_irq) from [] (init_IRQ+0x28/0x2c) [] (init_IRQ) from [] (start_kernel+0x234/0x398) [] (start_kernel) from [<00008074>] (0x8074) ---[ end trace 3406ff24bd97382f ]--- Which disappears with this patch. Signed-off-by: Peter Crosthwaite Reviewed-by: Peter Maydell Message-id: fedec366aaa512d75093635f523d1dbcb3358361.1387160489.git.peter= .crosthwaite@xilinx.com Signed-off-by: Peter Maydell Commit: d8bbdcf8d6cb71735014dbd22baf274aea46066f https://github.com/qemu/qemu/commit/d8bbdcf8d6cb71735014dbd22baf274= aea46066f Author: Peter Crosthwaite Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M hw/arm/xilinx_zynq.c Log Message: ----------- arm/xilinx_zynq: Use object_new() rather than cpu_arm_init() To allow the machine model to set device properties before CPU realization. Signed-off-by: Peter Crosthwaite Reviewed-by: Peter Maydell Message-id: e57658b4506b26ab6b6fadbe6d7827f669f51895.1387160489.git.peter= .crosthwaite@xilinx.com Signed-off-by: Peter Maydell Commit: c25771281ea17c2a09c86ac6a74672f2ec297f8d https://github.com/qemu/qemu/commit/c25771281ea17c2a09c86ac6a74672f= 2ec297f8d Author: Peter Crosthwaite Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M hw/arm/xilinx_zynq.c Log Message: ----------- arm/xilinx_zynq: Implement CBAR initialisation Fix the CBAR initialisation by using the newly defined static property. Zynq will now correctly init the CBAR to the SCU base address. Needed to boot Linux on the xilinx_zynq machine model. Signed-off-by: Peter Crosthwaite Reviewed-by: Peter Maydell Message-id: 8db7d57ebe5418fed397fcc86ea719f98446c178.1387160489.git.peter= .crosthwaite@xilinx.com Signed-off-by: Peter Maydell Commit: e2cddeeb97a47cd58384cfd86ae79c9bbe829255 https://github.com/qemu/qemu/commit/e2cddeeb97a47cd58384cfd86ae79c9= bbe829255 Author: Peter Crosthwaite Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M hw/arm/highbank.c Log Message: ----------- arm/highbank.c: Fix MPCore periphbase name GIC_BASE_ADDR is not the base address of the GIC. Its clear from the code that this is the base address of the MPCore. Rename to MPCORE_PERIPHBASE accordingly. Signed-off-by: Peter Crosthwaite Reviewed-by: Peter Maydell Message-id: 90798bd3507205c16238b8b19a1a58c5437cf7ca.1387160489.git.peter= .crosthwaite@xilinx.com Signed-off-by: Peter Maydell Commit: 68e0a40a5342e798a76ff4c9bf33837e30099ef7 https://github.com/qemu/qemu/commit/68e0a40a5342e798a76ff4c9bf33837= e30099ef7 Author: Antony Pavlov Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M target-arm/cpu-qom.h M target-arm/cpu.c Log Message: ----------- ARM: cpu: add "reset_hivecs" property Add an ARM CPU property for the reset value of hivecs as it is a board/SoC configurable setting. The existence of the property is conditional on the ARM CPU not being M class. Signed-off-by: Antony Pavlov Signed-off-by: Peter Crosthwaite Message-id: b04216c6bda4bd163f44a55bba552d0e8267481f.1387160489.git.peter= .crosthwaite@xilinx.com [ PC Changes: * Elaborated commit message * refactored to use qdev_property_add_static ] Signed-off-by: Peter Crosthwaite Signed-off-by: Peter Maydell Commit: 387f980676aedcc67baddbf5fd1c9169f331f30b https://github.com/qemu/qemu/commit/387f980676aedcc67baddbf5fd1c916= 9f331f30b Author: Antony Pavlov Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M target-arm/cpu.c Log Message: ----------- ARM: arm_cpu_reset: make it possible to use high vectors for reset_exc If hivecs are being used on reset, the CPU should come out of reset at the hivecs reset vector (0xFFFF0000) Signed-off-by: Antony Pavlov Signed-off-by: Peter Crosthwaite Message-id: 3afc69c4f58f60aa2bbee7b91574a4eb414b1c23.1387160489.git.peter= .crosthwaite@xilinx.com [ PC Changes: * Fixed Grammar error in commit message * Elaborated commit message. ] Signed-off-by: Peter Crosthwaite Signed-off-by: Peter Maydell Commit: b197ebd410f0298ec078c3048f9cfb9f6bfc3b3c https://github.com/qemu/qemu/commit/b197ebd410f0298ec078c3048f9cfb9= f6bfc3b3c Author: Peter Maydell Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M target-arm/Makefile.objs M target-arm/kvm.c A target-arm/kvm32.c Log Message: ----------- target-arm/kvm: Split 32 bit only code into its own file Split ARM KVM support code which is 32 bit specific out into its own file, which we only compile on 32 bit hosts. This will give us a place to add the 64 bit support code without adding lots of ifdefs to kvm.c. Signed-off-by: Peter Maydell Message-id: 1385645602-18662-2-git-send-email-peter.maydell@linaro.org Reviewed-by: Christoffer Dall Commit: d356312fdc8640af929e0dbab61c6e514d47feb8 https://github.com/qemu/qemu/commit/d356312fdc8640af929e0dbab61c6e5= 14d47feb8 Author: Peter Maydell Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M linux-user/signal.c M target-arm/cpu.c M target-arm/cpu.h M target-arm/gdbstub64.c M target-arm/translate-a64.c Log Message: ----------- target-arm: Clean up handling of AArch64 PSTATE The env->pstate field is a little odd since it doesn't strictly speaking represent an architectural register. However it's convenient for QEMU to use it to hold the various PSTATE architectural bits in the same format the architecture specifies for SPSR registers (since this is the same format the kernel uses for signal handlers and the KVM register). Add some structure to how we deal with it: * document what env->pstate is * add some #defines for various bits in it * add helpers for reading/writing it taking account of caching of NZCV, and use them where appropriate * reset it on startup Signed-off-by: Peter Maydell Message-id: 1385645602-18662-3-git-send-email-peter.maydell@linaro.org Reviewed-by: Christoffer Dall Commit: 26861c7ce06c055786323ff4c65af74d735d1c19 https://github.com/qemu/qemu/commit/26861c7ce06c055786323ff4c65af74= d735d1c19 Author: Mian M. Hamayun Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M target-arm/Makefile.objs M target-arm/kvm.c A target-arm/kvm64.c Log Message: ----------- target-arm: Add minimal KVM AArch64 support Add the bare minimum set of functions needed for control of an AArch64 KVM vcpu: * CPU initialization * minimal get/put register functions which only handle the basic state of the CPU Signed-off-by: Mian M. Hamayun Signed-off-by: Peter Maydell Message-id: 1385645602-18662-4-git-send-email-peter.maydell@linaro.org [PMM: significantly overhauled; most notably: * code lives in kvm64.c rather than using #ifdefs * support '-cpu host' rather than implicitly using whatever the host's CPU is regardless of what the user requests * fix bug attempting to get/set nonexistent X[31] * fix bug writing 64 bit kernel pstate into uint32_t env field ] Signed-off-by: Peter Maydell Reviewed-by: Christoffer Dall Commit: 70a5f682f34c04d13164eb0d55241b7378f02030 https://github.com/qemu/qemu/commit/70a5f682f34c04d13164eb0d55241b7= 378f02030 Author: Peter Maydell Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M configure Log Message: ----------- configure: Enable KVM for aarch64 host/target combination Enable KVM if the host and target CPU are both aarch64. Note that host aarch64 + target arm is not valid for KVM acceleration: the 64 bit kernel does not support the ioctl interface for 32 bit CPUs. 32 bit VMs on 64 bit hosts need to be created using the 64 bit ioctl interface; when QEMU supports this it will be on the arch64-softmmu target with a -cpu parameter for a 32 bit CPU, which is still an aarch64/aarch64 combination as far as configure is concerned. Signed-off-by: Peter Maydell Message-id: 1385645602-18662-5-git-send-email-peter.maydell@linaro.org Reviewed-by: Christoffer Dall Commit: 47b1da8134610c10a672b249808dbc763308668e https://github.com/qemu/qemu/commit/47b1da8134610c10a672b249808dbc7= 63308668e Author: Peter Maydell Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M hw/arm/boot.c Log Message: ----------- hw/arm/boot: Allow easier swapping in of different loader code For AArch64 we will obviously require a different set of primary and secondary boot loader code fragments. However currently we hardcode the offsets into the loader code where we must write the entrypoint and other data into arm_load_kernel(). This makes it hard to substitute a different loader fragment, so switch to a more flexible scheme where instead of a raw array of instructions we use an array of (instruction, fixup-type) pairs that indicate which words need special action or data written into them. Signed-off-by: Peter Maydell Message-id: 1385645602-18662-6-git-send-email-peter.maydell@linaro.org Reviewed-by: Christoffer Dall Reviewed-by: Peter Crosthwaite Commit: 4d9ebf751a5a98e5dc2e26baf2344e744f4fa7b9 https://github.com/qemu/qemu/commit/4d9ebf751a5a98e5dc2e26baf2344e7= 44f4fa7b9 Author: Mian M. Hamayun Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M hw/arm/boot.c Log Message: ----------- hw/arm/boot: Add boot support for AArch64 processor This commit adds support for booting a single AArch64 CPU by setting appropriate registers. The bootloader includes placeholders for Board-ID that are used to implement uniform indexing across different bootloaders.= Signed-off-by: Mian M. Hamayun Signed-off-by: Peter Maydell Message-id: 1385645602-18662-7-git-send-email-peter.maydell@linaro.org [PMM: * updated to use ARMInsnFixup style bootloader fragments * dropped virt.c additions * use runtime checks for "is this an AArch64 core" rather than ifdefs * drop some unnecessary setting of registers in reset hook ] Signed-off-by: Peter Maydell Reviewed-by: Christoffer Dall Commit: 013424d436b83f7ba8366b1d40bf82c4f6716f5e https://github.com/qemu/qemu/commit/013424d436b83f7ba8366b1d40bf82c= 4f6716f5e Author: Peter Maydell Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: A default-configs/aarch64-softmmu.mak Log Message: ----------- default-configs: Add config for aarch64-softmmu Add a config for aarch64-softmmu; this enables building of this target. The resulting executable doesn't know about any 64 bit CPUs, but all the 32 bit CPUs and board models work. Signed-off-by: Peter Maydell Message-id: 1385645602-18662-8-git-send-email-peter.maydell@linaro.org Reviewed-by: Peter Crosthwaite Commit: 40f860cd6c1aa0d3399e3f8158f20bdc5b2bfbfe https://github.com/qemu/qemu/commit/40f860cd6c1aa0d3399e3f8158f20bd= c5b2bfbfe Author: Peter Maydell Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M target-arm/translate-a64.c M target-arm/translate.c M target-arm/translate.h Log Message: ----------- target-arm: Split A64 from A32/T32 gen_intermediate_code_internal() The A32/T32 gen_intermediate_code_internal() is complicated because it has to deal with: * conditionally executed instructions * Thumb IT blocks * kernel helper page * M profile exception-exit special casing None of these apply to A64, so putting the "this is A64 so call the A64 decoder" check in the middle of the A32/T32 loop is confusing and means the A64 decoder's handling of things like conditional jump and singlestepping has to take account of the conditional-execution jumps the main loop might emit. Refactor the code to give A64 its own gen_intermediate_code_internal function instead. Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Commit: 5ce4f35781028ce1aee3341e6002f925fdc7aaf3 https://github.com/qemu/qemu/commit/5ce4f35781028ce1aee3341e6002f92= 5fdc7aaf3 Author: Alexander Graf Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M target-arm/cpu64.c Log Message: ----------- target-arm: A64: add set_pc cpu method When executing translation blocks we need to be able to recover our program counter. Add a method to set it for AArch64 CPUs. This covers user-mode, but for system mode emulation we will need to check if the CPU is in an AArch32 execution state. Signed-off-by: Alexander Graf Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Commit: f903fa22f4d7f3a20c4d0f42e7585ed80a3ec051 https://github.com/qemu/qemu/commit/f903fa22f4d7f3a20c4d0f42e7585ed= 80a3ec051 Author: Peter Maydell Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M target-arm/cpu.h Log Message: ----------- target-arm: A64: provide functions for accessing FPCR and FPSR The information which AArch32 holds in the FPSCR is split for AArch64 into two logically distinct registers, FPSR and FPCR. Since they are carefully arranged to use non-overlapping bits, we leave the underlying state in the same place, and provide accessor functions which just update the appropriate bits via vfp_get_fpscr() and vfp_set_fpscr(). Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Commit: 6a66942735569ec7f8b761c1205e6f4c50962fe4 https://github.com/qemu/qemu/commit/6a66942735569ec7f8b761c1205e6f4= c50962fe4 Author: Peter Maydell Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M configure A gdb-xml/aarch64-fpu.xml M target-arm/helper.c Log Message: ----------- target-arm: Support fp registers in gdb stub Register the aarch64-fpu XML and implement the necessary read/write handlers so we can support reading and writing of FP registers in the gdb stub. Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Commit: d3e35a1fe4562ee3f9f1af91ab02d62cf31b9488 https://github.com/qemu/qemu/commit/d3e35a1fe4562ee3f9f1af91ab02d62= cf31b9488 Author: Alexander Graf Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M target-arm/Makefile.objs A target-arm/helper-a64.c A target-arm/helper-a64.h M target-arm/helper.h Log Message: ----------- target-arm: A64: add stubs for a64 specific helpers We will need helpers that only make sense with AArch64. Add helper-a64.{c,h} files as stubs that we can fill with these helpers in the following patches. Signed-off-by: Alexander Graf Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Commit: ad7ee8a290d08a2fe9d408af2461d1f583d96f7d https://github.com/qemu/qemu/commit/ad7ee8a290d08a2fe9d408af2461d1f= 583d96f7d Author: Claudio Fontana Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M target-arm/translate-a64.c Log Message: ----------- target-arm: A64: provide skeleton for a64 insn decoding Provide a skeleton for a64 instruction decoding in translate-a64.c, by dividing instructions into the classes defined by the ARM Architecture Reference Manual(DDI0487A_a) section C3. Signed-off-by: Claudio Fontana Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Commit: 87462e0f41fccc353f9c902caed563ab7cbdd8ed https://github.com/qemu/qemu/commit/87462e0f41fccc353f9c902caed563a= b7cbdd8ed Author: Claudio Fontana Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M target-arm/translate-a64.c Log Message: ----------- target-arm: A64: expand decoding skeleton for system instructions Decode the various kinds of system instructions: hints (HINT), which include NOP, YIELD, WFE, WFI, SEV, SEL sync instructions, which include CLREX, DSB, DMB, ISB msr_i, which move immediate to processor state field sys, which include all SYS and SYSL instructions msr, which move from a gp register to a system register mrs, which move from a system register to a gp register Provide implementations where they are trivial nops. Signed-off-by: Claudio Fontana Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Commit: 11e169de9940b9dc057e534ecf864c542fafb425 https://github.com/qemu/qemu/commit/11e169de9940b9dc057e534ecf864c5= 42fafb425 Author: Alexander Graf Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M target-arm/translate-a64.c M target-arm/translate.h Log Message: ----------- target-arm: A64: add support for B and BL insns Implement the B and BL instructions (PC relative branches and calls). For convenience in managing TCG temporaries which might be generated if a source register is the zero-register XZR, we provide a simple mechanism for creating a new temp which is automatically freed at the end of decode of the instruction. Signed-off-by: Alexander Graf [claudio: renamed functions, adapted to new decoder layout] Signed-off-by: Claudio Fontana Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Commit: b001c8c3d6855b0b52fc0fdd63b5a93fd326bf0c https://github.com/qemu/qemu/commit/b001c8c3d6855b0b52fc0fdd63b5a93= fd326bf0c Author: Alexander Graf Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M target-arm/translate-a64.c Log Message: ----------- target-arm: A64: add support for BR, BLR and RET insns Implement BR, BLR and RET. This is all of the 'unconditional branch (register)' instruction category except for ERET and DPRS (which are system mode only). Signed-off-by: Alexander Graf [claudio: reimplemented on top of new decoder structure] Signed-off-by: Claudio Fontana Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Commit: 39fb730aed8c5f7b0058845cb9feac0d4b177985 https://github.com/qemu/qemu/commit/39fb730aed8c5f7b0058845cb9feac0= d4b177985 Author: Alexander Graf Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M target-arm/translate-a64.c M target-arm/translate.c M target-arm/translate.h Log Message: ----------- target-arm: A64: add support for conditional branches This patch adds emulation for the conditional branch (b.cond) instruction= . Signed-off-by: Alexander Graf [claudio: adapted to new decoder structure, reused arm infrastructure for checking the flags] Signed-off-by: Claudio Fontana Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Commit: db0f79589c16fe7f697716f4cadc903a2575ef55 https://github.com/qemu/qemu/commit/db0f79589c16fe7f697716f4cadc903= a2575ef55 Author: Alexander Graf Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M target-arm/translate-a64.c Log Message: ----------- target-arm: A64: add support for 'test and branch' imm This patch adds emulation for the test and branch insns, TBZ and TBNZ. Signed-off-by: Alexander Graf [claudio: adapted for new decoder always compare with 0 remove a TCG temporary ] Signed-off-by: Claudio Fontana Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Commit: 60e5338831e35e7b407b1670f5fe936859ea5490 https://github.com/qemu/qemu/commit/60e5338831e35e7b407b1670f5fe936= 859ea5490 Author: Alexander Graf Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M target-arm/translate-a64.c Log Message: ----------- target-arm: A64: add support for compare and branch imm This patch adds emulation for the compare and branch insns, CBZ and CBNZ. Signed-off-by: Alexander Graf [claudio: adapted to new decoder, compare with immediate 0, introduce read_cpu_reg to get the 0 extension on (!sf)] Signed-off-by: Claudio Fontana Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Commit: e952d8c77a59dd31b5a4332f19e19f43dc90bd68 https://github.com/qemu/qemu/commit/e952d8c77a59dd31b5a4332f19e19f4= 3dc90bd68 Author: Claudio Fontana Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M target-arm/translate-a64.c Log Message: ----------- target-arm: A64: add support for conditional select This patch adds support for the instruction group "C3.5.6 Conditional select": CSEL, CSINC, CSINV, CSNEG. Signed-off-by: Claudio Fontana [PMM: Improved code generated in the nomatch case as per RTH suggestions]= Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Commit: 832ffa1ce073f010fd1c766361b2e35ce3f105d3 https://github.com/qemu/qemu/commit/832ffa1ce073f010fd1c766361b2e35= ce3f105d3 Author: Alexander Graf Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M target-arm/translate-a64.c Log Message: ----------- target-arm: A64: add support for logical (shifted register) Add support for the instructions described in "C3.5.10 Logical (shifted register)". We store the flags in the same locations as the 32 bit decoder. This is slightly awkward when calculating 64 bit results, but seems a better tradeoff than having to rework the whole 32 bit decoder and also make 32 bit result calculation in A64 awkward. Signed-off-by: Alexander Graf [claudio: some refactoring to avoid hidden allocation of temps, rework flags, use enums for shift types, renaming of functions] Signed-off-by: Claudio Fontana [PMM: Use TCG's andc/orc/eqv ops rather than manually inverting] Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Commit: 15bfe8b650a0fd40940cb8f4bfc8c57d6940173e https://github.com/qemu/qemu/commit/15bfe8b650a0fd40940cb8f4bfc8c57= d6940173e Author: Alexander Graf Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M target-arm/translate-a64.c Log Message: ----------- target-arm: A64: add support for ADR and ADRP Add support for the instructions described in "C3.4.6 PC-rel. addressing" (ADR and ADRP). Signed-off-by: Alexander Graf [claudio: adapted to new decoder structure] Signed-off-by: Claudio Fontana Reviewed-by: Richard Henderson Signed-off-by: Peter Maydell Commit: e801de93d0155c0c14d6b4dea1b3577ca36e214b https://github.com/qemu/qemu/commit/e801de93d0155c0c14d6b4dea1b3577= ca36e214b Author: Alexander Graf Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M target-arm/translate-a64.c Log Message: ----------- target-arm: A64: add support for EXTR This patch adds emulation support for the EXTR instruction. Signed-off-by: Alexander Graf [claudio: adapted for new decoder, removed a few temporaries, fixed the 32bit bug, added checks for more unallocated cases] Signed-off-by: Claudio Fontana Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Commit: 8220e911c240df5b4b2a1473f0ba9feddc154c45 https://github.com/qemu/qemu/commit/8220e911c240df5b4b2a1473f0ba9fe= ddc154c45 Author: Alexander Graf Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M target-arm/helper-a64.c M target-arm/helper-a64.h M target-arm/translate-a64.c Log Message: ----------- target-arm: A64: add support for 2-src data processing and DIV This patch adds support for decoding 2-src data processing insns, and the first users, UDIV and SDIV. Signed-off-by: Alexander Graf [claudio: adapted to new decoder adding the 2-src decoding level, always zero-extend result in 32bit mode] Signed-off-by: Claudio Fontana Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Commit: 6c1adc919b6a81e008b919c53902b4877ef4d737 https://github.com/qemu/qemu/commit/6c1adc919b6a81e008b919c53902b48= 77ef4d737 Author: Alexander Graf Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M target-arm/translate-a64.c Log Message: ----------- target-arm: A64: add support for 2-src shift reg insns This adds 2-src variable shift register instructions: C5.6.115 LSLV, C5.6.118 LSRV, C5.6.17 ASRV, C5.6.154 RORV Signed-off-by: Alexander Graf [claudio: adapted to new decoder, use enums for shift types] Signed-off-by: Claudio Fontana Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Commit: 680ead216e666e5cc192fe86adf30563999a5dd8 https://github.com/qemu/qemu/commit/680ead216e666e5cc192fe86adf3056= 3999a5dd8 Author: Claudio Fontana Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M target-arm/helper-a64.c M target-arm/helper-a64.h M target-arm/translate-a64.c Log Message: ----------- target-arm: A64: add support for 1-src data processing and CLZ This patch adds support for decoding 1-src data processing insns, and the first user, C5.6.40 CLZ (count leading zeroes). Signed-off-by: Claudio Fontana Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Commit: 82e14b02a2bd822af6db2ef728a1698b9a24e50c https://github.com/qemu/qemu/commit/82e14b02a2bd822af6db2ef728a1698= b9a24e50c Author: Alexander Graf Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M target-arm/helper-a64.c M target-arm/helper-a64.h M target-arm/translate-a64.c Log Message: ----------- target-arm: A64: add support for 1-src RBIT insn This adds support for the C5.6.147 RBIT instruction. Signed-off-by: Alexander Graf [claudio: adapted to new decoder, use bswap64, make RBIT part standalone from the rest of the patch, splitting REV into a separate patch] Signed-off-by: Claudio Fontana Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Commit: 453232096c4e93ec871f7ff97abfc0bf54258c95 https://github.com/qemu/qemu/commit/453232096c4e93ec871f7ff97abfc0b= f54258c95 Author: Claudio Fontana Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M target-arm/translate-a64.c Log Message: ----------- target-arm: A64: add support for 1-src REV insns This adds support for C5.6.149 REV, C5.6.151 REV32, C5.6.150 REV16. Signed-off-by: Claudio Fontana Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Commit: 880777423525685ccaf1bf6967b27cc8a38e5f96 https://github.com/qemu/qemu/commit/880777423525685ccaf1bf6967b27cc= 8a38e5f96 Author: Claudio Fontana Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M target-arm/translate-a64.c Log Message: ----------- target-arm: A64: add support for bitfield insns This patch implements the C3.4.2 Bitfield instructions: SBFM, BFM, UBFM. Signed-off-by: Claudio Fontana Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Commit: afd3fe4ce56e6fb0d0384ddb8e3c4fac01935c37 https://github.com/qemu/qemu/commit/afd3fe4ce56e6fb0d0384ddb8e3c4fa= c01935c37 Author: Claudio Fontana Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M include/qemu/host-utils.h Log Message: ----------- host-utils: add clrsb32/64 - count leading redundant sign bits this patch introduces wrappers for the clrsb builtins, which count the leading redundant sign bits. Signed-off-by: Claudio Fontana Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Commit: e80c502023d332fb60866eb378e715ab3f158b72 https://github.com/qemu/qemu/commit/e80c502023d332fb60866eb378e715a= b3f158b72 Author: Claudio Fontana Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M target-arm/helper-a64.c M target-arm/helper-a64.h M target-arm/translate-a64.c Log Message: ----------- target-arm: A64: add support for 1-src CLS insn this patch adds support for the CLS instruction. Signed-off-by: Claudio Fontana Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Commit: 71b46089303beb7d52a0b9397f5c286a7e66275f https://github.com/qemu/qemu/commit/71b46089303beb7d52a0b9397f5c286= a7e66275f Author: Alexander Graf Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M target-arm/translate-a64.c Log Message: ----------- target-arm: A64: add support for logical (immediate) insns This patch adds support for C3.4.4 Logical (immediate), which include AND, ANDS, ORR, EOR. Signed-off-by: Alexander Graf [claudio: adapted to new decoder, function renaming, removed a TCG temp variable] Signed-off-by: Claudio Fontana [PMM: cleaned up some unnecessary code in logic_imm_decode_wmask and added clarifying commentary on what it's actually doing. Dropped an ext32u that's not needed if we've just done an AND.] Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Commit: c6f09eb4a0ea14b68f2745e87641c79a51057959 https://github.com/qemu/qemu/commit/c6f09eb4a0ea14b68f2745e87641c79= a51057959 Author: Antony Pavlov Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M default-configs/arm-softmmu.mak M hw/arm/Makefile.objs A hw/arm/digic.c A include/hw/arm/digic.h Log Message: ----------- hw/arm: add very initial support for Canon DIGIC SoC DIGIC is Canon Inc.'s name for a family of SoC for digital cameras and camcorders. There is no publicly available specification for DIGIC chips. All information about DIGIC chip internals is based on reverse engineering efforts made by CHDK (http://chdk.wikia.com) and Magic Lantern (http://www.magiclantern.fm) projects contributors. Signed-off-by: Antony Pavlov Reviewed-by: Andreas F=C3=A4rber Reviewed-by: Peter Maydell Reviewed-by: Peter Crosthwaite Message-id: 1387188908-754-2-git-send-email-antonynpavlov@gmail.com Signed-off-by: Peter Maydell Commit: d91fd756fb2af16584d338c4ef715f40ea49924c https://github.com/qemu/qemu/commit/d91fd756fb2af16584d338c4ef715f4= 0ea49924c Author: Antony Pavlov Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M hw/arm/Makefile.objs A hw/arm/digic_boards.c M tests/qom-test.c Log Message: ----------- hw/arm/digic: prepare DIGIC-based boards support Also this patch adds initial support for Canon PowerShot A1100 IS compact camera. Signed-off-by: Antony Pavlov Message-id: 1387188908-754-3-git-send-email-antonynpavlov@gmail.com Signed-off-by: Peter Maydell Commit: 576e99cb951e9c1a289555a31cfd5b9040e80037 https://github.com/qemu/qemu/commit/576e99cb951e9c1a289555a31cfd5b9= 040e80037 Author: Antony Pavlov Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M hw/arm/digic.c M hw/timer/Makefile.objs A hw/timer/digic-timer.c M include/hw/arm/digic.h A include/hw/timer/digic-timer.h Log Message: ----------- hw/arm/digic: add timer support Signed-off-by: Antony Pavlov Reviewed-by: Peter Crosthwaite Message-id: 1387188908-754-4-git-send-email-antonynpavlov@gmail.com Signed-off-by: Peter Maydell Commit: 142593c9d700e02b316443bcaa99226720242625 https://github.com/qemu/qemu/commit/142593c9d700e02b316443bcaa99226= 720242625 Author: Antony Pavlov Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M hw/arm/digic.c M hw/char/Makefile.objs A hw/char/digic-uart.c M include/hw/arm/digic.h A include/hw/char/digic-uart.h Log Message: ----------- hw/arm/digic: add UART support Signed-off-by: Antony Pavlov Reviewed-by: Peter Maydell Reviewed-by: Peter Crosthwaite Message-id: 1387188908-754-5-git-send-email-antonynpavlov@gmail.com Signed-off-by: Peter Maydell Commit: 04234a37b1a89f3f119ef59c143a7b2e0a1ab40e https://github.com/qemu/qemu/commit/04234a37b1a89f3f119ef59c143a7b2= e0a1ab40e Author: Antony Pavlov Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M hw/arm/digic_boards.c Log Message: ----------- hw/arm/digic: add NOR ROM support Signed-off-by: Antony Pavlov Message-id: 1387188908-754-6-git-send-email-antonynpavlov@gmail.com [PMM: don't try to load ROM blob if qtest_enabled()] Signed-off-by: Peter Maydell Commit: 9082f12173d407290bcec9f4ae84242972b2480c https://github.com/qemu/qemu/commit/9082f12173d407290bcec9f4ae84242= 972b2480c Author: Antony Pavlov Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M MAINTAINERS Log Message: ----------- MAINTAINERS: Document 'Canon DIGIC' machine Signed-off-by: Antony Pavlov Message-id: 1387188908-754-7-git-send-email-antonynpavlov@gmail.com Signed-off-by: Peter Maydell Commit: a1f05e79f2c207bded5efc23e8c6b1ca58161a8e https://github.com/qemu/qemu/commit/a1f05e79f2c207bded5efc23e8c6b1c= a58161a8e Author: Peter Maydell Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M include/hw/ptimer.h M include/migration/vmstate.h Log Message: ----------- vmstate: Add support for an array of ptimer_state * Add support for defining a vmstate field which is an array of pointers to structures, and use this to define a VMSTATE_PTIMER_ARRAY() which allows an array of ptimer_state* to be used by devices. Signed-off-by: Peter Maydell Message-id: 1387159292-10436-2-git-send-email-lig.fnst@cn.fujitsu.com Commit: 3589de8c971df29562fcaf2d9b04f0886aff4866 https://github.com/qemu/qemu/commit/3589de8c971df29562fcaf2d9b04f08= 86aff4866 Author: liguang Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M default-configs/arm-softmmu.mak M hw/timer/Makefile.objs A hw/timer/allwinner-a10-pit.c A include/hw/timer/allwinner-a10-pit.h Log Message: ----------- hw/timer: add allwinner a10 timer Signed-off-by: liguang Reviewed-by: Peter Crosthwaite Message-id: 1387159292-10436-3-git-send-email-lig.fnst@cn.fujitsu.com Signed-off-by: Peter Maydell Commit: c3931ee8b42def4089831b4d79e93c5b05667ff6 https://github.com/qemu/qemu/commit/c3931ee8b42def4089831b4d79e93c5= b05667ff6 Author: liguang Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M default-configs/arm-softmmu.mak M hw/intc/Makefile.objs A hw/intc/allwinner-a10-pic.c A include/hw/intc/allwinner-a10-pic.h Log Message: ----------- hw/intc: add allwinner A10 interrupt controller Signed-off-by: liguang Reviewed-by: Peter Crosthwaite Reviewed-by: Peter Maydell Message-id: 1387159292-10436-4-git-send-email-lig.fnst@cn.fujitsu.com Signed-off-by: Peter Maydell Commit: 9158fa5451b5929f1d882ef08c30b4f4aadd6945 https://github.com/qemu/qemu/commit/9158fa5451b5929f1d882ef08c30b4f= 4aadd6945 Author: liguang Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M default-configs/arm-softmmu.mak M hw/arm/Makefile.objs A hw/arm/allwinner-a10.c A include/hw/arm/allwinner-a10.h Log Message: ----------- hw/arm: add allwinner a10 SoC support Signed-off-by: liguang Reviewed-by: Peter Crosthwaite Message-id: 1387159292-10436-5-git-send-email-lig.fnst@cn.fujitsu.com Signed-off-by: Peter Maydell Commit: a01c005327007562f3313f3efe235f77309db809 https://github.com/qemu/qemu/commit/a01c005327007562f3313f3efe235f7= 7309db809 Author: liguang Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M hw/arm/Makefile.objs A hw/arm/cubieboard.c M tests/qom-test.c Log Message: ----------- hw/arm: add cubieboard support Signed-off-by: liguang Reviewed-by: Peter Crosthwaite Message-id: 1387159292-10436-6-git-send-email-lig.fnst@cn.fujitsu.com Signed-off-by: Peter Maydell Commit: 84291fe7a34f8c2d595bcdb77ff506d1d60fcd7c https://github.com/qemu/qemu/commit/84291fe7a34f8c2d595bcdb77ff506d= 1d60fcd7c Author: liguang Date: 2013-12-17 (Tue, 17 Dec 2013) Changed paths: M MAINTAINERS Log Message: ----------- MAINTAINERS: add myself to maintain allwinner-a10 Signed-off-by: liguang Message-id: 1387159292-10436-7-git-send-email-lig.fnst@cn.fujitsu.com Signed-off-by: Peter Maydell Commit: 3dc7e2a3fedafc2f951bd62300b342c84e3606f8 https://github.com/qemu/qemu/commit/3dc7e2a3fedafc2f951bd62300b342c= 84e3606f8 Author: Anthony Liguori Date: 2013-12-19 (Thu, 19 Dec 2013) Changed paths: M MAINTAINERS M configure A default-configs/aarch64-softmmu.mak M default-configs/arm-softmmu.mak A gdb-xml/aarch64-fpu.xml M hw/arm/Makefile.objs A hw/arm/allwinner-a10.c M hw/arm/boot.c A hw/arm/cubieboard.c A hw/arm/digic.c A hw/arm/digic_boards.c M hw/arm/highbank.c M hw/arm/vexpress.c M hw/arm/xilinx_zynq.c M hw/block/pflash_cfi01.c M hw/char/Makefile.objs A hw/char/digic-uart.c M hw/intc/Makefile.objs A hw/intc/allwinner-a10-pic.c M hw/timer/Makefile.objs A hw/timer/allwinner-a10-pit.c A hw/timer/digic-timer.c A include/hw/arm/allwinner-a10.h A include/hw/arm/digic.h A include/hw/char/digic-uart.h A include/hw/intc/allwinner-a10-pic.h M include/hw/ptimer.h A include/hw/timer/allwinner-a10-pit.h A include/hw/timer/digic-timer.h M include/migration/vmstate.h M include/qemu/host-utils.h M linux-user/signal.c M target-arm/Makefile.objs M target-arm/cpu-qom.h M target-arm/cpu.c M target-arm/cpu.h M target-arm/cpu64.c A target-arm/crypto_helper.c M target-arm/gdbstub64.c A target-arm/helper-a64.c A target-arm/helper-a64.h M target-arm/helper.c M target-arm/helper.h M target-arm/kvm.c A target-arm/kvm32.c A target-arm/kvm64.c M target-arm/translate-a64.c M target-arm/translate.c M target-arm/translate.h M tests/qom-test.c Log Message: ----------- Merge remote-tracking branch 'pmaydell/tags/pull-target-arm-20131217' i= nto staging target-arm queue: * AES instruction support for 32 bit ARM * pflash01: much better emulation of 2x16bit and similar configs where multiple flash devices are banked together * fixed CBAR handling on Zynq, Highbank * initial AArch64 KVM control support * first two chunks of patches for A64 instruction emulation * new board: canon-a1100 (Canon DIGIC SoC) * new board: cubieboard (Allwinner A10 SoC) # gpg: Signature made Tue 17 Dec 2013 12:18:39 PM PST using RSA key ID 14= 360CDE # gpg: Can't check signature: public key not found # By Alexander Graf (14) and others # Via Peter Maydell * pmaydell/tags/pull-target-arm-20131217: (62 commits) MAINTAINERS: add myself to maintain allwinner-a10 hw/arm: add cubieboard support hw/arm: add allwinner a10 SoC support hw/intc: add allwinner A10 interrupt controller hw/timer: add allwinner a10 timer vmstate: Add support for an array of ptimer_state * MAINTAINERS: Document 'Canon DIGIC' machine hw/arm/digic: add NOR ROM support hw/arm/digic: add UART support hw/arm/digic: add timer support hw/arm/digic: prepare DIGIC-based boards support hw/arm: add very initial support for Canon DIGIC SoC target-arm: A64: add support for logical (immediate) insns target-arm: A64: add support for 1-src CLS insn host-utils: add clrsb32/64 - count leading redundant sign bits target-arm: A64: add support for bitfield insns target-arm: A64: add support for 1-src REV insns target-arm: A64: add support for 1-src RBIT insn target-arm: A64: add support for 1-src data processing and CLZ target-arm: A64: add support for 2-src shift reg insns ... Message-id: 1387312160-12318-1-git-send-email-peter.maydell@linaro.org Signed-off-by: Anthony Liguori Compare: https://github.com/qemu/qemu/compare/f46e720a82cc...3dc7e2a3feda= ----==_mimepart_52b39697ef390_581072bd4813274a-- From MAILER-DAEMON Thu Dec 19 20:30:24 2013 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Vtov2-0001T5-9f for mharc-qemu-commits@gnu.org; Thu, 19 Dec 2013 20:30:24 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34643) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vtouv-0001Rb-VO for qemu-commits@nongnu.org; Thu, 19 Dec 2013 20:30:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vtour-0006aA-HW for qemu-commits@nongnu.org; Thu, 19 Dec 2013 20:30:17 -0500 Received: from m69-170.mailgun.net ([166.78.69.170]:44489) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vtour-0006Zr-8g for qemu-commits@nongnu.org; Thu, 19 Dec 2013 20:30:13 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=github.com; q=dns/txt; s=mailo; t=1387503012; h=Date: From: Reply-To: To: Message-Id: Subject: Mime-Version: Content-Type: Content-Transfer-Encoding: Sender; bh=xwvpEeYrhC1BA8BT7RR1oCR++BOEThogPHwKQlyWgpw=; b=UkFWSGCOyvpfAE/ZXv0zJ920LygRZq3zIgw6sFxa1YnWwf7g22jFFyhvkY1XWcRaiGQhsWsE +1JzU55xfQ0ODC3tNw8hKGKQtWGuB7FHIGWraymbyKpzSYPvDMASj9iHIfqIr3cW2fYyL2Cz /LyCu5bKg2OZywluFNg5r7CCFaU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=github.com; s=mailo; q=dns; h=Date: From: Reply-To: To: Message-Id: Subject: Mime-Version: Content-Type: Content-Transfer-Encoding: Sender; b=qk8wIduIAJ8ao3PBPof6conPxt0Z7EqNiy7szDZ9zpk+XQ/C9dnCnLCzp0ADRWljg3LSZQ QRmU6dA0yPHoThB/qTg/DOh1o687Zht3dkuUnwXdshrPfMI92y9dO48/IbzMXV8eHgEbodqt hAOv3MtVkRNMokp5hin8YdVRjaNlY= Received: from github.com (Unknown [192.30.252.51]) by mxa.mailgun.org with ESMTP id 52b39da4.7146180-in3; Fri, 20 Dec 2013 01:30:12 -0000 (UTC) Date: Thu, 19 Dec 2013 17:30:11 -0800 From: GitHub To: qemu-commits@nongnu.org Message-Id: <52b39da38dda0_4f78d9d4867585@hookshot-fe5-pe1-prd.aws.github.net.mail> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="--==_mimepart_52b39da38d0e6_4f78d9d48674d5"; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Mailgun-Sid: WyI1YjNlZCIsICJxZW11LWNvbW1pdHNAbm9uZ251Lm9yZyIsICI0MGYiXQ== Sender: noreply@github.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 166.78.69.170 Subject: [Qemu-commits] [qemu/qemu] c65f9a: target-ppc: add stubs for KVM breakpoints X-BeenThere: qemu-commits@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: GitHub List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Dec 2013 01:30:22 -0000 ----==_mimepart_52b39da38d0e6_4f78d9d48674d5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: c65f9a07a78afa3c98712f6192962ffd6babe339 https://github.com/qemu/qemu/commit/c65f9a07a78afa3c98712f6192962ff= d6babe339 Author: Greg Kurz Date: 2013-12-19 (Thu, 19 Dec 2013) Changed paths: M target-ppc/kvm.c Log Message: ----------- target-ppc: add stubs for KVM breakpoints The latest update to v3.13-rc3 (bf63839f) breaks the ppc build with KVM: kvm-all.o: In function `kvm_update_guest_debug': kvm-all.c:1910: undefined reference to `kvm_arch_update_guest_debug' kvm-all.o: In function `kvm_insert_breakpoint': kvm-all.c:1937: undefined reference to `kvm_arch_insert_sw_breakpoint' kvm-all.c:1945: undefined reference to `kvm_arch_insert_hw_breakpoint' kvm-all.o: In function `kvm_remove_breakpoint': kvm-all.c:1977: undefined reference to `kvm_arch_remove_sw_breakpoint' kvm-all.c:1985: undefined reference to `kvm_arch_remove_hw_breakpoint' kvm-all.o: In function `kvm_remove_all_breakpoints': kvm-all.c:2009: undefined reference to `kvm_arch_remove_sw_breakpoint' kvm-all.c:2006: undefined reference to `kvm_arch_remove_sw_breakpoint' kvm-all.c:2017: undefined reference to `kvm_arch_remove_all_hw_breakpoint= s' We need stubs until something gets implemented. Signed-off-by: Greg Kurz Reviewed-by: Alexander Graf Signed-off-by: Alexander Graf Commit: 3bc9ccc054574820190f0e6bbfd299bc2d42323d https://github.com/qemu/qemu/commit/3bc9ccc054574820190f0e6bbfd299b= c2d42323d Author: Alexey Kardashevskiy Date: 2013-12-19 (Thu, 19 Dec 2013) Changed paths: M target-ppc/cpu-models.c M target-ppc/cpu-models.h M target-ppc/cpu-qom.h M target-ppc/kvm.c M target-ppc/translate_init.c Log Message: ----------- powerpc: add PVR mask support IBM POWERPC processors encode PVR as a CPU family in higher 16 bits and a CPU version in lower 16 bits. Since there is no significant change in behavior between versions, there is no point to add every single CPU version in QEMU's CPU list. Also, new CPU versions of already supported CPU won't break the existing code. This adds PVR value/mask support for KVM, i.e. for -cpu host option. As CPU family class name for POWER7 is "POWER7-family", there is no need to touch aliases. Signed-off-by: Alexey Kardashevskiy Reviewed-by: Andreas F=C3=A4rber Signed-off-by: Alexander Graf Commit: 74f239975501cf0ad886a5d40ce40aecbb9dc0b2 https://github.com/qemu/qemu/commit/74f239975501cf0ad886a5d40ce40ae= cbb9dc0b2 Author: Tom Musta Date: 2013-12-19 (Thu, 19 Dec 2013) Changed paths: M target-ppc/cpu.h M target-ppc/translate_init.c Log Message: ----------- Declare and Enable VSX This patch adds the flag POWERPC_FLAG_VSX to the list of defined flags and also adds this flag to the list of supported features of the Power7 and Power8 CPUs. Additionally, the VSX instructions are added to the list of TCG-enabled instruction. Signed-off-by: Tom Musta Signed-off-by: Anton Blanchard Signed-off-by: Alexander Graf Commit: 1f29871cb7518692cf5c1fa8c19b117c789ff7f0 https://github.com/qemu/qemu/commit/1f29871cb7518692cf5c1fa8c19b117= c789ff7f0 Author: Tom Musta Date: 2013-12-19 (Thu, 19 Dec 2013) Changed paths: M target-ppc/cpu.h M target-ppc/excp_helper.c M target-ppc/translate.c M target-ppc/translate_init.c Log Message: ----------- Add MSR VSX and Associated Exception This patch adds support for the VSX bit of the PowerPC Machine State Register (MSR) as well as the corresponding VSX Unavailable exception. The VSX bit is added to the defined bits masks of the Power7 and Power8 CPU models. Signed-off-by: Tom Musta Signed-off-by: Anton Blanchard Signed-off-by: Alexander Graf Commit: f9fc6d810f6777a253337ba050639d266e9a3538 https://github.com/qemu/qemu/commit/f9fc6d810f6777a253337ba050639d2= 66e9a3538 Author: Tom Musta Date: 2013-12-19 (Thu, 19 Dec 2013) Changed paths: M target-ppc/translate.c Log Message: ----------- Add VSX Instruction Decoders This patch adds decoders for the VSX fields XT, XS, XA, XB and DM. The first four are split fields and a general helper for these types of fields is also added. Signed-off-by: Tom Musta Signed-off-by: Anton Blanchard Signed-off-by: Alexander Graf Commit: 472b24ce2b4f22363ec9a556e479be6ad5180727 https://github.com/qemu/qemu/commit/472b24ce2b4f22363ec9a556e479be6= ad5180727 Author: Tom Musta Date: 2013-12-19 (Thu, 19 Dec 2013) Changed paths: M target-ppc/translate.c Log Message: ----------- Add VSR to Global Registers This patch adds VSX VSRs to the the list of global register indices. More specifically, it adds the lower halves of the first 32 VSRs to the list of global register indices. The upper halves of the first 32 VSRs are already defined via cpu_fpr[]. And the second 32 VSRs are already defined via the cpu_avrh[] and cpu_avrl[] arrays. Signed-off-by: Tom Musta Signed-off-by: Anton Blanchard Signed-off-by: Alexander Graf Commit: 304af367427301697df32112c50448b7d55c7054 https://github.com/qemu/qemu/commit/304af367427301697df32112c50448b= 7d55c7054 Author: Tom Musta Date: 2013-12-19 (Thu, 19 Dec 2013) Changed paths: M target-ppc/translate.c Log Message: ----------- Add lxvd2x This patch adds the lxvd2x instruction. Signed-off-by: Tom Musta Signed-off-by: Anton Blanchard Signed-off-by: Alexander Graf Commit: fbed2478e9ba22f091e3842123252a902dc5b98d https://github.com/qemu/qemu/commit/fbed2478e9ba22f091e3842123252a9= 02dc5b98d Author: Tom Musta Date: 2013-12-19 (Thu, 19 Dec 2013) Changed paths: M target-ppc/translate.c Log Message: ----------- Add stxvd2x This patch adds the stxvd2x instruction. Signed-off-by: Tom Musta Signed-off-by: Anton Blanchard Signed-off-by: Alexander Graf Commit: cd73f2c992765141b3497551ebdf841b26c238ca https://github.com/qemu/qemu/commit/cd73f2c992765141b3497551ebdf841= b26c238ca Author: Tom Musta Date: 2013-12-19 (Thu, 19 Dec 2013) Changed paths: M target-ppc/translate.c Log Message: ----------- Add xxpermdi This patch adds the xxpermdi instruction. The instruction uses bits 22, 23, 29 and 30 for non-opcode fields (DM, AX and BX). This results in overloading of the opcode table with aliases, which can be seen in the GEN_XX3FORM_DM macro. Signed-off-by: Tom Musta Signed-off-by: Anton Blanchard Signed-off-by: Alexander Graf Commit: fa1832d7e2fccfe3ea55d2885c023daa285342d4 https://github.com/qemu/qemu/commit/fa1832d7e2fccfe3ea55d2885c023da= a285342d4 Author: Tom Musta Date: 2013-12-19 (Thu, 19 Dec 2013) Changed paths: M target-ppc/translate.c Log Message: ----------- Add lxsdx This patch adds the Load VSX Scalar Doubleowrd Indexed (lxsdx) instruction. The lower 8 bytes of the target register are undefined; this implementation leaves those bytes unaltered. Signed-off-by: Tom Musta Reviewed-by: Richard Henderson Reviewed-by: Paolo Bonzini Signed-off-by: Alexander Graf Commit: ca03b46765d4633f5746764696058b0cb33ac487 https://github.com/qemu/qemu/commit/ca03b46765d4633f5746764696058b0= cb33ac487 Author: Tom Musta Date: 2013-12-19 (Thu, 19 Dec 2013) Changed paths: M target-ppc/translate.c Log Message: ----------- Add lxvdsx This patch adds the Load VSX Vector Doubleword & Splat Indexed (lxvdsx) instruction. Signed-off-by: Tom Musta Reviewed-by: Richard Henderson Reviewed-by: Paolo Bonzini Signed-off-by: Alexander Graf Commit: 897e61d13777a5995d3cd12fcaf44eb4bbb5439c https://github.com/qemu/qemu/commit/897e61d13777a5995d3cd12fcaf44eb= 4bbb5439c Author: Tom Musta Date: 2013-12-19 (Thu, 19 Dec 2013) Changed paths: M target-ppc/translate.c Log Message: ----------- Add lxvw4x This patch adds the Load VSX Vector Word*4 Indexed (lxvw4x) instruction. V2: changed to use deposit_i64 per Richard Henderson's review. Signed-off-by: Tom Musta Reviewed-by: Richard Henderson Reviewed-by: Paolo Bonzini Signed-off-by: Alexander Graf Commit: 9231ba9ee9c7d68364a28657109d2f7c32e12971 https://github.com/qemu/qemu/commit/9231ba9ee9c7d68364a28657109d2f7= c32e12971 Author: Tom Musta Date: 2013-12-19 (Thu, 19 Dec 2013) Changed paths: M target-ppc/translate.c Log Message: ----------- Add stxsdx This patch adds the Store VSX Scalar Doubleword Indexed (stxsdx) instruction. Signed-off-by: Tom Musta Reviewed-by: Richard Henderson Reviewed-by: Paolo Bonzini Signed-off-by: Alexander Graf Commit: 86e61ce3d0e4806519c79f2555f20b7b3283bdab https://github.com/qemu/qemu/commit/86e61ce3d0e4806519c79f2555f20b7= b3283bdab Author: Tom Musta Date: 2013-12-19 (Thu, 19 Dec 2013) Changed paths: M target-ppc/translate.c Log Message: ----------- Add stxvw4x This patch adds the Store VSX Vector Word*4 Indexed (stxvw4x) instruction. Signed-off-by: Tom Musta Reviewed-by: Richard Henderson Reviewed-by: Paolo Bonzini Signed-off-by: Alexander Graf Commit: b650d6a2fcb77e2e42872ebd102ba387d547ab77 https://github.com/qemu/qemu/commit/b650d6a2fcb77e2e42872ebd102ba38= 7d547ab77 Author: Alexey Kardashevskiy Date: 2013-12-19 (Thu, 19 Dec 2013) Changed paths: M target-ppc/cpu-models.c M target-ppc/cpu-models.h M target-ppc/translate_init.c Log Message: ----------- target-ppc: move POWER7+ to a separate family So far POWER7+ was a part of POWER7 family. However it has a different PVR base value so in order to support PVR masks, it needs a separate family class. This adds a new family class, PVR base and mask values and moves Power7+ v2.1 CPU to a new family. The class init function is copied from the POWER7 family. This defines a firmware name for the new family as "PowerPC,POWER7+" instead of previously used "PowerPC,POWER7" from the POWER7 family. The reason for that is that the Sapphire firmware (a h0st firmware) uses "PowerPC,POWER7+" already and since no specification defines exactly the CPU nodes naming in the device tree, we better stay in sync with the host firmware. Signed-off-by: Alexey Kardashevskiy Signed-off-by: Alexander Graf Commit: a64d325df1ce9b554e15d612b80775159cc4d7a6 https://github.com/qemu/qemu/commit/a64d325df1ce9b554e15d612b807751= 59cc4d7a6 Author: Alexey Kardashevskiy Date: 2013-12-19 (Thu, 19 Dec 2013) Changed paths: M hw/intc/xics.c M hw/nvram/spapr_nvram.c M hw/ppc/spapr_events.c M hw/ppc/spapr_pci.c M hw/ppc/spapr_rtas.c M hw/ppc/spapr_vio.c M include/hw/ppc/spapr.h Log Message: ----------- spapr-rtas: replace return code constants with macros Signed-off-by: Alexey Kardashevskiy Signed-off-by: Alexander Graf Commit: 3ada6b113726ae554154f6e5367bf4b4ed110bbe https://github.com/qemu/qemu/commit/3ada6b113726ae554154f6e5367bf4b= 4ed110bbe Author: Alexey Kardashevskiy Date: 2013-12-19 (Thu, 19 Dec 2013) Changed paths: M hw/ppc/spapr_rtas.c M include/hw/ppc/spapr.h Log Message: ----------- spapr-rtas: add ibm, (get|set)-system-parameter This adds very basic handlers for ibm,get-system-parameter and ibm,set-system-parameter RTAS calls. The only parameter handled at the moment is "platform-processor-diagnostics-run-mode" which is always disabled and does not support changing. This is expected to make "ppc64_cpu --run-mode=3D1" happy. Signed-off-by: Alexey Kardashevskiy [agraf: s/papameter/parameter/g] Signed-off-by: Alexander Graf Commit: 8a0e11045d5f50d300e0ab1ba05f4c8217fb5dcb https://github.com/qemu/qemu/commit/8a0e11045d5f50d300e0ab1ba05f4c8= 217fb5dcb Author: Alexander Graf Date: 2013-12-19 (Thu, 19 Dec 2013) Changed paths: M hw/pci-host/grackle.c M hw/pci-host/uninorth.c Log Message: ----------- PPC: Use default pci bus name for grackle and heathrow There's no good reason to call our bus "pci" rather than let the default bus name take over ("pci.0"). The big downside to calling it different from anyone else is that tools that pass -device get confused. They are looking for a bus "pci.0" rather= than "pci". To make life easier for everyone, let's just drop the name override. Signed-off-by: Alexander Graf Commit: 3978b863a5d8ac1c02848bf57d0a7f7067826a8a https://github.com/qemu/qemu/commit/3978b863a5d8ac1c02848bf57d0a7f7= 067826a8a Author: Paolo Bonzini Date: 2013-12-19 (Thu, 19 Dec 2013) Changed paths: M hw/ppc/spapr.c Log Message: ----------- spapr: tie spapr-nvram to -pflash spapr-nvram's drive property is currently connected to a non-existent "-machine nvram=3D" option. Instead, tie it to -pflash like other non-volatile RAM devices. This provides the following possibilitie= s for adding a backend for the sPAPR non-volatile RAM: * -pflash filename * -drive if=3Dpflash,file=3Dfilename,format=3Draw,... * -drive if=3Dnone,file=3Dfilename,format=3Draw,id=3Dfoo,... -global spap= r-nvram.drive=3Dfoo Signed-off-by: Paolo Bonzini Signed-off-by: Alexander Graf Commit: 582b55a96ac4f66cea64d82e47651bd5ef38a8ec https://github.com/qemu/qemu/commit/582b55a96ac4f66cea64d82e47651bd= 5ef38a8ec Author: Alexander Graf Date: 2013-12-19 (Thu, 19 Dec 2013) Changed paths: M exec.c M hw/core/loader.c M include/exec/cpu-common.h Log Message: ----------- roms: Flush icache when writing roms to guest memory We use the rom infrastructure to write firmware and/or initial kernel blobs into guest address space. So we're basically emulating the cache off phase on very early system bootup. That phase is usually responsible for clearing the instruction cache for anything it writes into cachable memory, to ensure that after reboot we don't happen to execute stale bits from the instruction cache. So we need to invalidate the icache every time we write a rom into guest address space. We do not need to do this for every DMA since the guest expects it has to flush the icache manually in that case. This fixes random reboot issues on e5500 (booke ppc) for me. Signed-off-by: Alexander Graf Commit: df020ce07045413ab3205916a3cde64bb150694c https://github.com/qemu/qemu/commit/df020ce07045413ab3205916a3cde64= bb150694c Author: Tom Musta Date: 2013-12-19 (Thu, 19 Dec 2013) Changed paths: M target-ppc/translate.c Log Message: ----------- Add VSX Scalar Move Instructions This patch adds the VSX scalar move instructions: - xsabsdp (Scalar Absolute Value Double-Precision) - xsnabspd (Scalar Negative Absolute Value Double-Precision) - xsnegdp (Scalar Negate Double-Precision) - xscpsgndp (Scalar Copy Sign Double-Precision) A common generator macro (VSX_SCALAR_MOVE) is added since these instructions vary only slightly from each other. Macros to support VSX XX2 and XX3 form opcodes are also added. These macros handle the overloading of "opcode 2" space (instruction bits 26:30) caused by AX and BX bits (29 and 30, respectively). V3: Per feedback from Paolo Bonzini, moved the sign mask into a temporary and used andc. Signed-off-by: Tom Musta Signed-off-by: Alexander Graf Commit: be574920b1285c0505ad116795d3a646422a1b8e https://github.com/qemu/qemu/commit/be574920b1285c0505ad116795d3a64= 6422a1b8e Author: Tom Musta Date: 2013-12-19 (Thu, 19 Dec 2013) Changed paths: M target-ppc/translate.c Log Message: ----------- Add VSX Vector Move Instructions This patch adds the vector move instructions: - xvabsdp - Vector Absolute Value Double-Precision - xvnabsdp - Vector Negative Absolute Value Double-Precision - xvnegdp - Vector Negate Double-Precision - xvcpsgndp - Vector Copy Sign Double-Precision - xvabssp - Vector Absolute Value Single-Precision - xvnabssp - Vector Negative Absolute Value Single-Precision - xvnegsp - Vector Negate Single-Precision - xvcpsgnsp - Vector Copy Sign Single-Precision V3: Per Paolo Bonzini's suggestion, used a temporary for the sign mask and andc. Signed-off-by: Tom Musta Signed-off-by: Alexander Graf Commit: 79ca8a6a76517edb4f54793c638259b9e6dfce66 https://github.com/qemu/qemu/commit/79ca8a6a76517edb4f54793c638259b= 9e6dfce66 Author: Tom Musta Date: 2013-12-19 (Thu, 19 Dec 2013) Changed paths: M target-ppc/translate.c Log Message: ----------- Add Power7 VSX Logical Instructions This patch adds the VSX logical instructions that are defined by the Version 2.06 Power ISA (aka Power7): - xxland - xxlandc - xxlor - xxlxor - xxlnor Signed-off-by: Tom Musta Reviewed-by: Richard Henderson Signed-off-by: Alexander Graf Commit: ce577d2e48e756f17d4c4a6c6bdc96924a157ca0 https://github.com/qemu/qemu/commit/ce577d2e48e756f17d4c4a6c6bdc969= 24a157ca0 Author: Tom Musta Date: 2013-12-19 (Thu, 19 Dec 2013) Changed paths: M target-ppc/translate.c Log Message: ----------- Add xxmrgh/xxmrgl This patch adds the VSX Merge High Word and VSX Merge Low Word instructions. V2: Now implemented using deposit (per Richard Henderson's comment) Signed-off-by: Tom Musta Reviewed-by: Richard Henderson Signed-off-by: Alexander Graf Commit: 551e3ef72e59d3975073e2ea3aaf2f7508323063 https://github.com/qemu/qemu/commit/551e3ef72e59d3975073e2ea3aaf2f7= 508323063 Author: Tom Musta Date: 2013-12-19 (Thu, 19 Dec 2013) Changed paths: M target-ppc/translate.c Log Message: ----------- Add xxsel This patch adds the VSX Select (xxsel) instruction. The xxsel instruction has four VSR operands. Thus the xC instruction decoder is added. The xxsel instruction is massively overloaded in the opcode table since only bits 26 and 27 are opcode bits. This overloading is done in matrix fashion with two macros (GEN_XXSEL_ROW and GEN_XX_SEL). V2: (1) eliminated unecessary XXSEL macro (2) tighter implementation using tcg_gen_andc_i64. Signed-off-by: Tom Musta Reviewed-by: Richard Henderson Signed-off-by: Alexander Graf Commit: 76c15fe0bdaa5b0c4b458c2b291e27a24494a77f https://github.com/qemu/qemu/commit/76c15fe0bdaa5b0c4b458c2b291e27a= 24494a77f Author: Tom Musta Date: 2013-12-19 (Thu, 19 Dec 2013) Changed paths: M target-ppc/translate.c Log Message: ----------- Add xxspltw This patch adds the VSX Splat Word (xxsplatw) instruction. This is the first instruction to use the UIM immediate field and consequently a decoder is also added. V2: reworked implementation per Richard Henderson's comments. Signed-off-by: Tom Musta Reviewed-by: Richard Henderson Signed-off-by: Alexander Graf Commit: acc429682c71968b8aef37822879dda3b54dda96 https://github.com/qemu/qemu/commit/acc429682c71968b8aef37822879dda= 3b54dda96 Author: Tom Musta Date: 2013-12-19 (Thu, 19 Dec 2013) Changed paths: M target-ppc/translate.c Log Message: ----------- Add xxsldwi This patch adds the VSX Shift Left Double by Word Immediate (xxsldwi) instruction. Signed-off-by: Tom Musta Signed-off-by: Alexander Graf Commit: c2b63f03977a84d0584d82be6981e4eb5f4faacd https://github.com/qemu/qemu/commit/c2b63f03977a84d0584d82be6981e4e= b5f4faacd Author: Alexander Graf Date: 2013-12-19 (Thu, 19 Dec 2013) Changed paths: M target-ppc/helper_regs.h Log Message: ----------- PPC: Add VSX to hflags We generate different code depending on whether MSR_VSX is set or clear, so it needs to be part of our hflags too which indicate whether we're still in the same translation block cache bucket. Signed-off-by: Alexander Graf Commit: 5a4348d1114b7f3dccc578e39e33ef07a1cfabc7 https://github.com/qemu/qemu/commit/5a4348d1114b7f3dccc578e39e33ef0= 7a1cfabc7 Author: Peter Crosthwaite Date: 2013-12-19 (Thu, 19 Dec 2013) Changed paths: M device_tree.c M hw/arm/boot.c M hw/arm/vexpress.c M hw/arm/virt.c M hw/microblaze/boot.c M hw/ppc/e500.c M hw/ppc/e500plat.c M hw/ppc/mpc8544ds.c M hw/ppc/ppc440_bamboo.c M hw/ppc/spapr_rtas.c M hw/ppc/virtex_ml507.c M include/sysemu/device_tree.h Log Message: ----------- device_tree: s/qemu_devtree/qemu_fdt globally The qemu_devtree API is a wrapper around the fdt_ set of APIs. Rename accordingly. Signed-off-by: Peter Crosthwaite [agraf: also convert hw/arm/virt.c] Signed-off-by: Alexander Graf Commit: be5907f2cc6d075b1d687e51a0e0d8ac074a7ac8 https://github.com/qemu/qemu/commit/be5907f2cc6d075b1d687e51a0e0d8a= c074a7ac8 Author: Peter Crosthwaite Date: 2013-12-19 (Thu, 19 Dec 2013) Changed paths: M device_tree.c M include/sysemu/device_tree.h Log Message: ----------- device_tree: qemu_fdt_setprop: Rename val_array arg Looking at the implementation, this doesn't really have a lot to do with arrays. Its just a pointer to a buffer and is passed through to the wrapped fn (qemu_fdt_setprop) unchanged. So rename to make it consistent with libfdt, which in the wrapped function just calls it "val". Signed-off-by: Peter Crosthwaite Signed-off-by: Alexander Graf Commit: c4177479069d6d643e0e0f90595795406db7efbf https://github.com/qemu/qemu/commit/c4177479069d6d643e0e0f905957954= 06db7efbf Author: Alexey Kardashevskiy Date: 2013-12-19 (Thu, 19 Dec 2013) Changed paths: M hw/ppc/spapr.c Log Message: ----------- spapr: make sure RMA is in first mode of first memory node The SPAPR specification says that the RMA starts at the LPAR's logical address 0 and is the first logical memory block reported in the LPAR=E2=80=99s device tree. So SLOF only maps the first block and that block needs to span the full RMA. This makes sure that the RMA area is where SLOF expects it. Reviewed-by: Thomas Huth Signed-off-by: Alexey Kardashevskiy Signed-off-by: Alexander Graf Commit: 5fe269b16c6dc8f19da3e8c13d4c66958b00d2f0 https://github.com/qemu/qemu/commit/5fe269b16c6dc8f19da3e8c13d4c669= 58b00d2f0 Author: Paul Mackerras Date: 2013-12-19 (Thu, 19 Dec 2013) Changed paths: M hw/ppc/spapr.c Log Message: ----------- spapr: limit numa memory regions by ram size This makes sure that all NUMA memory blocks reside within RAM or have zero length. Reviewed-by: Thomas Huth Signed-off-by: Alexey Kardashevskiy Signed-off-by: Alexander Graf Commit: f8251db121c3f051b22a7536b97d160c30bcccd4 https://github.com/qemu/qemu/commit/f8251db121c3f051b22a7536b97d160= c30bcccd4 Author: Anthony Liguori Date: 2013-12-19 (Thu, 19 Dec 2013) Changed paths: M device_tree.c M exec.c M hw/arm/boot.c M hw/arm/vexpress.c M hw/arm/virt.c M hw/core/loader.c M hw/intc/xics.c M hw/microblaze/boot.c M hw/nvram/spapr_nvram.c M hw/pci-host/grackle.c M hw/pci-host/uninorth.c M hw/ppc/e500.c M hw/ppc/e500plat.c M hw/ppc/mpc8544ds.c M hw/ppc/ppc440_bamboo.c M hw/ppc/spapr.c M hw/ppc/spapr_events.c M hw/ppc/spapr_pci.c M hw/ppc/spapr_rtas.c M hw/ppc/spapr_vio.c M hw/ppc/virtex_ml507.c M include/exec/cpu-common.h M include/hw/ppc/spapr.h M include/sysemu/device_tree.h M target-ppc/cpu-models.c M target-ppc/cpu-models.h M target-ppc/cpu-qom.h M target-ppc/cpu.h M target-ppc/excp_helper.c M target-ppc/helper_regs.h M target-ppc/kvm.c M target-ppc/translate.c M target-ppc/translate_init.c Log Message: ----------- Merge remote-tracking branch 'agraf/tags/signed-ppc-for-upstream' into = staging Patch queue for ppc - 2013-12-20 Alexander Graf (3): PPC: Use default pci bus name for grackle and heathrow roms: Flush icache when writing roms to guest memory PPC: Add VSX to hflags Alexey Kardashevskiy (5): powerpc: add PVR mask support target-ppc: move POWER7+ to a separate family spapr-rtas: replace return code constants with macros spapr-rtas: add ibm, (get|set)-system-parameter spapr: make sure RMA is in first mode of first memory node Greg Kurz (1): target-ppc: add stubs for KVM breakpoints Paolo Bonzini (1): spapr: tie spapr-nvram to -pflash Paul Mackerras (1): spapr: limit numa memory regions by ram size Peter Crosthwaite (2): device_tree: s/qemu_devtree/qemu_fdt globally device_tree: qemu_fdt_setprop: Rename val_array arg Tom Musta (19): Declare and Enable VSX Add MSR VSX and Associated Exception Add VSX Instruction Decoders Add VSR to Global Registers Add lxvd2x Add stxvd2x Add xxpermdi Add lxsdx Add lxvdsx Add lxvw4x Add stxsdx Add stxvw4x Add VSX Scalar Move Instructions Add VSX Vector Move Instructions Add Power7 VSX Logical Instructions Add xxmrgh/xxmrgl Add xxsel Add xxspltw Add xxsldwi * agraf/tags/signed-ppc-for-upstream: (32 commits) spapr: limit numa memory regions by ram size spapr: make sure RMA is in first mode of first memory node device_tree: qemu_fdt_setprop: Rename val_array arg device_tree: s/qemu_devtree/qemu_fdt globally PPC: Add VSX to hflags Add xxsldwi Add xxspltw Add xxsel Add xxmrgh/xxmrgl Add Power7 VSX Logical Instructions Add VSX Vector Move Instructions Add VSX Scalar Move Instructions roms: Flush icache when writing roms to guest memory spapr: tie spapr-nvram to -pflash PPC: Use default pci bus name for grackle and heathrow spapr-rtas: add ibm, (get|set)-system-parameter spapr-rtas: replace return code constants with macros target-ppc: move POWER7+ to a separate family Add stxvw4x Add stxsdx ... Compare: https://github.com/qemu/qemu/compare/3dc7e2a3feda...f8251db121c3= ----==_mimepart_52b39da38d0e6_4f78d9d48674d5-- From MAILER-DAEMON Sat Dec 21 12:00:17 2013 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VuPuT-0007sz-N9 for mharc-qemu-commits@gnu.org; Sat, 21 Dec 2013 12:00:17 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53465) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VuPuM-0007iT-Hz for qemu-commits@nongnu.org; Sat, 21 Dec 2013 12:00:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VuPuH-0002mt-Vp for qemu-commits@nongnu.org; Sat, 21 Dec 2013 12:00:10 -0500 Received: from m69-169.mailgun.net ([166.78.69.169]:59185) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VuPuH-0002lK-R2 for qemu-commits@nongnu.org; Sat, 21 Dec 2013 12:00:05 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=github.com; q=dns/txt; s=mailo; t=1387645205; h=Date: From: Reply-To: To: Message-Id: Subject: Mime-Version: Content-Type: Content-Transfer-Encoding: Sender; bh=R1XrotiBIDctBSUbjDhxve2YUxJ67ZEoH5WsSmFncng=; b=EbKZZuuMHaadi6DkHn0ujyzZ7JwijrPgsnsM8a9Gs03z5/Fmz17I8Ot2nZbBzo1vJsDRZu0G mtaNW0ra6IYJnrj2QlZdQcSoL8T2R0K8PkZCQiWE++JldBjIF2rvTyxnQJLs/g3awBaQOXpZ wUoaO3L9yuILwmVzDgneZ7aL/1g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=github.com; s=mailo; q=dns; h=Date: From: Reply-To: To: Message-Id: Subject: Mime-Version: Content-Type: Content-Transfer-Encoding: Sender; b=bqdurs/ElHJZem9tkWwiEgzTKhgZifqHw7querdx5PXt5M/f/kDgxXcOoJv8HZYefBXD4E T4OGf0lK+7dvj3t594LLoYQj58x763gSFXdDwVHSu1denb91csp++io2SHXZ+b5GvBpMCRxk 5hK2WZDbeDyj/g4C13J5VvOg+xwyU= Received: from github.com (Unknown [192.30.252.51]) by mxa.mailgun.org with ESMTP id 52b5c914.7f923c54a8d0-in3; Sat, 21 Dec 2013 17:00:04 -0000 (UTC) Date: Sat, 21 Dec 2013 09:00:04 -0800 From: GitHub To: qemu-commits@nongnu.org Message-Id: <52b5c9141bcee_4e347a9d4c90641@hookshot-fe4-pe1-prd.aws.github.net.mail> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="--==_mimepart_52b5c9141b06a_4e347a9d4c90596"; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Mailgun-Sid: WyI1YjNlZCIsICJxZW11LWNvbW1pdHNAbm9uZ251Lm9yZyIsICI0MGYiXQ== Sender: noreply@github.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 166.78.69.169 Subject: [Qemu-commits] [qemu/qemu] 638129: s390x/kvm: Fix diagnose handling. X-BeenThere: qemu-commits@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: GitHub List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Dec 2013 17:00:15 -0000 ----==_mimepart_52b5c9141b06a_4e347a9d4c90596 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: 638129ff475dd3b4c0e57e0be598efe41461e9b3 https://github.com/qemu/qemu/commit/638129ff475dd3b4c0e57e0be598efe41461e9b3 Author: Cornelia Huck Date: 2013-12-18 (Wed, 18 Dec 2013) Changed paths: M target-s390x/cpu.h M target-s390x/kvm.c Log Message: ----------- s390x/kvm: Fix diagnose handling. The instruction intercept handler for diagnose used only the displacement when trying to calculate the function code. This is only correct for base 0, however; we need to perform a complete base/displacement address calculation and use bits 48-63 as the function code. Reviewed-by: Thomas Huth Signed-off-by: Cornelia Huck Signed-off-by: Jens Freimann Signed-off-by: Alexander Graf Commit: 4f91e0b5d8b116c16964926a103e01623dbd81b6 https://github.com/qemu/qemu/commit/4f91e0b5d8b116c16964926a103e01623dbd81b6 Author: Thomas Huth Date: 2013-12-18 (Wed, 18 Dec 2013) Changed paths: M target-s390x/kvm.c Log Message: ----------- s390x/kvm: Removed duplicated SIGP defines The SIGP order defines are also available in cpu.h, so there is no need to re-define them in kvm.c. Signed-off-by: Thomas Huth Reviewed-by: Cornelia Huck Signed-off-by: Jens Freimann Signed-off-by: Alexander Graf Commit: cd7a0f4cf905c421743357a55f107b86ee1ded9d https://github.com/qemu/qemu/commit/cd7a0f4cf905c421743357a55f107b86ee1ded9d Author: Thomas Huth Date: 2013-12-18 (Wed, 18 Dec 2013) Changed paths: M target-s390x/kvm.c Log Message: ----------- s390x/kvm: Removed s390_store_status stub The SIGP order STORE STATUS AT ADDRESS will be handled in kernel space, so we do not need the stub in QEMU anymore. Signed-off-by: Thomas Huth Reviewed-by: Cornelia Huck Signed-off-by: Jens Freimann Signed-off-by: Alexander Graf Commit: 0b9972a2483b27824f3ec71b7b8b4a5961614216 https://github.com/qemu/qemu/commit/0b9972a2483b27824f3ec71b7b8b4a5961614216 Author: Thomas Huth Date: 2013-12-18 (Wed, 18 Dec 2013) Changed paths: M target-s390x/kvm.c Log Message: ----------- s390x/kvm: Fix coding style in handle_sigp() To make scripts/checkpatch.pl happy for the following patches, the coding style in handle_sigp() has to be fixed first. Signed-off-by: Thomas Huth Acked-by: Cornelia Huck Signed-off-by: Jens Freimann Signed-off-by: Alexander Graf Commit: b20a461fcd55d2b05e729c587244eddc60b9527f https://github.com/qemu/qemu/commit/b20a461fcd55d2b05e729c587244eddc60b9527f Author: Thomas Huth Date: 2013-12-18 (Wed, 18 Dec 2013) Changed paths: M target-s390x/kvm.c Log Message: ----------- s390x/kvm: Implemented SIGP START This patch adds the missing START order to the SIGP instruction handler. Signed-off-by: Thomas Huth Reviewed-by: Cornelia Huck Signed-off-by: Jens Freimann Signed-off-by: Alexander Graf Commit: b8031adba791325907d8a9e19af8d483996974fd https://github.com/qemu/qemu/commit/b8031adba791325907d8a9e19af8d483996974fd Author: Thomas Huth Date: 2013-12-18 (Wed, 18 Dec 2013) Changed paths: M target-s390x/kvm.c Log Message: ----------- s390x/kvm: Simplified the calculation of the SIGP order code We've already got a helper function for calculating the base/displacement of RS formatted instructions, so we can get rid of the manual calculation of the SIGP order code. Signed-off-by: Thomas Huth Reviewed-by: Cornelia Huck Signed-off-by: Jens Freimann Signed-off-by: Alexander Graf Commit: 3796f0e1cda41eacf4fc915e7edaf54f2279466c https://github.com/qemu/qemu/commit/3796f0e1cda41eacf4fc915e7edaf54f2279466c Author: Thomas Huth Date: 2013-12-18 (Wed, 18 Dec 2013) Changed paths: M target-s390x/kvm.c Log Message: ----------- s390x/kvm: Fixed condition code for unknown SIGP orders If SIGP is called with an unknown order code, it has to return CC1 instead of CC3 and set the "invalid order" bit in the return status. Signed-off-by: Thomas Huth Reviewed-by: Cornelia Huck Signed-off-by: Jens Freimann Signed-off-by: Alexander Graf Commit: 10c8599a49f99180c2f79596325a5e856cdac59f https://github.com/qemu/qemu/commit/10c8599a49f99180c2f79596325a5e856cdac59f Author: Thomas Huth Date: 2013-12-18 (Wed, 18 Dec 2013) Changed paths: M target-s390x/ioinst.c Log Message: ----------- s390x/ioinst: CHSC has to set a condition code I missed to set the CC in the CHSC instruction when I refactored the CC setting in the IO instructions with the following commit: 5d9bf1c07c1369ab3506fc82cc65a10f4415d867 s390/ioinst: Moved the CC setting to the IO instruction handlers This patch now restores the correct behaviour of CHSC by setting the condition code 0 at the end of the instruction. Signed-off-by: Thomas Huth Reviewed-by: Cornelia Huck Signed-off-by: Jens Freimann Signed-off-by: Alexander Graf Commit: 8589467f9419b86644a1a5ccab670c948e148efd https://github.com/qemu/qemu/commit/8589467f9419b86644a1a5ccab670c948e148efd Author: Aurelien Jarno Date: 2013-12-21 (Sat, 21 Dec 2013) Changed paths: M tcg/i386/tcg-target.c Log Message: ----------- tcg/i386: fix a comment The comments apply to 8-bit stores, not 8-byte stores. Reviewed-by: Richard Henderson Signed-off-by: Aurelien Jarno Commit: 5f68f5ae444725de4f35d99f1026155fadaf514b https://github.com/qemu/qemu/commit/5f68f5ae444725de4f35d99f1026155fadaf514b Author: Aurelien Jarno Date: 2013-12-21 (Sat, 21 Dec 2013) Changed paths: M target-mips/translate.c Log Message: ----------- target-mips: Use new qemu_ld/st opcodes Reviewed-by: Richard Henderson Signed-off-by: Aurelien Jarno Commit: 3376f4151e4ce0534b35c49c56037cb347293c85 https://github.com/qemu/qemu/commit/3376f4151e4ce0534b35c49c56037cb347293c85 Author: Aurelien Jarno Date: 2013-12-21 (Sat, 21 Dec 2013) Changed paths: M target-sh4/translate.c Log Message: ----------- target-sh4: Use new qemu_ld/st opcodes Reviewed-by: Edgar E. Iglesias Signed-off-by: Aurelien Jarno Commit: e8092f7ae1c71419829879e18ce2dd7249a4d00f https://github.com/qemu/qemu/commit/e8092f7ae1c71419829879e18ce2dd7249a4d00f Author: Aurelien Jarno Date: 2013-12-21 (Sat, 21 Dec 2013) Changed paths: M target-s390x/cpu.h M target-s390x/ioinst.c M target-s390x/kvm.c Log Message: ----------- Merge tag 'signed-s390-for-upstream' of git://github.com/agraf/qemu Patch queue for s390 - 2013-12-18 This covers mostly minor bug fixes and implements the SIGP START hypercall which allows to start a remote CPU without changing its state. Cornelia Huck (1): s390x/kvm: Fix diagnose handling. Thomas Huth (7): s390x/kvm: Removed duplicated SIGP defines s390x/kvm: Removed s390_store_status stub s390x/kvm: Fix coding style in handle_sigp() s390x/kvm: Implemented SIGP START s390x/kvm: Simplified the calculation of the SIGP order code s390x/kvm: Fixed condition code for unknown SIGP orders s390x/ioinst: CHSC has to set a condition code * tag 'signed-s390-for-upstream' of git://github.com/agraf/qemu: s390x/ioinst: CHSC has to set a condition code s390x/kvm: Fixed condition code for unknown SIGP orders s390x/kvm: Simplified the calculation of the SIGP order code s390x/kvm: Implemented SIGP START s390x/kvm: Fix coding style in handle_sigp() s390x/kvm: Removed s390_store_status stub s390x/kvm: Removed duplicated SIGP defines s390x/kvm: Fix diagnose handling. Compare: https://github.com/qemu/qemu/compare/f8251db121c3...e8092f7ae1c7 ----==_mimepart_52b5c9141b06a_4e347a9d4c90596-- From MAILER-DAEMON Sun Dec 22 17:00:18 2013 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Vur4M-0004rh-3G for mharc-qemu-commits@gnu.org; Sun, 22 Dec 2013 17:00:18 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60563) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vur4F-0004r2-FG for qemu-commits@nongnu.org; Sun, 22 Dec 2013 17:00:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vur4A-0001ZT-At for qemu-commits@nongnu.org; Sun, 22 Dec 2013 17:00:11 -0500 Received: from m69-170.mailgun.net ([166.78.69.170]:48840) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vur4A-0001XY-6N for qemu-commits@nongnu.org; Sun, 22 Dec 2013 17:00:06 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=github.com; q=dns/txt; s=mailo; t=1387749605; h=Date: From: Reply-To: To: Message-Id: Subject: Mime-Version: Content-Type: Content-Transfer-Encoding: Sender; bh=AbkYivxjVtEOOqRv1+wMUaUjQf6yB4YfMiOIzP3cX/0=; b=ykx/nAhN2IJZJFw3D4erZQ0gcyAjHX9o0z2hfeZOYQQPjZXqRpK36qJSSaC1qYg+K1rqYgOA 0n46c6CwWeaD6r5eBBf9y0ZbxvwrjaUulhJoyRFA1dH59hvvOansxsbTKy+A7aCIvWzx7V9E kohCpm6z8IDgredQCycZOTkOZkU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=github.com; s=mailo; q=dns; h=Date: From: Reply-To: To: Message-Id: Subject: Mime-Version: Content-Type: Content-Transfer-Encoding: Sender; b=QdbA64DxADV6sNqEw3gJBg37EpTni6DeXx7eyzWqPaUG6e9gOvorTaTiTk8Es5m+FaZ5+9 0XRWJnNGO6YnXnSjpaTFSIOXl00MWJONtnwJbwRV65Vu8fEPPcaoK0EVKAeWoMINGM7R6f+v 8Scuhmj+/Fs9AhS0xdD9v2cBFFXNQ= Received: from github.com (Unknown [192.30.252.52]) by mxa.mailgun.org with ESMTP id 52b760e4.7a5c810-in1; Sun, 22 Dec 2013 22:00:04 -0000 (UTC) Date: Sun, 22 Dec 2013 14:00:03 -0800 From: GitHub To: qemu-commits@nongnu.org Message-Id: <52b760e3b493b_3b117abd5464017@hookshot-fe4-pe1-prd.aws.github.net.mail> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="--==_mimepart_52b760e3b3e74_3b117abd54639c2"; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Mailgun-Sid: WyI1YjNlZCIsICJxZW11LWNvbW1pdHNAbm9uZ251Lm9yZyIsICI0MGYiXQ== Sender: noreply@github.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 166.78.69.170 Subject: [Qemu-commits] [qemu/qemu] f976b0: PPC: Fix compilation with TCG debug X-BeenThere: qemu-commits@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: GitHub List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Dec 2013 22:00:16 -0000 ----==_mimepart_52b760e3b3e74_3b117abd54639c2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: f976b09ea249cccc3fd41c98aaf6512908db0bae https://github.com/qemu/qemu/commit/f976b09ea249cccc3fd41c98aaf6512908db0bae Author: Alexander Graf Date: 2013-12-22 (Sun, 22 Dec 2013) Changed paths: M target-ppc/translate.c Log Message: ----------- PPC: Fix compilation with TCG debug The recent VSX patches broken compilation of QEMU when configurated with --enable-debug, as it was treating "target long" TCG variables as "i64" which is not true for 32bit targets. This patch fixes all the places that the compiler has found to use the correct variable type and if necessary manually cast. Reported-by: Stefan Weil Signed-off-by: Alexander Graf Reviewed-by: Aurelien Jarno Signed-off-by: Aurelien Jarno ----==_mimepart_52b760e3b3e74_3b117abd54639c2--