{"push_id":2854729223,"size":5,"distinct_size":5,"ref":"refs/heads/master","head":"ed1e343b93d3822a36a01e672252ccc6da3389e0","before":"56ba8adc3ac30ba3d30d420773512a6f5ae4d521","commits":[{"sha":"7f4b221bc32f8930277efbb2cca1e0b95e78cdf0","author":{"name":"Wei Zhang","email":"14976e959b2860fb06a3c1edbdb1945a4e11b8b5@huawei.com"},"message":"devices: share genericDevice logic among devices\n\nFixes #635\n\nShares generic device logic among all device drivers to reduce\nduplicated codes.\n\nSigned-off-by: Wei Zhang <zhangwei555@huawei.com>","distinct":true,"url":"https://api.github.com/repos/kata-containers/runtime/commits/7f4b221bc32f8930277efbb2cca1e0b95e78cdf0"},{"sha":"affd6e3216cbcfe797c617f61138bda1a5e928b2","author":{"name":"Wei Zhang","email":"14976e959b2860fb06a3c1edbdb1945a4e11b8b5@huawei.com"},"message":"devices: add reference count for devices.\n\nFixes #635\n\nRemove `Hotplugged bool` field from device and add two new fields\ninstead:\n* `RefCount`: how many references to this device. One device can be\nreferenced(`NewDevice()`) many times by same/different container(s),\ntwo devices are regarded identical if they have same hostPath\n* `AttachCount`: how many times this device has been attached. A device\ncan only be hotplugged once to the qemu, every new Attach command will\nadd the AttachCount, and real `Detach` will be done only when\n`AttachCount == 0`\n\nSigned-off-by: Wei Zhang <zhangwei555@huawei.com>","distinct":true,"url":"https://api.github.com/repos/kata-containers/runtime/commits/affd6e3216cbcfe797c617f61138bda1a5e928b2"},{"sha":"e599ef430ab58e7bd6a86125a1a50d680fe10ba2","author":{"name":"Wei Zhang","email":"14976e959b2860fb06a3c1edbdb1945a4e11b8b5@huawei.com"},"message":"device: don't persist `ContainerPath` of `DeviceInfo`\n\nFixes #635\n\n`ContainerPath` isn't meaningful in sandbox's `devices.json`, because\ndevice is sandbox level which can be referenced by many containers, and\n`ContainerPath` is per container which means nothing to a sandbox level\nresource.\n\nSigned-off-by: Wei Zhang <zhangwei555@huawei.com>","distinct":true,"url":"https://api.github.com/repos/kata-containers/runtime/commits/e599ef430ab58e7bd6a86125a1a50d680fe10ba2"},{"sha":"c518b1ef0011242246d34033bcd6a4fd2ec8f6b2","author":{"name":"Wei Zhang","email":"14976e959b2860fb06a3c1edbdb1945a4e11b8b5@huawei.com"},"message":"device: use devicemanager to manage rootfs block\n\nFixes #635\n\nWhen container rootfs is block based in devicemapper use case, we can re-use\nsandbox device manager to manage rootfs block plug/unplug, we don't detailed\ndescription of block in container state file, instead we only need a Block index\nreferencing sandbox device.\n\nRemove `HotpluggedDrive` and `RootfsPCIAddr` from state file because it's not\nnecessary any more.\n\nSigned-off-by: Wei Zhang <zhangwei555@huawei.com>","distinct":true,"url":"https://api.github.com/repos/kata-containers/runtime/commits/c518b1ef0011242246d34033bcd6a4fd2ec8f6b2"},{"sha":"ed1e343b93d3822a36a01e672252ccc6da3389e0","author":{"name":"James O. D. Hunt","email":"348fbaadfbada55ea105602bf5609e23ac1c4898@intel.com"},"message":"Merge pull request #655 from WeiZhang555/add-ref-counter-for-devices\n\nAdd ref counter for devices","distinct":true,"url":"https://api.github.com/repos/kata-containers/runtime/commits/ed1e343b93d3822a36a01e672252ccc6da3389e0"}]}
{"actor":{"display_login":"jodh-intel"}}