{"action":"created","issue":{"url":"https://api.github.com/repos/m-labs/artiq/issues/358","repository_url":"https://api.github.com/repos/m-labs/artiq","labels_url":"https://api.github.com/repos/m-labs/artiq/issues/358/labels{/name}","comments_url":"https://api.github.com/repos/m-labs/artiq/issues/358/comments","events_url":"https://api.github.com/repos/m-labs/artiq/issues/358/events","html_url":"https://github.com/m-labs/artiq/issues/358","id":144174789,"number":358,"title":"add serial port on win7-experimental VM","user":{"login":"sbourdeauducq","id":720864,"avatar_url":"https://avatars.githubusercontent.com/u/720864?v=3","gravatar_id":"","url":"https://api.github.com/users/sbourdeauducq","html_url":"https://github.com/sbourdeauducq","followers_url":"https://api.github.com/users/sbourdeauducq/followers","following_url":"https://api.github.com/users/sbourdeauducq/following{/other_user}","gists_url":"https://api.github.com/users/sbourdeauducq/gists{/gist_id}","starred_url":"https://api.github.com/users/sbourdeauducq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbourdeauducq/subscriptions","organizations_url":"https://api.github.com/users/sbourdeauducq/orgs","repos_url":"https://api.github.com/users/sbourdeauducq/repos","events_url":"https://api.github.com/users/sbourdeauducq/events{/privacy}","received_events_url":"https://api.github.com/users/sbourdeauducq/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/m-labs/artiq/labels/area:infrastructure","name":"area:infrastructure","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":{"login":"whitequark","id":54771,"avatar_url":"https://avatars.githubusercontent.com/u/54771?v=3","gravatar_id":"","url":"https://api.github.com/users/whitequark","html_url":"https://github.com/whitequark","followers_url":"https://api.github.com/users/whitequark/followers","following_url":"https://api.github.com/users/whitequark/following{/other_user}","gists_url":"https://api.github.com/users/whitequark/gists{/gist_id}","starred_url":"https://api.github.com/users/whitequark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitequark/subscriptions","organizations_url":"https://api.github.com/users/whitequark/orgs","repos_url":"https://api.github.com/users/whitequark/repos","events_url":"https://api.github.com/users/whitequark/events{/privacy}","received_events_url":"https://api.github.com/users/whitequark/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/m-labs/artiq/milestones/1","html_url":"https://github.com/m-labs/artiq/milestones/1.0","labels_url":"https://api.github.com/repos/m-labs/artiq/milestones/1/labels","id":1543322,"number":1,"title":"1.0","description":"","creator":{"login":"jordens","id":1338946,"avatar_url":"https://avatars.githubusercontent.com/u/1338946?v=3","gravatar_id":"","url":"https://api.github.com/users/jordens","html_url":"https://github.com/jordens","followers_url":"https://api.github.com/users/jordens/followers","following_url":"https://api.github.com/users/jordens/following{/other_user}","gists_url":"https://api.github.com/users/jordens/gists{/gist_id}","starred_url":"https://api.github.com/users/jordens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordens/subscriptions","organizations_url":"https://api.github.com/users/jordens/orgs","repos_url":"https://api.github.com/users/jordens/repos","events_url":"https://api.github.com/users/jordens/events{/privacy}","received_events_url":"https://api.github.com/users/jordens/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":75,"state":"open","created_at":"2016-01-26T04:36:52Z","updated_at":"2016-04-06T22:19:08Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-03-29T06:56:51Z","updated_at":"2016-04-06T22:19:09Z","closed_at":"2016-04-06T22:19:08Z","body":"This blocks #279."},"comment":{"url":"https://api.github.com/repos/m-labs/artiq/issues/comments/206593893","html_url":"https://github.com/m-labs/artiq/issues/358#issuecomment-206593893","issue_url":"https://api.github.com/repos/m-labs/artiq/issues/358","id":206593893,"user":{"login":"whitequark","id":54771,"avatar_url":"https://avatars.githubusercontent.com/u/54771?v=3","gravatar_id":"","url":"https://api.github.com/users/whitequark","html_url":"https://github.com/whitequark","followers_url":"https://api.github.com/users/whitequark/followers","following_url":"https://api.github.com/users/whitequark/following{/other_user}","gists_url":"https://api.github.com/users/whitequark/gists{/gist_id}","starred_url":"https://api.github.com/users/whitequark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitequark/subscriptions","organizations_url":"https://api.github.com/users/whitequark/orgs","repos_url":"https://api.github.com/users/whitequark/repos","events_url":"https://api.github.com/users/whitequark/events{/privacy}","received_events_url":"https://api.github.com/users/whitequark/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T22:19:08Z","updated_at":"2016-04-06T22:19:08Z","body":"Done. I made QEMU allocate a PTY, since that looks the most like a serial port. Unfortunately there is no good way to figure out *which* PTY it is. Currently it is `/dev/pts/8`. I suggest simply restarting the VM using `xl destroy && xl create` every time you forget which PTY it was attached to.\r\n\r\nAlternatively I can attach it to a named pipe, but that's more likely to break software connecting to the virtual serial port. E.g. I don't actually know how to connect a terminal emulator to one."}}