{"push_id":707000561,"size":47,"distinct_size":10,"ref":"refs/heads/qom-cpu-x86","head":"862f8a3e14006dcd481ecb6dd59f662bc74d469f","before":"d5d848fde8722926701c7d260d84d90427718239","commits":[{"sha":"f406c03c093f1451ac0ba7fde31eeb78e5e5e417","author":{"email":"9ca6bb7262616b7ce87466603a4e88c0d04eafde@linux.vnet.ibm.com","name":"Alexander Yarygin"},"message":"block: Let bdrv_drain_all() to call aio_poll() for each AioContext\n\nAfter the commit 9b536adc (\"block: acquire AioContext in\nbdrv_drain_all()\") the aio_poll() function got called for every\nBlockDriverState, in assumption that every device may have its own\nAioContext. If we have thousands of disks attached, there are a lot of\nBlockDriverStates but only a few AioContexts, leading to tons of\nunnecessary aio_poll() calls.\n\nThis patch changes the bdrv_drain_all() function allowing it find shared\nAioContexts and to call aio_poll() only for unique ones.\n\nCc: Christian Borntraeger <borntraeger@de.ibm.com>\nCc: Cornelia Huck <cornelia.huck@de.ibm.com>\nCc: Kevin Wolf <kwolf@redhat.com>\nCc: Paolo Bonzini <pbonzini@redhat.com>\nCc: Stefan Hajnoczi <stefanha@redhat.com>\nSigned-off-by: Alexander Yarygin <yarygin@linux.vnet.ibm.com>\nReviewed-by: Stefan Hajnoczi <stefanha@redhat.com>\nTested-by: Christian Borntraeger <borntraeger@de.ibm.com>\nMessage-id: 1433936297-7098-4-git-send-email-yarygin@linux.vnet.ibm.com\nSigned-off-by: Stefan Hajnoczi <stefanha@redhat.com>","distinct":false,"url":"https://api.github.com/repos/afaerber/qemu-cpu/commits/f406c03c093f1451ac0ba7fde31eeb78e5e5e417"},{"sha":"2f388b93a147258f9dbc83ebe63365edac4aa7a2","author":{"email":"e9db499e13ac90573163837d2fb1fc9f85402d6d@igalia.com","name":"Alberto Garcia"},"message":"throttle: Check current timers before updating any_timer_armed[]\n\nCalling throttle_group_config() cancels all timers from a particular\nBlockDriverState, so any_timer_armed[] should be updated accordingly.\n\nHowever, with the current code it may happen that a timer is armed in\na different BlockDriverState from the same group, so any_timer_armed[]\nwould be set to false in a situation where there is still a timer\narmed.\n\nThe consequence is that we might end up with two timers armed. This\nshould not have any noticeable impact however, since all accesses to\nthe ThrottleGroup are protected by a lock, and the situation would\nbecome normal again shortly thereafter as soon as all timers have been\nfired.\n\nThe correct way to solve this is to check that we're actually\ncancelling a timer before updating any_timer_armed[].\n\nSigned-off-by: Alberto Garcia <berto@igalia.com>\nMessage-id: 1434382875-3998-1-git-send-email-berto@igalia.com\nSigned-off-by: Stefan Hajnoczi <stefanha@redhat.com>","distinct":false,"url":"https://api.github.com/repos/afaerber/qemu-cpu/commits/2f388b93a147258f9dbc83ebe63365edac4aa7a2"},{"sha":"97b0385a346829cf03efe131a26a4b6a4cd0a21f","author":{"email":"9ca6bb7262616b7ce87466603a4e88c0d04eafde@linux.vnet.ibm.com","name":"Alexander Yarygin"},"message":"block-backend: Introduce blk_drain()\n\nThis patch introduces the blk_drain() function which allows to replace\nblk_drain_all() when only one BlockDriverState needs to be drained.\n\nCc: Christian Borntraeger <borntraeger@de.ibm.com>\nCc: Cornelia Huck <cornelia.huck@de.ibm.com>\nCc: Kevin Wolf <kwolf@redhat.com>\nCc: Paolo Bonzini <pbonzini@redhat.com>\nCc: Stefan Hajnoczi <stefanha@redhat.com>\nSigned-off-by: Alexander Yarygin <yarygin@linux.vnet.ibm.com>\nReviewed-by: Paolo Bonzini <pbonzini@redhat.com>\nAcked-by: Kevin Wolf <kwolf@redhat.com>\nMessage-id: 1434537440-28236-2-git-send-email-yarygin@linux.vnet.ibm.com\nSigned-off-by: Stefan Hajnoczi <stefanha@redhat.com>","distinct":false,"url":"https://api.github.com/repos/afaerber/qemu-cpu/commits/97b0385a346829cf03efe131a26a4b6a4cd0a21f"},{"sha":"6e40b3bfc7e82823cf4df5f0bf668f56db41e53a","author":{"email":"9ca6bb7262616b7ce87466603a4e88c0d04eafde@linux.vnet.ibm.com","name":"Alexander Yarygin"},"message":"virtio-blk: Use blk_drain() to drain IO requests\n\nEach call of the virtio_blk_reset() function calls blk_drain_all(),\nwhich works for all existing BlockDriverStates, while draining only\none is needed.\n\nThis patch replaces blk_drain_all() by blk_drain() in\nvirtio_blk_reset(). virtio_blk_data_plane_stop() should be called\nafter draining because it restores vblk->complete_request.\n\nCc: \"Michael S. Tsirkin\" <mst@redhat.com>\nCc: Christian Borntraeger <borntraeger@de.ibm.com>\nCc: Cornelia Huck <cornelia.huck@de.ibm.com>\nCc: Kevin Wolf <kwolf@redhat.com>\nCc: Paolo Bonzini <pbonzini@redhat.com>\nCc: Stefan Hajnoczi <stefanha@redhat.com>\nSigned-off-by: Alexander Yarygin <yarygin@linux.vnet.ibm.com>\nMessage-id: 1434537440-28236-3-git-send-email-yarygin@linux.vnet.ibm.com\nSigned-off-by: Stefan Hajnoczi <stefanha@redhat.com>","distinct":false,"url":"https://api.github.com/repos/afaerber/qemu-cpu/commits/6e40b3bfc7e82823cf4df5f0bf668f56db41e53a"},{"sha":"c6a8c3283f1d53e360073bdb32f87a97e78e2880","author":{"email":"59c7438a9275f5dd0b96a91958b493a9d005ad46@cn.fujitsu.com","name":"Wen Congyang"},"message":"util/hbitmap: Add an API to reset all set bits in hbitmap\n\nThe function bdrv_clear_dirty_bitmap() is updated to use\nfaster hbitmap_reset_all() call.\n\nSigned-off-by: Wen Congyang <wency@cn.fujitsu.com>\nSigned-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>\nSigned-off-by: Gonglei <arei.gonglei@huawei.com>\nAcked-by: Paolo Bonzini <pbonzini@redhat.com>\nReviewed-by: Eric Blake <eblake@redhat.com>\nReviewed-by: John Snow <jsnow@redhat.com>\nMessage-id: 555E868A.60506@cn.fujitsu.com\nSigned-off-by: Stefan Hajnoczi <stefanha@redhat.com>","distinct":false,"url":"https://api.github.com/repos/afaerber/qemu-cpu/commits/c6a8c3283f1d53e360073bdb32f87a97e78e2880"},{"sha":"d5941ddae82a35771656d7e35f64f7f8f19c5627","author":{"email":"bac7898f539fd233d9ce33be7a9eda13ee647930@proxmox.com","name":"Wolfgang Bumiller"},"message":"vvfat: add a label option\n\nUntil now the vvfat volume label was hardcoded to be\n\"QEMU VVFAT\", now you can pass a file.label=labelname option\nto the -drive to change it.\n\nThe FAT structure defines the volume label to be limited to\n11 bytes and is filled up spaces when shorter than that. The\ntrailing spaces however aren't exposed to the user by\noperating systems.\n\n[Added missing comment '#' characters in block-core.json to fix build\nerrors.\n--Stefan]\n\nSigned-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>\nMessage-id: 1434706529-13895-2-git-send-email-w.bumiller@proxmox.com\nReviewed-by: Eric Blake <eblake@redhat.com>\nSigned-off-by: Stefan Hajnoczi <stefanha@redhat.com>","distinct":false,"url":"https://api.github.com/repos/afaerber/qemu-cpu/commits/d5941ddae82a35771656d7e35f64f7f8f19c5627"},{"sha":"25940fa7e57ffce9d495b4c2aadc39790535856d","author":{"email":"d185c4b8888b4f94b8f4939189b0b22a0d357d64@huawei.com","name":"Lu Lina"},"message":"nvme: Fix memleak in nvme_dma_read_prp\n\nSigned-off-by: Lu Lina <lina.lulina@huawei.com>\nAcked-by: Keith Busch <keith.busch@intel.com>\nMessage-id: 1434695254-69808-1-git-send-email-kathy.wangting@huawei.com\nSigned-off-by: Stefan Hajnoczi <stefanha@redhat.com>","distinct":false,"url":"https://api.github.com/repos/afaerber/qemu-cpu/commits/25940fa7e57ffce9d495b4c2aadc39790535856d"},{"sha":"b192af8acc597a6e8068873434e56e0c7de1b7d3","author":{"email":"4514117c4a99256e19437c7e3407c4ecbf98aec0@arrikto.com","name":"Dimitris Aragiorgis"},"message":"block: Use bdrv_is_sg() everywhere\n\nInstead of checking bs->sg use bdrv_is_sg() consistently throughout\nthe code.\n\nSigned-off-by: Dimitris Aragiorgis <dimara@arrikto.com>\nReviewed-by: Paolo Bonzini <pbonzini@redhat.com>\nReviewed-by: Stefan Hajnoczi <stefanha@redhat.com>\nMessage-id: 1435056300-14924-2-git-send-email-dimara@arrikto.com\nSigned-off-by: Stefan Hajnoczi <stefanha@redhat.com>","distinct":false,"url":"https://api.github.com/repos/afaerber/qemu-cpu/commits/b192af8acc597a6e8068873434e56e0c7de1b7d3"},{"sha":"1b6bc94d5d43ff3e39abadae19f2dbcb0954eb93","author":{"email":"4514117c4a99256e19437c7e3407c4ecbf98aec0@arrikto.com","name":"Dimitris Aragiorgis"},"message":"Fix migration in case of scsi-generic\n\nDuring migration, QEMU uses fsync()/fdatasync() on the open file\ndescriptor for read-write block devices to flush data just before\nstopping the VM.\n\nHowever, fsync() on a scsi-generic device returns -EINVAL which\ncauses the migration to fail. This patch skips flushing data in case\nof an SG device, since submitting SCSI commands directly via an SG\ncharacter device (e.g. /dev/sg0) bypasses the page cache completely,\nanyway.\n\nNote that fsync() not only flushes the page cache but also the disk\ncache. The scsi-generic device never sends flushes, and for\nmigration it assumes that the same SCSI device is used by the\ndestination host, so it does not issue any SCSI SYNCHRONIZE CACHE\n(10) command.\n\nFinally, remove the bdrv_is_sg() test from iscsi_co_flush() since\nthis is now redundant (we flush the underlying protocol at the end\nof bdrv_co_flush() which, with this patch, we never reach).\n\nSigned-off-by: Dimitris Aragiorgis <dimara@arrikto.com>\nReviewed-by: Stefan Hajnoczi <stefanha@redhat.com>\nMessage-id: 1435056300-14924-3-git-send-email-dimara@arrikto.com\nSigned-off-by: Stefan Hajnoczi <stefanha@redhat.com>","distinct":false,"url":"https://api.github.com/repos/afaerber/qemu-cpu/commits/1b6bc94d5d43ff3e39abadae19f2dbcb0954eb93"},{"sha":"bcb225550dcc0d6fcef8e97012bae572ba78f73a","author":{"email":"4514117c4a99256e19437c7e3407c4ecbf98aec0@arrikto.com","name":"Dimitris Aragiorgis"},"message":"raw-posix: DPRINTF instead of DEBUG_BLOCK_PRINT\n\nBuilding the QEMU tools fails if we #define DEBUG_BLOCK inside\nblock/raw-posix.c. Here instead of adding qemu-log.o in block-obj-y\nso that DEBUG_BLOCK_PRINT can be used, we substitute the latter with\na simple DPRINTF() (that does not cause bit-rot).\n\nSigned-off-by: Dimitris Aragiorgis <dimara@arrikto.com>\nReviewed-by: Eric Blake <eblake@redhat.com>\nReviewed-by: Stefan Hajnoczi <stefanha@redhat.com>\nMessage-id: 1435056300-14924-4-git-send-email-dimara@arrikto.com\nSigned-off-by: Stefan Hajnoczi <stefanha@redhat.com>","distinct":false,"url":"https://api.github.com/repos/afaerber/qemu-cpu/commits/bcb225550dcc0d6fcef8e97012bae572ba78f73a"},{"sha":"a93a3982a6645463fa822131d38b17284edd5633","author":{"email":"4514117c4a99256e19437c7e3407c4ecbf98aec0@arrikto.com","name":"Dimitris Aragiorgis"},"message":"raw-posix: Use DPRINTF for DEBUG_FLOPPY\n\nGet rid of several #ifdef DEBUG_FLOPPY and substitute them with\nDPRINTF.\n\nSigned-off-by: Dimitris Aragiorgis <dimara@arrikto.com>\nReviewed-by: Eric Blake <eblake@redhat.com>\nReviewed-by: Stefan Hajnoczi <stefanha@redhat.com>\nMessage-id: 1435056300-14924-5-git-send-email-dimara@arrikto.com\nSigned-off-by: Stefan Hajnoczi <stefanha@redhat.com>","distinct":false,"url":"https://api.github.com/repos/afaerber/qemu-cpu/commits/a93a3982a6645463fa822131d38b17284edd5633"},{"sha":"3307ed7b3fac5ba99eb3b84904b0b7cdc3592a61","author":{"email":"4514117c4a99256e19437c7e3407c4ecbf98aec0@arrikto.com","name":"Dimitris Aragiorgis"},"message":"raw-posix: Introduce hdev_is_sg()\n\nUntil now, an SG device was identified only by checking if its path\nstarted with \"/dev/sg\". Then, hdev_open() would set the bs->sg flag\naccordingly. The patch relies on the actual properties of the device\ninstead of the specified file path.\n\nTo this end, test for an SG device (e.g. /dev/sg0) by ensuring that\nall of the following holds:\n\n - The specified file name corresponds to a character device\n - The device supports the SG_GET_VERSION_NUM ioctl\n - The device supports the SG_GET_SCSI_ID ioctl\n\nSigned-off-by: Dimitris Aragiorgis <dimara@arrikto.com>\nMessage-id: 1435056300-14924-6-git-send-email-dimara@arrikto.com\nSigned-off-by: Stefan Hajnoczi <stefanha@redhat.com>","distinct":false,"url":"https://api.github.com/repos/afaerber/qemu-cpu/commits/3307ed7b3fac5ba99eb3b84904b0b7cdc3592a61"},{"sha":"6b64640dd25846c4de42aa433db56e0ff975993a","author":{"email":"59c7438a9275f5dd0b96a91958b493a9d005ad46@cn.fujitsu.com","name":"Wen Congyang"},"message":"iov: don't touch iov in iov_send_recv()\n\nSigned-off-by: Wen Congyang <wency@cn.fujitsu.com>\nMessage-id: 555D39D2.4000705@cn.fujitsu.com\nSigned-off-by: Stefan Hajnoczi <stefanha@redhat.com>","distinct":false,"url":"https://api.github.com/repos/afaerber/qemu-cpu/commits/6b64640dd25846c4de42aa433db56e0ff975993a"},{"sha":"a30c4eb2ce7b2c15ab556be3cfe2340c17271ddd","author":{"email":"484520986196e4a799496429ce8a499eb6488adb@redhat.com","name":"Stefan Hajnoczi"},"message":"qemu-iotests: fix 051.out after qdev error message change\n\nCommit f006cf7fa9a63ba8e4ccf57d46231ce594301727 (\"qdev-monitor:\nPropagate errors through qdev_device_add()\") dropped a meaningless error\nmessage.  This change in output caused qemu-iotests 051 to fail:\n\n   QEMU_PROG: -device ide-drive,drive=disk: Device initialization failed.\n  -QEMU_PROG: -device ide-drive,drive=disk: Device 'ide-drive' could not be initialized\n\nUpdate 051.out so the test passes again.\n\nCc: Markus Armbruster <armbru@redhat.com>\nSigned-off-by: Stefan Hajnoczi <stefanha@redhat.com>\nReviewed-by: Fam Zheng <famz@redhat.com>\nMessage-id: 1435071369-30936-1-git-send-email-stefanha@redhat.com","distinct":false,"url":"https://api.github.com/repos/afaerber/qemu-cpu/commits/a30c4eb2ce7b2c15ab556be3cfe2340c17271ddd"},{"sha":"12048545019cd1d64c8147ea9277648e685fa489","author":{"email":"5d492f1ad751c8d283a077bdc6e0c58569b75b2f@huawei.com","name":"Gonglei"},"message":"virito-blk: drop duplicate check\n\nin_num = req->elem.in_num, and req->elem.in_num is\nchecked in line 489, so the check about in_num variable\nis superflous, let's drop it.\n\nSigned-off-by: Gonglei <arei.gonglei@huawei.com>\nReviewed-by: Fam Zheng <famz@redhat.com>\nMessage-id: 1435138164-11728-1-git-send-email-arei.gonglei@huawei.com\nSigned-off-by: Stefan Hajnoczi <stefanha@redhat.com>","distinct":false,"url":"https://api.github.com/repos/afaerber/qemu-cpu/commits/12048545019cd1d64c8147ea9277648e685fa489"},{"sha":"027a247bbf703e94258d07e38948946d7b85e91c","author":{"email":"484520986196e4a799496429ce8a499eb6488adb@redhat.com","name":"Stefan Hajnoczi"},"message":"net: add missing \"netmap\" to host_net_devices[]\n\nAlthough hmp-commands.hx lists \"netmap\" as a valid host_net_add type,\nthe command rejects it because it's missing from the list.\n\nSigned-off-by: Stefan Hajnoczi <stefanha@redhat.com>\nMessage-id: 1432743412-15943-2-git-send-email-stefanha@redhat.com","distinct":false,"url":"https://api.github.com/repos/afaerber/qemu-cpu/commits/027a247bbf703e94258d07e38948946d7b85e91c"},{"sha":"1322629b4f25730aed973d51983e7a3b021fe9c9","author":{"email":"484520986196e4a799496429ce8a499eb6488adb@redhat.com","name":"Stefan Hajnoczi"},"message":"net: replace net_client_init1() netdev whitelist with blacklist\n\nIt's cumbersome to keep the whitelist up-to-date.  New netdev backends\nshould most likely be allowed so a blacklist makes more sense than a\nwhitelist.\n\nSigned-off-by: Stefan Hajnoczi <stefanha@redhat.com>\nReviewed-by: Thomas Huth <thuth@redhat.com>\nMessage-id: 1432743412-15943-3-git-send-email-stefanha@redhat.com","distinct":false,"url":"https://api.github.com/repos/afaerber/qemu-cpu/commits/1322629b4f25730aed973d51983e7a3b021fe9c9"},{"sha":"d139e9a6cf01b8c31f5904b4ba40521d7224f7de","author":{"email":"484520986196e4a799496429ce8a499eb6488adb@redhat.com","name":"Stefan Hajnoczi"},"message":"net: raise an error if -net type is invalid\n\nWhen a -net type is used that was not compiled into the binary there\nshould be an error message.\n\nNote the special case for -net none, which is a no-op.\n\nSigned-off-by: Stefan Hajnoczi <stefanha@redhat.com>\nReviewed-by: Thomas Huth <thuth@redhat.com>\nMessage-id: 1432743412-15943-4-git-send-email-stefanha@redhat.com","distinct":false,"url":"https://api.github.com/repos/afaerber/qemu-cpu/commits/d139e9a6cf01b8c31f5904b4ba40521d7224f7de"},{"sha":"4ef0defbad9bc8b195f3392d1b7dcb42cd7ebe11","author":{"email":"484520986196e4a799496429ce8a499eb6488adb@redhat.com","name":"Stefan Hajnoczi"},"message":"net: drop if expression that is always true\n\nBoth is_netdev and !is_netdev paths already check that\nnet_client_init_func[opts->kind] is non-NULL so there is no need for the\nif statement.\n\nSigned-off-by: Stefan Hajnoczi <stefanha@redhat.com>\nReviewed-by: Thomas Huth <thuth@redhat.com>\nMessage-id: 1432743412-15943-5-git-send-email-stefanha@redhat.com","distinct":false,"url":"https://api.github.com/repos/afaerber/qemu-cpu/commits/4ef0defbad9bc8b195f3392d1b7dcb42cd7ebe11"},{"sha":"1e81aba5ac0b908ab859bf8ddf43ece33732d49c","author":{"email":"484520986196e4a799496429ce8a499eb6488adb@redhat.com","name":"Stefan Hajnoczi"},"message":"net: simplify net_client_init1()\n\nDrop the union and move the hubport creation into the !is_netdev case.\n\nSigned-off-by: Stefan Hajnoczi <stefanha@redhat.com>\nReviewed-by: Thomas Huth <thuth@redhat.com>\nMessage-id: 1432743412-15943-6-git-send-email-stefanha@redhat.com","distinct":false,"url":"https://api.github.com/repos/afaerber/qemu-cpu/commits/1e81aba5ac0b908ab859bf8ddf43ece33732d49c"}]}