GitHub PushEvent at 2014-06-20 10:47:44
Repository: qemu-cpu
Actor: afaerber
Payload: {"shas":[["efc6de0d0eb21bbd8fbc90da1faf7dd8ed9f5321","f437cb078acc7c6d79873462334a355eddeb9459@kamp.de","block/iscsi: handle BUSY condition\n\nthis patch adds handling of BUSY status reponse from an iSCSI target.\nCurrently, we fail with -EIO in case of SCSI_STATUS_BUSY while the\nobvious reaction would be to retry the operation after some time.\nThe retry time is randomly choosen from a range with exponential\ngrowth increasing with each retry.\n\nThis patch includes most of the changes by a an upcoming patch\nfrom Stefan Hajnoczi:\n\n iscsi: implement .bdrv_detach/attach_aio_context()\n\nbecause I also need the reference to the aio_context for\nthe retry timer to work. I included the changes to maintain\nbetter mergeability.\n\nSigned-off-by: Peter Lieven <pl@kamp.de>\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","Peter Lieven",false],["fcd470d857a02ad76cd5a351a80bc0bb46588314","f437cb078acc7c6d79873462334a355eddeb9459@kamp.de","block/iscsi: fix potential segfault on early callback\n\nit might happen in the future that a function directly invokes its callback.\nIn this case we end up in a segfault because the iTask is gone when the BH\nis scheduled.\n\nSigned-off-by: Peter Lieven <pl@kamp.de>\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","Peter Lieven",false],["9281fe9eea5c9e5037fbf4fb75c5dc8f6e1a24a3","f437cb078acc7c6d79873462334a355eddeb9459@kamp.de","block/iscsi: use 16 byte CDBs only when necessary\n\nthis patch changes the driver to uses 16 Byte CDBs for\nREAD/WRITE only if the target requires 64bit lba addressing.\n\nOn one hand this saves 6 bytes in each PDU on the other\nhand it seems that 10 Byte CDBs seems to be much better\nsupported and tested as a recent issue I had with a\nmajor storage supplier lined out.\n\nFor WRITESAME the logic is a bit more tricky as WRITESAME10\nwith UNMAP was added really late. Thus a fallback to WRITESAME16\nis possible if it supports UNMAP and WRITESAME10 not.\n\nSigned-off-by: Peter Lieven <pl@kamp.de>\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","Peter Lieven",false],["4525c1337f2a5fc99570ce392e552b8905e36c9a","710905577b087458f4be318d66a7b9aca4725301@pauljanzen.org","scsi-disk.c: Fix compilation with -DDEBUG_SCSI\n\nIn scsi-disk.c, if you #define DEBUG_SCSI=1, you get:\nhw/scsi/scsi-disk.c: In function 'scsi_disk_emulate_command':\nhw/scsi/scsi-disk.c:2018: error: 'SCSIRequest' has no member named 'buf'\n\nChange the debugging statement to match the actual value tested.\n\nSigned-off-by: Paul Janzen <pcj@pauljanzen.org>\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","Paul Janzen",false],["2fe5a9f73b3446690db2cae8a58473b0b4beaa32","2f076acc3232878642c0aa405d54beec6cc1a760@redhat.com","scsi-disk: fix bug in scsi_block_new_request() introduced by commit 137745c\n\nThis patch fixes a bug in scsi_block_new_request() that was introduced\nby commit 137745c5c60f083ec982fe9e861e8c16ebca1ba8. If the host cache\nis used - i.e. if BDRV_O_NOCACHE is _not_ set - the 'break' statement\nneeds to be executed to 'fall back' to SG_IO.\n\nCc: qemu-stable@nongnu.org\nSigned-off-by: Ulrich Obergfell <uobergfe@redhat.com>\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","Ulrich Obergfell",false],["b9e77bc718db3593ffbb56f3a51488cdce4d5af3","ac1fc56530d7d037e1ea666f130daca22d72f964@ozlabs.ru","scsi: Print command name in debug\n\nThis makes scsi_command_name() public.\n\nThis makes use of scsi_command_name() in debug output for scsi-disk and\nspapr-vscsi host bus adapter. Before this, SCSI used to print hex numbers\ninstead of human-friendly strings.\n\nThis adds GET_EVENT_STATUS_NOTIFICATION and READ_DISC_INFORMATION to\nthe list of SCSI commands supported by scsi_command_name().\n\nSigned-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","Alexey Kardashevskiy",false],["1016b239c5c7b54a02fbd3121f68fb264a42d0a1","69d3ebcf5ee4e7f05a50dc23cd96655b730804b4@redhat.com","megasas: use PCI DMA API\n\nMegaSAS emulation is not IOMMU-friendly.  Fix this by switching to\npci_dma_* functions.\n\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","Paolo Bonzini",false],["519661ee6514f22b1e289b1c4c8c076378bc4202","69d3ebcf5ee4e7f05a50dc23cd96655b730804b4@redhat.com","util: add return value to qemu_iovec_concat_iov\n\nThis will be necessary later to recognize the case where a\nrequest has both dataout and datain.\n\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","Paolo Bonzini",false],["36b15c79aa1bef5fe7543f9f2629b6413720bbfb","69d3ebcf5ee4e7f05a50dc23cd96655b730804b4@redhat.com","virtio-scsi: start preparing for any_layout\n\n- Introduce virtio_scsi_init_req and virtio_scsi_free_req\n\n- rename qemu_sgl_init_external to qemu_sgl_concat\n\n- move virtio_scsi_parse_req from virtio_scsi_pop_req to callers\n  and add header length checks to virtio_scsi_parse_req.\n\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","Paolo Bonzini",false],["b0b4ea17dc7572ca79b2bb54447de5333dada5b2","69d3ebcf5ee4e7f05a50dc23cd96655b730804b4@redhat.com","virtio-scsi: add target swap for VirtIOSCSICtrlTMFReq fields\n\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","Paolo Bonzini",false],["57fbae6e2cbbea037196a9ad67487c3fe78217f0","69d3ebcf5ee4e7f05a50dc23cd96655b730804b4@redhat.com","virtio-scsi: add extra argument and return type to qemu_sgl_concat\n\nWill be used for anylayout support.\n\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","Paolo Bonzini",false],["489c7901a6e92d65afab333d498b3790b73f7153","69d3ebcf5ee4e7f05a50dc23cd96655b730804b4@redhat.com","virtio-scsi: prepare sense data handling for any_layout\n\nRetrieve sense and copy it to guest memory, to prepare for when we will use\nqemu_iovec_from_buf.\n\nSwap response and request, since we'll use the tail of VirtIOSCSIReq\nfor the CDB.\n\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","Paolo Bonzini",false],["a3de269ccc6f724e40702d8a9adcc3d41d0db369","69d3ebcf5ee4e7f05a50dc23cd96655b730804b4@redhat.com","virtio-scsi: introduce virtio_scsi_complete_cmd_req\n\nThis is also related to sense handling, and will be used\nby anylayout.\n\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","Paolo Bonzini",false],["3eff1f46f08a360a4ae9f834ce9fef4c45bf6f0f","69d3ebcf5ee4e7f05a50dc23cd96655b730804b4@redhat.com","virtio-scsi: add support for the any_layout feature\n\nStore the request and response headers by value, and let\nvirtio_scsi_parse_req check that there is only one of datain\nand dataout.\n\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","Paolo Bonzini",false],["e49ab19fcaa617ad6cdfe1ac401327326b6a2552","f437cb078acc7c6d79873462334a355eddeb9459@kamp.de","block/iscsi: bump libiscsi requirement to 1.9.0\n\nThis patch lifts the minimum supported libiscsi version from 1.4.0 to\n1.9.0 since the BUSY patch required that change.\n\nOn one this allows us to remove all #ifdefs from the code which\nmakes the code easier to maintain and read. On the other hand\nI would not recommend libiscsi prior to 1.8.0 for production use\nbecause the following important libiscsi fixes for deadlocks and\nprotocol errors are missing prior to 1.8.0:\n\ndbe9a1e SOCKET queue cmd PDUs directly in waitpdu queue\n30df192 DATA-OUT set pdu->cmdsn appropriately\n548bd22 ISCSI fix broken send logic in iscsi_scsi_async_command\n14bee10 RECONNECT do not increase CmdSN for immediate PDUs\n1f4a66a PDU queue out PDUs in order of itt.\n562dd46 PDU avoid incrementing itt to 0xffffffff\ncd09c0f PDU use serial32 arithmetic for cmdsn, maxcmdsn and expcmdsn.\n89e918e SOCKET validate data_size in in_pdu header\n91267f5 Limit immediate and unsolicited data to FirstBurstLength\n\nNote that libiscsi 1.9.0 was released on Feb 24th, 2013, about\none month after 1.8.0.\n\nSigned-off-by: Peter Lieven <pl@kamp.de>\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","Peter Lieven",false],["739b7a90754924a0f023e8bb865d247ad0a60311","bceb368e7f2cb351af47298f32034f0587bbe4a6@aurel32.net","bitops: provide an inline implementation of find_first_bit\n\nfind_first_bit has started to be used heavily in TCG code. The current\nimplementation based on find_next_bit is not optimal and can't be\noptimized be the compiler if the bit array has a fixed size, which is\nthe case most of the time.\n\nThis new implementation does not use find_next_bit and is yet small\nenough to be inlined.\n\nCc: Corentin Chary <corentin.chary@gmail.com>\nReviewed-by: Richard Henderson <rth@twiddle.net>\nSigned-off-by: Aurelien Jarno <aurelien@aurel32.net>","Aurelien Jarno",false],["d279279e2b5cd40dbcc863fb66a695990f304077","15ca74a11a0ab8a7615bd8f2695eec9feb05b533@imgtec.com","target-mips: implement UserLocal Register\n\nFrom MIPS documentation (Volume III):\n\nUserLocal Register (CP0 Register 4, Select 2)\nCompliance Level: Recommended.\n\nThe UserLocal register is a read-write register that is not interpreted by\nthe hardware and conditionally readable via the RDHWR instruction.\n\nThis register only exists if the Config3-ULRI register field is set.\n\nPrivileged software may write this register with arbitrary information and\nmake it accessible to unprivileged software via register 29 (ULR) of the\nRDHWR instruction. To do so, bit 29 of the HWREna register must be set to a\n1 to enable unprivileged access to the register.\n\nSigned-off-by: Petar Jovanovic <petar.jovanovic@imgtec.com>\nReviewed-by: Andreas Färber <afaerber@suse.de>\nReviewed-by: Aurelien Jarno <aurelien@aurel32.net>\nSigned-off-by: Aurelien Jarno <aurelien@aurel32.net>","Petar Jovanovic",false],["9d2e256e62738f17d067258012f9a32e74bb9a8e","f437cb078acc7c6d79873462334a355eddeb9459@kamp.de","block/iscsi: fix init value for iTask->retries\n\nduring rebasing the changed init value for the\nretry counter was missed. This resulted in no retries\nbeing performed at all.\n\nSigned-off-by: Peter Lieven <pl@kamp.de>\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","Peter Lieven",false],["8c215a9fbdfe9476dd8b907681fc38d0bae78854","f437cb078acc7c6d79873462334a355eddeb9459@kamp.de","block/iscsi: drop obsolete pointers from iscsi_co_writev\n\nSigned-off-by: Peter Lieven <pl@kamp.de>\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","Peter Lieven",false],["91d670fbf9945ca4ecbd123affb36889e7fe8a5d","8d0fc11caeb4659419f0ba3104eb4a9d30848d42@canonical.com","virtio-scsi: define dummy handle_output for vhost-scsi vqs\n\nvhost userspace needn't to handle vq's notification from guest,\nso define dummy handle_output callback for all vqs of vhost-scsi.\n\nIn some corner cases(such as when handling vq's reset from VM), virtio-pci\nstill trys to handle pending virtio-scsi events, then object check failure\ninside virtio_scsi_handle_event() for vhost-scsi can be triggered.\n\nThe issue can be reproduced by 'rmmod virtio-scsi', 'system sleep' or reboot\ninside VM.\n\nCc: qemu-stable@nongnu.org\nCc: Anthony Liguori <aliguori@amazon.com>\nCc: \"Michael S. Tsirkin\" <mst@redhat.com>\nCc: Paolo Bonzini <pbonzini@redhat.com>\nSigned-off-by: Ming Lei <ming.lei@canonical.com>\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","Ming Lei",false]],"size":41,"ref":"refs/heads/qom-cpu-reset","head":"66670580e0ac7edac13b7fd5ec63d3b85c55ec5b"}