{"push_id":962070900,"size":31,"distinct_size":14,"ref":"refs/heads/seclabels2","head":"171b71fcf58b411b827048f890f0e9dc0affb8bb","before":"a169d9778866261d1d9120286ae72feb3fb5b7ee","commits":[{"sha":"69267756d08adbc2f82cd0a9dab12f953ad71435","author":{"email":"87558058f6f829e5ec976c8ef960720af4ff9c7d@redhat.com","name":"John Ferlan"},"message":"logical: Use VIR_APPEND_ELEMENT instead of VIR_REALLOC_N\n\nRather than preallocating a set number of elements, then walking through\nthe extents and adjusting the specific element in place, use the APPEND\nmacros to handle that chore.\n\nSigned-off-by: John Ferlan <jferlan@redhat.com>","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/69267756d08adbc2f82cd0a9dab12f953ad71435"},{"sha":"c6d526f33f0a46bea122cf0a6e61be73294502e7","author":{"email":"87558058f6f829e5ec976c8ef960720af4ff9c7d@redhat.com","name":"John Ferlan"},"message":"logical: Use 'stripes' value for mirror/raid segtype\n\nThe 'stripes' value is described as the \"Number of stripes or mirrors in\na logical volume\". So add \"mirror\" and anything that starts with \"raid\"\nto the list of segtypes that can have an 'nextents' value greater than one.\nUse of raid segtypes (raid1, raid4, raid5*, raid6*, and raid10) is favored\nover mirror in more recent lvm code.\n\nSigned-off-by: John Ferlan <jferlan@redhat.com>","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/c6d526f33f0a46bea122cf0a6e61be73294502e7"},{"sha":"6ec319b84f67d72bf59fe7e0fd41d88ee9c393c7","author":{"email":"87558058f6f829e5ec976c8ef960720af4ff9c7d@redhat.com","name":"John Ferlan"},"message":"logical: Clean up allocation when building regex on the fly\n\nRather than a loop reallocating space to build the regex, just allocate\nit once up front, then if there's more than 1 nextent, append a comma and\nanother regex_unit string.\n\nSigned-off-by: John Ferlan <jferlan@redhat.com>","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/6ec319b84f67d72bf59fe7e0fd41d88ee9c393c7"},{"sha":"4a67b044fbe8f64ebb37a105bdebd3487cc2b707","author":{"email":"7fa0e2698a05be944b362bdf5d7736c0162e16c9@virtuozzo.com","name":"Nikolay Shirokovskiy"},"message":"qemu: return -1 on error paths in qemuDomainSaveImageStartVM\n\nError paths after sending the event that domain is started written as if ret = -1\nwhich is set at the beginning of the function. It's common idioma to keep 'ret'\nequal to -1 until the end of function where it is set to 0. But here we use ret\nto keep result of restore operation too and thus breaks the idioma and its users :)\n\nLet's use different variable to hold restore result.\n\nSigned-off-by: Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/4a67b044fbe8f64ebb37a105bdebd3487cc2b707"},{"sha":"d2dabff3a03862c9560e79957dd8f04443193b4f","author":{"email":"1aaa2bc3b7024bd560deb18127b3c2d75423a41b@virtuozzo.com","name":"Dmitry Andreev"},"message":"qemuDomainResume: allow to resume domain with guest panicked\n\nIn case of guest panicked, preserved crashed domain has stopped CPUs.\nIt's not possible to use tools like WinDbg for the problem investigation\nuntil we start CPUs back.","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/d2dabff3a03862c9560e79957dd8f04443193b4f"},{"sha":"1fe6d8bfa81c8243516e38e81c31645049cb54e2","author":{"email":"2c14d38fa47c8799f1b9c16280abe27f8edfec6e@redhat.com","name":"Erik Skultety"},"message":"cfg.mk: Adjust sc_prohibit_int_ijk to support 'exempt from syntax-check'\n\nThere might be cases, like with typed params, where triggering this check isn't\ndesirable. But including the whole module in the exception regex is not always\nto right way of doing things. By adding an option to manually disable this check\non a specific occurrence, the module itself will still be checked against the\nrule.","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/1fe6d8bfa81c8243516e38e81c31645049cb54e2"},{"sha":"1794a0103ae4fa91d9c11617e7981471173e27ce","author":{"email":"e82f23e74d43760279ebcc505dac4ae70d5627d0@redhat.com","name":"Martin Kletzander"},"message":"qemu: Don't crash when create fails early\n\nSince commit 714080791778e3dfbd484ccb3953bffd820b8ba9 we are generating\nsocket path later than before -- when starting a domain.  That makes one\nparticular inconsistent state of a chardev, which was not possible\nbefore, currently valid.  However, SELinux security driver forgot to\nguard the main restoring function by a check for NULL-paths.  So make it\nno-op for NULL paths, as in the DAC driver.\n\nResolves: https://bugzilla.redhat.com/show_bug.cgi?id=1300532\n\nSigned-off-by: Martin Kletzander <mkletzan@redhat.com>","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/1794a0103ae4fa91d9c11617e7981471173e27ce"},{"sha":"58578f83bc65cdc687eb96f402a9f39dca672844","author":{"email":"2cf5c04c61aa466e4a47bfedc747d17279c72ffc@redhat.com","name":"Peter Krempa"},"message":"cgroup: Clean up virCgroupGetPercpuStats\n\nUse 'ret' for return variable name, clarify use of 'param_idx' and avoid\nunnecessary 'success' label. No functional changes. Also document the\nfunction.","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/58578f83bc65cdc687eb96f402a9f39dca672844"},{"sha":"9bf284daa9b4e28e70f77c434ce4d3a65e5f4acf","author":{"email":"2cf5c04c61aa466e4a47bfedc747d17279c72ffc@redhat.com","name":"Peter Krempa"},"message":"conf: Add helper to retrieve bitmap of active vcpus for a definition\n\nIn some cases it may be better to have a bitmap representing state of\nindividual vcpus rather than iterating the definition. The new helper\ncreates a bitmap representing the state from the domain definition.","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/9bf284daa9b4e28e70f77c434ce4d3a65e5f4acf"},{"sha":"a190744aa96d6abfb3a8b8946952134bc8b7f436","author":{"email":"2cf5c04c61aa466e4a47bfedc747d17279c72ffc@redhat.com","name":"Peter Krempa"},"message":"qemu: cpu hotplug: Set vcpu state directly in the new structure\n\nAvoid using virDomainDefSetVcpus when we can set it directly in the\nstructure.","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/a190744aa96d6abfb3a8b8946952134bc8b7f436"},{"sha":"e97d1d20b174f3cf4bc7052d29000999db658de7","author":{"email":"2cf5c04c61aa466e4a47bfedc747d17279c72ffc@redhat.com","name":"Peter Krempa"},"message":"qemu: Move and rename qemuProcessDetectVcpuPIDs to qemuDomainDetectVcpuPids\n\nFuture patches will tweak and reuse the function in different places so\nmove it separately first.","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/e97d1d20b174f3cf4bc7052d29000999db658de7"},{"sha":"451b955d62a3e1a41ec7b3edeba39d965f8dbd81","author":{"email":"2cf5c04c61aa466e4a47bfedc747d17279c72ffc@redhat.com","name":"Peter Krempa"},"message":"qemu: domain: Prepare qemuDomainDetectVcpuPids for reuse\n\nFree the old vcpupids array in case when this function is called again\nduring the run of the VM. It will be later reused in the vCPU hotplug\ncode. The function now returns the number of detected VCPUs.","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/451b955d62a3e1a41ec7b3edeba39d965f8dbd81"},{"sha":"598927a5bce5c47827f4d02b4596a564e7f8b28f","author":{"email":"2cf5c04c61aa466e4a47bfedc747d17279c72ffc@redhat.com","name":"Peter Krempa"},"message":"conf: Split out logic to determine whether cpupin was provided","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/598927a5bce5c47827f4d02b4596a564e7f8b28f"},{"sha":"e1d7273f245b41578208705e395053f3be613142","author":{"email":"4cab11cfb98d3c937327354a78eb07dbb6ee2bc6@redhat.com","name":"Ján Tomko"},"message":"Simplify virDomainParseMemory\n\nDo not store the return value of virDomainParseScaledValue,\nit was overwritten anyway.\n\nDelete the cleanup label, there is nothing to clean up.","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/e1d7273f245b41578208705e395053f3be613142"},{"sha":"9ba2646291266731d2933b54db3c825e19d44db6","author":{"email":"e82f23e74d43760279ebcc505dac4ae70d5627d0@redhat.com","name":"Martin Kletzander"},"message":"Revert \"systemd: Escape only needed characters for machined\"\n\nThis reverts commit 0e0149ce91d84f40b98acf4c4bb0da6e29b9c15c.\n\nThat commit was added to comply with systemd rules that were changed in\nthe meantime, so this patch is pointless.","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/9ba2646291266731d2933b54db3c825e19d44db6"},{"sha":"92757d4d2d108cf612916928e733739d40a31942","author":{"email":"e82f23e74d43760279ebcc505dac4ae70d5627d0@redhat.com","name":"Martin Kletzander"},"message":"systemd: Add virSystemdGetMachineNameByPID\n\nSigned-off-by: Martin Kletzander <mkletzan@redhat.com>","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/92757d4d2d108cf612916928e733739d40a31942"},{"sha":"1e93470df0dd0fff678914d53b7431af71f60d97","author":{"email":"7fa0e2698a05be944b362bdf5d7736c0162e16c9@virtuozzo.com","name":"Nikolay Shirokovskiy"},"message":"qemu: qemuDomainRename and virDomainObjListNumOfDomains ABBA deadlock fix\n\nA pretty nasty deadlock occurs while trying to rename a VM in parallel\nwith virDomainObjListNumOfDomains.\nThe short description of the problem is as follows:\n\nThread #1:\n\nqemuDomainRename:\n    ------> aquires domain lock by qemuDomObjFromDomain\n       ---------> waits for domain list lock in any of the listed functions:\n          - virDomainObjListFindByName\n          - virDomainObjListRenameAddNew\n          - virDomainObjListRenameRemove\n\nThread #2:\n\nvirDomainObjListNumOfDomains:\n    ------> aquires domain list lock\n       ---------> waits for domain lock in virDomainObjListCount\n\nIntroduce generic virDomainObjListRename function for renaming domains.\nIt aquires list lock in right order to avoid deadlock. Callback is used\nto make driver specific domain updates.\n\nSigned-off-by: Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>\nSigned-off-by: Michal Privoznik <mprivozn@redhat.com>","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/1e93470df0dd0fff678914d53b7431af71f60d97"},{"sha":"b0f2b2856c840d34137e2d62f3326d7ddfdbbd0c","author":{"email":"83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com","name":"Michal Privoznik"},"message":"lock_protocol: Add two new remote procedures\n\nThese procedures will be used to store and bring back security\nlabels. So far, the idea is that tuple (path, model, label) is\nenough. Well, certainly for DAC and SELinux. The functions are:\n\n  VIR_LOCK_SPACE_PROTOCOL_PROC_REMEMBER_SECLABEL\n  VIR_LOCK_SPACE_PROTOCOL_PROC_RECALL_SECLABEL\n\nYeah, they really need that VIR_LOCK_SPACE_PROTOCOL_PROC prefix\ndue to way we call gendispatch.pl.\n\nSo the former will take the whole tuple and remember it. The\nlatter will then take just pair of (path, model) and return label\nstored previously. Moreover, the return value of recall will be\nimportant: value greater than zero means @path is still in use,\ndon't relabel it. Value of zero means @path is no longer used,\nand a negative value means an error (e.g. @path not found, OOM,\netc.).\n\nSigned-off-by: Michal Privoznik <mprivozn@redhat.com>","distinct":true,"url":"https://api.github.com/repos/zippy2/libvirt/commits/b0f2b2856c840d34137e2d62f3326d7ddfdbbd0c"},{"sha":"07e3e87fc856763c36ae4952e220c714d40c5fb1","author":{"email":"83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com","name":"Michal Privoznik"},"message":"locking: Introduce virSeclabelSpace\n\nThis module will handle all the security label remembering and\nrecalling for virlockd. We need to record a tuple of (path,\nsecurity model, security label). So I'm going with a hash table,\nwhere @path would be the key, and tuple of (model, label) is\ngoing to be the payload. Well, the payload tuple is wrapped into\nself inflating array (virSeclabelSpaceLabels). So for each path,\nwe will have to traverse through array of various models to find\nthe needed one. But since there's gonna be many paths and just a\nfew security models, it's going to be the best approach.\n\nSigned-off-by: Michal Privoznik <mprivozn@redhat.com>","distinct":true,"url":"https://api.github.com/repos/zippy2/libvirt/commits/07e3e87fc856763c36ae4952e220c714d40c5fb1"},{"sha":"a88f811e6aed40b1c1468988cc37a13c84ad3dfb","author":{"email":"83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com","name":"Michal Privoznik"},"message":"virtlockd: Work virSeclabelSpace in\n\nSigned-off-by: Michal Privoznik <mprivozn@redhat.com>","distinct":true,"url":"https://api.github.com/repos/zippy2/libvirt/commits/a88f811e6aed40b1c1468988cc37a13c84ad3dfb"}]}