{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/48640","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/48640/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/48640/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/48640/events","html_url":"https://github.com/NixOS/nixpkgs/pull/48640","id":371232439,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzNzI2MjE3","number":48640,"title":"kvmgt module: add restart on failure","user":{"login":"gnidorah","id":12064730,"node_id":"MDQ6VXNlcjEyMDY0NzMw","avatar_url":"https://avatars2.githubusercontent.com/u/12064730?v=4","gravatar_id":"","url":"https://api.github.com/users/gnidorah","html_url":"https://github.com/gnidorah","followers_url":"https://api.github.com/users/gnidorah/followers","following_url":"https://api.github.com/users/gnidorah/following{/other_user}","gists_url":"https://api.github.com/users/gnidorah/gists{/gist_id}","starred_url":"https://api.github.com/users/gnidorah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnidorah/subscriptions","organizations_url":"https://api.github.com/users/gnidorah/orgs","repos_url":"https://api.github.com/users/gnidorah/repos","events_url":"https://api.github.com/users/gnidorah/events{/privacy}","received_events_url":"https://api.github.com/users/gnidorah/received_events","type":"User","site_admin":false},"labels":[{"id":737642262,"node_id":"MDU6TGFiZWw3Mzc2NDIyNjI=","url":"https://api.github.com/repos/NixOS/nixpkgs/labels/10.rebuild-darwin:%200","name":"10.rebuild-darwin: 0","color":"eeffee","default":false},{"id":737642408,"node_id":"MDU6TGFiZWw3Mzc2NDI0MDg=","url":"https://api.github.com/repos/NixOS/nixpkgs/labels/10.rebuild-linux:%200","name":"10.rebuild-linux: 0","color":"eeffee","default":false},{"id":60265212,"node_id":"MDU6TGFiZWw2MDI2NTIxMg==","url":"https://api.github.com/repos/NixOS/nixpkgs/labels/6.topic:%20nixos","name":"6.topic: nixos","color":"fef2c0","default":false},{"id":290122884,"node_id":"MDU6TGFiZWwyOTAxMjI4ODQ=","url":"https://api.github.com/repos/NixOS/nixpkgs/labels/8.has:%20module%20(update)","name":"8.has: module (update)","color":"009800","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-17T19:28:02Z","updated_at":"2018-10-19T14:57:34Z","closed_at":"2018-10-19T09:45:05Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/48640","html_url":"https://github.com/NixOS/nixpkgs/pull/48640","diff_url":"https://github.com/NixOS/nixpkgs/pull/48640.diff","patch_url":"https://github.com/NixOS/nixpkgs/pull/48640.patch"},"body":"###### Motivation for this change\r\n\r\nIn some cases `/sys/bus/pci/devices/0000:00:02.0/mdev_supported_types` is not yet populated when this service starts, so add 5sec pause and restart policy.\r\n\r\n###### Things done\r\n\r\n<!-- Please check what applies. Note that these are not hard requirements but merely serve as information for reviewers. -->\r\n\r\n- [ ] Tested using sandboxing ([nix.useSandbox](http://nixos.org/nixos/manual/options.html#opt-nix.useSandbox) on NixOS, or option `sandbox` in [`nix.conf`](http://nixos.org/nix/manual/#sec-conf-file) on non-NixOS)\r\n- Built on platform(s)\r\n   - [x] NixOS\r\n   - [ ] macOS\r\n   - [ ] other Linux distributions\r\n- [ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside [nixos/tests](https://github.com/NixOS/nixpkgs/blob/master/nixos/tests))\r\n- [ ] Tested compilation of all pkgs that depend on this change using `nix-shell -p nox --run \"nox-review wip\"`\r\n- [x] Tested execution of all binary files (usually in `./result/bin/`)\r\n- [ ] Determined the impact on package closure size (by running `nix path-info -S` before and after)\r\n- [x] Fits [CONTRIBUTING.md](https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md).\r\n\r\n---\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/431391918","html_url":"https://github.com/NixOS/nixpkgs/pull/48640#issuecomment-431391918","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/48640","id":431391918,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTM5MTkxOA==","user":{"login":"gnidorah","id":12064730,"node_id":"MDQ6VXNlcjEyMDY0NzMw","avatar_url":"https://avatars2.githubusercontent.com/u/12064730?v=4","gravatar_id":"","url":"https://api.github.com/users/gnidorah","html_url":"https://github.com/gnidorah","followers_url":"https://api.github.com/users/gnidorah/followers","following_url":"https://api.github.com/users/gnidorah/following{/other_user}","gists_url":"https://api.github.com/users/gnidorah/gists{/gist_id}","starred_url":"https://api.github.com/users/gnidorah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnidorah/subscriptions","organizations_url":"https://api.github.com/users/gnidorah/orgs","repos_url":"https://api.github.com/users/gnidorah/repos","events_url":"https://api.github.com/users/gnidorah/events{/privacy}","received_events_url":"https://api.github.com/users/gnidorah/received_events","type":"User","site_admin":false},"created_at":"2018-10-19T14:57:34Z","updated_at":"2018-10-19T14:57:34Z","author_association":"CONTRIBUTOR","body":"@Mic92 Thanks!"}}
{"actor":{"display_login":"gnidorah"}}