{"push_id":1452840184,"size":19,"distinct_size":7,"ref":"refs/heads/qemu_container","head":"e6d5d27b913f4013334d183353f1196842ad7f4e","before":"4d26ff21424003e0c7c3e0ead89255dc532429a1","commits":[{"sha":"7149d1693d4f883ba2803d05dddb0c5935b007d2","author":{"name":"John Ferlan","email":"ea4b206ebea463545bcc9d546f93a642d7aeb984@redhat.com"},"message":"qemu: Clean up description for qemuStorageLimitsRefresh\n\nOriginally added by commit id '89646e69' prior to commit id '15fa84ac'\nand '71d2c172' which ensured that qemuStorageLimitsRefresh was only called\nfor inactive domains.\n\nAdjust the comment describing the need for FIXME and move all the text\nto the function description.\n\nSigned-off-by: John Ferlan <jferlan@redhat.com>","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/7149d1693d4f883ba2803d05dddb0c5935b007d2"},{"sha":"732af77cce447999731a70b30bca98da44accc5d","author":{"name":"John Ferlan","email":"ea4b206ebea463545bcc9d546f93a642d7aeb984@redhat.com"},"message":"qemu: Add helpers to handle stat data for qemuStorageLimitsRefresh\n\nSplit out the opening of the file and fetch of the stat buffer into a\nhelper qemuDomainStorageOpenStat. This will handle either opening the\nlocal or remote storage.\n\nAdditionally split out the cleanup of that into a separate helper\nqemuDomainStorageCloseStat which will either close the file or\ncall the virStorageFileDeinit function.\n\nSigned-off-by: John Ferlan <jferlan@redhat.com>","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/732af77cce447999731a70b30bca98da44accc5d"},{"sha":"a7fea19fcd0f4923cca21345c811e9eae96589d6","author":{"name":"John Ferlan","email":"ea4b206ebea463545bcc9d546f93a642d7aeb984@redhat.com"},"message":"qemu: Introduce helper qemuDomainStorageUpdatePhysical\n\nCurrently just a shim to call virStorageSourceUpdateBlockPhysicalSize\n\nSigned-off-by: John Ferlan <jferlan@redhat.com>","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/a7fea19fcd0f4923cca21345c811e9eae96589d6"},{"sha":"c5f6151390ff0a8e65014172bb8c0a8d312c3353","author":{"name":"John Ferlan","email":"ea4b206ebea463545bcc9d546f93a642d7aeb984@redhat.com"},"message":"util: Introduce virStorageSourceUpdatePhysicalSize\n\nCommit id '8dc27259' introduced virStorageSourceUpdateBlockPhysicalSize\nin order to retrieve the physical size for a block backed source device\nfor an active domain since commit id '15fa84ac' changed to use the\nqemuMonitorGetAllBlockStatsInfo and qemuMonitorBlockStatsUpdateCapacity\nAPI's to (essentially) retrieve the \"actual-size\" from a 'query-block'\noperation for the source device.\n\nHowever, the code only was made functional for a BLOCK backing type\nand it neglected to use qemuOpenFile, instead using just open. After\nthe open the block lseek would find the end of the block and set the\nphysical value, close the fd and return.\n\nSince the code would return 0 immediately if the source device wasn't\na BLOCK backed device, the physical would be displayed incorrectly,\nsuch as follows in domblkinfo for a file backed source device:\n\nCapacity:       1073741824\nAllocation:     0\nPhysical:       0\n\nThis patch will modify the algorithm to get the physical size for other\nbacking types and it will make use of the qemuDomainStorageOpenStat\nhelper in order to open/stat the source file depending on its type.\nThe qemuDomainGetStatsOneBlock will no longer inhibit printing errors,\nbut it will still ignore them leaving the physical value set to 0.\n\nSigned-off-by: John Ferlan <jferlan@redhat.com>","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/c5f6151390ff0a8e65014172bb8c0a8d312c3353"},{"sha":"3039ec962ed45cb4393579bcd443a2e9c45ec00b","author":{"name":"John Ferlan","email":"ea4b206ebea463545bcc9d546f93a642d7aeb984@redhat.com"},"message":"util: Introduce virStorageSourceUpdateBackingSizes\n\nInstead of having duplicated code in qemuStorageLimitsRefresh and\nvirStorageBackendUpdateVolTargetInfoFD to fill in the storage backing\nsource or volume allocation, capacity, and physical values - create a\ncommon API that will handle the details for both.\n\nThe common API will fill in \"default\" capacity values as well - although\nthose more than likely will be overridden by subsequent code. Having just\none place to make the determination of what the values should be will\nmake things be more consistent.\n\nFor the QEMU code - the data filled in will be for inactive domains\nfor the GetBlockInfo and DomainGetStatsOneBlock API's. For the storage\nbackend code - the data will be filled in during the volume updates.\n\nSigned-off-by: John Ferlan <jferlan@redhat.com>","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/3039ec962ed45cb4393579bcd443a2e9c45ec00b"},{"sha":"9d734b60a7f49356abc4e8c402be8e5957af56fc","author":{"name":"John Ferlan","email":"ea4b206ebea463545bcc9d546f93a642d7aeb984@redhat.com"},"message":"util: Introduce virStorageSourceUpdateCapacity\n\nInstead of having duplicated code in qemuStorageLimitsRefresh and\nvirStorageBackendUpdateVolTargetInfo to get capacity specific data\nabout the storage backing source or volume -- create a common API\nto handle the details for both.\n\nAs a side effect, virStorageFileProbeFormatFromBuf returns to being\na local/static helper to virstoragefile.c\n\nFor the QEMU code - if the probe is done, then the format is saved so\nas to avoid future such probes.\n\nFor the storage backend code, there is no need to deal with the probe\nsince we cannot call the new API if target->format == NONE.\n\nSigned-off-by: John Ferlan <jferlan@redhat.com>","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/9d734b60a7f49356abc4e8c402be8e5957af56fc"},{"sha":"cf436a560dc316394754649f1af95f4c24dfcb13","author":{"name":"John Ferlan","email":"ea4b206ebea463545bcc9d546f93a642d7aeb984@redhat.com"},"message":"qemu: Fix GetBlockInfo setting allocation from wr_highest_offset\n\nThe libvirt-domain.h documentation indicates that for a qcow2 file\nin a filesystem being used for a backing store should report the disk\nspace occupied by a file; however, commit id '15fa84ac' altered the\ncode to trust that the wr_highest_offset should be used whenever\nwr_highest_offset_valid was set.\n\nAs it turns out this will lead to indeterminite results. For an active\ndomain when qemu hasn't yet had the need to find the wr_highest_offset\nvalue, qemu will report 0 even though qemu-img will report the proper\ndisk size. This causes reporting of the following XML:\n\n  <disk type='file' device='disk'>\n    <driver name='qemu' type='qcow2'/>\n    <source file='/path/to/test-1g.qcow2'/>\n\nto be as follows:\n\nCapacity:       1073741824\nAllocation:     0\nPhysical:       1074139136\n\nwith qemu-img indicating:\n\nimage: /path/to/test-1g.qcow2\nfile format: qcow2\nvirtual size: 1.0G (1073741824 bytes)\ndisk size: 1.0G\n\nOnce the backing source file is opened on the guest, then wr_highest_offset\nis updated, but only to the high water mark and not the size of the file.\n\nThis patch will adjust the logic to check for the file backed qcow2 image\nand enforce setting the allocation to the returned 'physical' value, which\nis the 'actual-size' value from a 'query-block' operation.\n\nNB: The other consumer of the wr_highest_offset output (GetAllDomainStats)\nhas a contract that indicates 'allocation' is the offset of the highest\nwritten sector, so it doesn't need adjustment.\n\nSigned-off-by: John Ferlan <jferlan@redhat.com>","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/cf436a560dc316394754649f1af95f4c24dfcb13"},{"sha":"d2c122262774f1c8b3b6fa9dc1894edde90121fb","author":{"name":"John Ferlan","email":"ea4b206ebea463545bcc9d546f93a642d7aeb984@redhat.com"},"message":"news: Add news entry for qemuDomainGetBlockInfo adjustments","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/d2c122262774f1c8b3b6fa9dc1894edde90121fb"},{"sha":"3ab9652a8679e17fb108ef7a6a6422dfd7149eb1","author":{"name":"Nikolay Shirokovskiy","email":"04631ef0ee7d55d1ced6f402d646c6b5f91011f3@virtuozzo.com"},"message":"qemu: agent: fix uninitialized var case in qemuAgentGetFSInfo\n\nIn case of 0 filesystems *info is not set while according\nto virDomainGetFSInfo contract user should call free on it even\nin case of 0 filesystems. Thus we need to properly set\nit. NULL will be enough as free eats NULLs ok.","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/3ab9652a8679e17fb108ef7a6a6422dfd7149eb1"},{"sha":"c9a191fc481a950edc72afcb6ea9556edbaebb23","author":{"name":"Nikolay Shirokovskiy","email":"04631ef0ee7d55d1ced6f402d646c6b5f91011f3@virtuozzo.com"},"message":"qemu: don't use vm when lock is dropped in qemuDomainGetFSInfo\n\nCurrent call to qemuAgentGetFSInfo in qemuDomainGetFSInfo is\nunsafe. Domain lock is dropped and we use vm->def. Let's make\ndef copy to fix that.","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/c9a191fc481a950edc72afcb6ea9556edbaebb23"},{"sha":"cdd6819318ac75fbcb24ef7a8d1e6e4643c649eb","author":{"name":"Nikolay Shirokovskiy","email":"04631ef0ee7d55d1ced6f402d646c6b5f91011f3@virtuozzo.com"},"message":"qemu: agent: take monitor lock in qemuAgentNotifyEvent\n\nqemuAgentNotifyEvent accesses monitor structure and is called on qemu\nreset/shutdown/suspend events under domain lock. Other monitor\nfunctions on the other hand take monitor lock and don't hold domain lock.\nThus it is possible to have risky simultaneous access to the structure\nfrom 2 threads. Let's take monitor lock here to make access exclusive.","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/cdd6819318ac75fbcb24ef7a8d1e6e4643c649eb"},{"sha":"8981d7925ea81991d0b285f1c06b1b416666161c","author":{"name":"Nitesh Konkar","email":"cff0b6424c1ce5c53282a8fca6f894a859c45ab3@gmail.com"},"message":"perf: add branch_misses perf event support\n\nThis patch adds support and documentation\nfor the branch_misses perf event.\n\nSigned-off-by: Nitesh Konkar <nitkon12@linux.vnet.ibm.com>","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/8981d7925ea81991d0b285f1c06b1b416666161c"},{"sha":"eb9bd47d88f9efab29f6670d0500591db6d20e69","author":{"name":"Michal Privoznik","email":"ff52d8b477e4489d0b3b856d550bc61214c6ad4b@redhat.com"},"message":"virprocess: Introduce virProcessSetupPrivateNS\n\nThis part of code that LXC currently uses will be reused so move\nto a generic function.\n\nSigned-off-by: Michal Privoznik <mprivozn@redhat.com>","distinct":true,"url":"https://api.github.com/repos/zippy2/libvirt/commits/eb9bd47d88f9efab29f6670d0500591db6d20e69"},{"sha":"c1c02380f4949cf72494e3191ec2ceb9d3ce0e8b","author":{"name":"Michal Privoznik","email":"ff52d8b477e4489d0b3b856d550bc61214c6ad4b@redhat.com"},"message":"virfile: Introduce virFilePopulateDevices\n\nSigned-off-by: Michal Privoznik <mprivozn@redhat.com>","distinct":true,"url":"https://api.github.com/repos/zippy2/libvirt/commits/c1c02380f4949cf72494e3191ec2ceb9d3ce0e8b"},{"sha":"1ecf8813c781e4a5cc6e35e6bba61f311e82b256","author":{"name":"Michal Privoznik","email":"ff52d8b477e4489d0b3b856d550bc61214c6ad4b@redhat.com"},"message":"virfile: Introduce virFileSetupDev\n\nSigned-off-by: Michal Privoznik <mprivozn@redhat.com>","distinct":true,"url":"https://api.github.com/repos/zippy2/libvirt/commits/1ecf8813c781e4a5cc6e35e6bba61f311e82b256"},{"sha":"f79228edf3128d9917945153b9f72df06a9cb087","author":{"name":"Michal Privoznik","email":"ff52d8b477e4489d0b3b856d550bc61214c6ad4b@redhat.com"},"message":"virfile: Introduce virFileSetupDevPTS\n\nSigned-off-by: Michal Privoznik <mprivozn@redhat.com>","distinct":true,"url":"https://api.github.com/repos/zippy2/libvirt/commits/f79228edf3128d9917945153b9f72df06a9cb087"},{"sha":"21a787957c62e0a3c75e9fd06d4205f624ae188d","author":{"name":"Michal Privoznik","email":"ff52d8b477e4489d0b3b856d550bc61214c6ad4b@redhat.com"},"message":"virfile: Introduce virFileBindMountDevice\n\nSigned-off-by: Michal Privoznik <mprivozn@redhat.com>","distinct":true,"url":"https://api.github.com/repos/zippy2/libvirt/commits/21a787957c62e0a3c75e9fd06d4205f624ae188d"},{"sha":"190ccb210bab2c5ddfa864e40542bd8c7c26a3f8","author":{"name":"Michal Privoznik","email":"ff52d8b477e4489d0b3b856d550bc61214c6ad4b@redhat.com"},"message":"qemu: Spawn qemu under mount namespace\n\nSigned-off-by: Michal Privoznik <mprivozn@redhat.com>","distinct":true,"url":"https://api.github.com/repos/zippy2/libvirt/commits/190ccb210bab2c5ddfa864e40542bd8c7c26a3f8"},{"sha":"e6d5d27b913f4013334d183353f1196842ad7f4e","author":{"name":"Michal Privoznik","email":"ff52d8b477e4489d0b3b856d550bc61214c6ad4b@redhat.com"},"message":"qemu: Prepare disks when starting a domain\n\nSigned-off-by: Michal Privoznik <mprivozn@redhat.com>","distinct":true,"url":"https://api.github.com/repos/zippy2/libvirt/commits/e6d5d27b913f4013334d183353f1196842ad7f4e"}]}
{"actor":{"display_login":"zippy2"}}