{"push_id":2313262757,"size":37,"distinct_size":37,"ref":"refs/heads/master","head":"0833df03f4206a6cf416fbb3d380fa95c8e61fba","before":"20e0d439a6ded635ec89f6135c08cd5541c68962","commits":[{"sha":"ef9d9108917d6d5f903bca31602827e512a51c50","author":{"name":"Daniel P. Berrange","email":"5d1320ff3c85681bb6d7ea4b0b2f371698325ec8@redhat.com"},"message":"qapi: convert to use python print function instead of statement\n\nPython 3 no longer supports the bare \"print\" statement, it must be\ncalled as a normal function with round brackets. It is possible to\nopt-in to this new syntax with Python 2.6 onwards by importing the\n\"print_function\" from the \"__future__\" module, making it easy to\nsupport Python 2 and 3 in parallel.\n\nReviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>\nSigned-off-by: Daniel P. Berrange <berrange@redhat.com>\nMessage-Id: <20180116134217.8725-2-berrange@redhat.com>\nSigned-off-by: Eduardo Habkost <ehabkost@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kheubaum/qemu/commits/ef9d9108917d6d5f903bca31602827e512a51c50"},{"sha":"2f8480447067d6f42af52a886385284ead052af9","author":{"name":"Daniel P. Berrange","email":"5d1320ff3c85681bb6d7ea4b0b2f371698325ec8@redhat.com"},"message":"qapi: use items()/values() intead of iteritems()/itervalues()\n\nThe iteritems()/itervalues() methods are gone in py3, but the\nitems()/values() methods are still around. The latter are less\nefficient than the former in py2, but this has unmeasurably\nsmall impact on QEMU build time, so taking portability over\nefficiency is a net win.\n\nReviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>\nSigned-off-by: Daniel P. Berrange <berrange@redhat.com>\nMessage-Id: <20180116134217.8725-3-berrange@redhat.com>\nSigned-off-by: Eduardo Habkost <ehabkost@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kheubaum/qemu/commits/2f8480447067d6f42af52a886385284ead052af9"},{"sha":"38710a8994911d98acbe183a39ec3a53638de510","author":{"name":"Daniel P. Berrange","email":"5d1320ff3c85681bb6d7ea4b0b2f371698325ec8@redhat.com"},"message":"qapi: Use OrderedDict from standard library if available\n\nThe OrderedDict class appeared in the 'collections' module\nfrom python 2.7 onwards, so use that in preference to our\nlocal backport if available.\n\nReviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>\nSigned-off-by: Daniel P. Berrange <berrange@redhat.com>\nMessage-Id: <20180116134217.8725-4-berrange@redhat.com>\nSigned-off-by: Eduardo Habkost <ehabkost@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kheubaum/qemu/commits/38710a8994911d98acbe183a39ec3a53638de510"},{"sha":"5f90af8e6b34f9e6b60eb05a15707a95a0febbde","author":{"name":"Daniel P. Berrange","email":"5d1320ff3c85681bb6d7ea4b0b2f371698325ec8@redhat.com"},"message":"qapi: adapt to moved location of StringIO module in py3\n\nReviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>\nSigned-off-by: Daniel P. Berrange <berrange@redhat.com>\nMessage-Id: <20180116134217.8725-5-berrange@redhat.com>\nSigned-off-by: Eduardo Habkost <ehabkost@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kheubaum/qemu/commits/5f90af8e6b34f9e6b60eb05a15707a95a0febbde"},{"sha":"52c4272c6c916a53cde65b997e1a4e891c14dcef","author":{"name":"Daniel P. Berrange","email":"5d1320ff3c85681bb6d7ea4b0b2f371698325ec8@redhat.com"},"message":"qapi: Adapt to moved location of 'maketrans' function in py3\n\nReviewed-by: Eric Blake <eblake@redhat.com>\nSigned-off-by: Daniel P. Berrange <berrange@redhat.com>\nMessage-Id: <20180116134217.8725-6-berrange@redhat.com>\nSigned-off-by: Eduardo Habkost <ehabkost@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kheubaum/qemu/commits/52c4272c6c916a53cde65b997e1a4e891c14dcef"},{"sha":"46ec4fcea95204a8e5bab9295cbfaa3606d78dc9","author":{"name":"Daniel P. Berrange","email":"5d1320ff3c85681bb6d7ea4b0b2f371698325ec8@redhat.com"},"message":"qapi: remove '-q' arg to diff when comparing QAPI output\n\nWhen the qapi schema tests fail they merely print that the expected\noutput didn't match the actual output. This is largely useless when\ntrying diagnose what went wrong. Removing the '-q' arg to diff\nmeans that it is still silent on successful tests, but when it\nfails we'll see details of the incorrect output.\n\nReviewed-by: Eric Blake <eblake@redhat.com>\nSigned-off-by: Daniel P. Berrange <berrange@redhat.com>\nMessage-Id: <20180116134217.8725-7-berrange@redhat.com>\nSigned-off-by: Eduardo Habkost <ehabkost@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kheubaum/qemu/commits/46ec4fcea95204a8e5bab9295cbfaa3606d78dc9"},{"sha":"f7a5376d4b667cf6c83c1d640e32d22456d7b5ee","author":{"name":"Daniel P. Berrange","email":"5d1320ff3c85681bb6d7ea4b0b2f371698325ec8@redhat.com"},"message":"qapi: ensure stable sort ordering when checking QAPI entities\n\nSome early python 3.x versions will have different default\nordering when calling the 'values()' method on a dict, compared\nto python 2.x and later 3.x versions. Explicitly sort the items\nto get a stable ordering.\n\nReviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>\nSigned-off-by: Daniel P. Berrange <berrange@redhat.com>\nMessage-Id: <20180116134217.8725-8-berrange@redhat.com>\nSigned-off-by: Eduardo Habkost <ehabkost@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kheubaum/qemu/commits/f7a5376d4b667cf6c83c1d640e32d22456d7b5ee"},{"sha":"d4e5ec877ca698a87dabe68814c6f93668f50c60","author":{"name":"Daniel P. Berrange","email":"5d1320ff3c85681bb6d7ea4b0b2f371698325ec8@redhat.com"},"message":"qapi: force a UTF-8 locale for running Python\n\nPython2 did not validate locale correctness when reading input data, so\nwould happily read UTF-8 data in non-UTF-8 locales. Python3 is strict so\nif you try to read UTF-8 data in the C locale, it will raise an error\nfor any UTF-8 bytes that aren't representable in 7-bit ascii encoding.\ne.g.\n\nUnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 54: ordinal not in range(128)\nTraceback (most recent call last):\n  File \"/tmp/qemu-test/src/scripts/qapi-commands.py\", line 317, in <module>\n    schema = QAPISchema(input_file)\n  File \"/tmp/qemu-test/src/scripts/qapi.py\", line 1468, in __init__\n    parser = QAPISchemaParser(open(fname, 'r'))\n  File \"/tmp/qemu-test/src/scripts/qapi.py\", line 301, in __init__\n    previously_included)\n  File \"/tmp/qemu-test/src/scripts/qapi.py\", line 348, in _include\n    exprs_include = QAPISchemaParser(fobj, previously_included, info)\n  File \"/tmp/qemu-test/src/scripts/qapi.py\", line 271, in __init__\n    self.src = fp.read()\n  File \"/usr/lib64/python3.5/encodings/ascii.py\", line 26, in decode\n    return codecs.ascii_decode(input, self.errors)[0]\n\nMore background on this can be seen in\n\n  https://www.python.org/dev/peps/pep-0538/\n\nMany distros support a new C.UTF-8 locale that is like the C locale,\nbut with UTF-8 instead of 7-bit ASCII. That is not entirely portable\nthough. This patch thus sets the LANG to \"C\", but overrides LC_CTYPE\nto be en_US.UTF-8 locale. This gets us pretty close to C.UTF-8, but\nin a way that should be portable to everywhere QEMU builds.\n\nThis patch only forces UTF-8 for QAPI scripts, since that is the one\nshowing the immediate error under Python3 with C locale, but potentially\nwe ought to force this for all python scripts used in the build process.\n\nSigned-off-by: Daniel P. Berrange <berrange@redhat.com>\nMessage-Id: <20180116134217.8725-9-berrange@redhat.com>\nReviewed-by: Eric Blake <eblake@redhat.com>\nSigned-off-by: Eduardo Habkost <ehabkost@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kheubaum/qemu/commits/d4e5ec877ca698a87dabe68814c6f93668f50c60"},{"sha":"31d8f92e646f7d4cfbb4ffab440ab41a3c838fd3","author":{"name":"Daniel P. Berrange","email":"5d1320ff3c85681bb6d7ea4b0b2f371698325ec8@redhat.com"},"message":"scripts: ensure signrom treats data as bytes\n\nReviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>\nSigned-off-by: Daniel P. Berrange <berrange@redhat.com>\nMessage-Id: <20180116134217.8725-10-berrange@redhat.com>\nSigned-off-by: Eduardo Habkost <ehabkost@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kheubaum/qemu/commits/31d8f92e646f7d4cfbb4ffab440ab41a3c838fd3"},{"sha":"c21965a0c8b979c306e927f158257e5b0fa3a1f9","author":{"name":"Daniel P. Berrange","email":"5d1320ff3c85681bb6d7ea4b0b2f371698325ec8@redhat.com"},"message":"configure: allow use of python 3\n\nSigned-off-by: Daniel P. Berrange <berrange@redhat.com>\nMessage-Id: <20180116134217.8725-11-berrange@redhat.com>\nReviewed-by: Eric Blake <eblake@redhat.com>\nSigned-off-by: Eduardo Habkost <ehabkost@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kheubaum/qemu/commits/c21965a0c8b979c306e927f158257e5b0fa3a1f9"},{"sha":"74af2e59d26712aa673832ec03ec6eac53066c03","author":{"name":"Amador Pahim","email":"281ac2f0953c28951be773cb46db01df92c36958@redhat.com"},"message":"qemu.py: remove unused import\n\nRemoving 'import sys' as it's not used anywhere.\n\nSigned-off-by: Amador Pahim <apahim@redhat.com>\nMessage-Id: <20171114102246.22221-2-apahim@redhat.com>\nSigned-off-by: Eduardo Habkost <ehabkost@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kheubaum/qemu/commits/74af2e59d26712aa673832ec03ec6eac53066c03"},{"sha":"af99fa9fe22ba1c6139d1fbe6a66f3b01d575cab","author":{"name":"Amador Pahim","email":"281ac2f0953c28951be773cb46db01df92c36958@redhat.com"},"message":"qemu.py: better control of created files\n\nTo launch a VM, we need to create basically two files: the monitor\nsocket (if it's a UNIX socket) and the qemu log file.\n\nFor the qemu log file, we currently just open the path, which will\ncreate the file if it does not exist or overwrite the file if it does\nexist.\n\nFor the monitor socket, if it already exists, we are currently removing\nit, even if it's not created by us.\n\nThis patch moves to _pre_launch() the responsibility to create a\ntemporary directory to host the files so we can remove the whole\ndirectory on _post_shutdown().\n\nSigned-off-by: Amador Pahim <apahim@redhat.com>\nMessage-Id: <20180122205033.24893-2-apahim@redhat.com>\nReviewed-by: Eduardo Habkost <ehabkost@redhat.com>\nSigned-off-by: Eduardo Habkost <ehabkost@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kheubaum/qemu/commits/af99fa9fe22ba1c6139d1fbe6a66f3b01d575cab"},{"sha":"d301bccf7323ff3069e46f600aa7b31dbbc2f2f7","author":{"name":"Amador Pahim","email":"281ac2f0953c28951be773cb46db01df92c36958@redhat.com"},"message":"qemu.py: refactor launch()\n\nThis is just a refactor to separate the exception handler from the\nactual launch procedure, improving the readability and making future\nmaintenances in this piece of code easier.\n\nReviewed-by: Fam Zheng <famz@redhat.com>\nReviewed-by: Eduardo Habkost <ehabkost@redhat.com>\nSigned-off-by: Amador Pahim <apahim@redhat.com>\nMessage-Id: <20180122205033.24893-3-apahim@redhat.com>\nSigned-off-by: Eduardo Habkost <ehabkost@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kheubaum/qemu/commits/d301bccf7323ff3069e46f600aa7b31dbbc2f2f7"},{"sha":"04a963b4953be6c7f1899cfe0a0a11d03292c18b","author":{"name":"Amador Pahim","email":"281ac2f0953c28951be773cb46db01df92c36958@redhat.com"},"message":"qemu.py: always cleanup on shutdown()\n\nCurrently we only cleanup on shutdown() if the VM is running.\n\nTo make sure we will always cleanup, this patch makes the\nself._load_io_log() and the self._post_shutdown() to\nalways be called on shutdown(), regardless the VM running state.\n\nReviewed-by: Fam Zheng <famz@redhat.com>\nReviewed-by: Eduardo Habkost <ehabkost@redhat.com>\nSigned-off-by: Amador Pahim <apahim@redhat.com>\nMessage-Id: <20180122205033.24893-4-apahim@redhat.com>\nSigned-off-by: Eduardo Habkost <ehabkost@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kheubaum/qemu/commits/04a963b4953be6c7f1899cfe0a0a11d03292c18b"},{"sha":"17589cae908222d572953d4c85f72aa833e87d58","author":{"name":"Amador Pahim","email":"281ac2f0953c28951be773cb46db01df92c36958@redhat.com"},"message":"qemu.py: use poll() instead of 'returncode'\n\nThe 'returncode' Popen attribute is not guaranteed to be updated. It\nactually depends on a call to either poll(), wait() or communicate().\n\nOn the other hand, poll() will: \"Check if child process has terminated.\nSet and return returncode attribute.\"\n\nLet's use the poll() to check whether the process is running and to get\nthe updated process exit code, when the process is finished.\n\nReviewed-by: Fam Zheng <famz@redhat.com>\neviewed-by: Eduardo Habkost <ehabkost@redhat.com>\nSigned-off-by: Amador Pahim <apahim@redhat.com>\nMessage-Id: <20180122205033.24893-5-apahim@redhat.com>\nSigned-off-by: Eduardo Habkost <ehabkost@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kheubaum/qemu/commits/17589cae908222d572953d4c85f72aa833e87d58"},{"sha":"c58b535f8396f7ab71dc7074713c99ec042da95b","author":{"name":"Amador Pahim","email":"281ac2f0953c28951be773cb46db01df92c36958@redhat.com"},"message":"qemu.py: cleanup redundant calls in launch()\n\nNow that shutdown() is guaranteed to always execute self._load_io_log()\nand self._post_shutdown(), their calls in 'except' became redundant and\nwe can safely replace it by a call to shutdown().\n\nReviewed-by: Fam Zheng <famz@redhat.com>\nReviewed-by: Eduardo Habkost <ehabkost@redhat.com>\nSigned-off-by: Amador Pahim <apahim@redhat.com>\nMessage-Id: <20180122205033.24893-6-apahim@redhat.com>\nSigned-off-by: Eduardo Habkost <ehabkost@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kheubaum/qemu/commits/c58b535f8396f7ab71dc7074713c99ec042da95b"},{"sha":"156dc7b1740d9f71baf4aef277d7f812f1a784ba","author":{"name":"Amador Pahim","email":"281ac2f0953c28951be773cb46db01df92c36958@redhat.com"},"message":"qemu.py: don't launch again before shutdown()\n\nIf a VM is launched, files are created and a cleanup is required before\na new launch. This cleanup is executed by shutdown(), so shutdown() must\nbe called even if the VM is manually terminated (i.e. using kill).\n\nThis patch creates a control to make sure launch() will not be executed\nagain if shutdown() is not called after the previous launch().\n\nSigned-off-by: Amador Pahim <apahim@redhat.com>\nMessage-Id: <20180122205033.24893-7-apahim@redhat.com>\nSigned-off-by: Eduardo Habkost <ehabkost@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kheubaum/qemu/commits/156dc7b1740d9f71baf4aef277d7f812f1a784ba"},{"sha":"280b8da3b842177de538de4f73d3d63db077e39b","author":{"name":"Miika S","email":"2a7a47e7f82ce485c2eac27c408b989b7cc7aea2@gmail.com"},"message":"input: add missing JIS keys to virtio input\n\nkeycodemapdb updated to add the QKeyCodes muhenkan and katakanahiragana\n\nSigned-off-by: Miika S <miika9764@gmail.com>\nMessage-Id: <20180116134217.8725-12-berrange@redhat.com>\nReviewed-by: Eric Blake <eblake@redhat.com>\nSigned-off-by: Eduardo Habkost <ehabkost@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kheubaum/qemu/commits/280b8da3b842177de538de4f73d3d63db077e39b"},{"sha":"df25920903036d0381ecf7f946c9ea100d002f80","author":{"name":"Daniel P. Berrange","email":"5d1320ff3c85681bb6d7ea4b0b2f371698325ec8@redhat.com"},"message":"ui: update keycodemapdb to get py3 fixes\n\nSigned-off-by: Daniel P. Berrange <berrange@redhat.com>\nMessage-Id: <20180116134217.8725-13-berrange@redhat.com>\nSigned-off-by: Eduardo Habkost <ehabkost@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kheubaum/qemu/commits/df25920903036d0381ecf7f946c9ea100d002f80"},{"sha":"8e73a3c5fc0b57c3b7b4f3f79135570cb41d84a4","author":{"name":"Daniel P. Berrange","email":"5d1320ff3c85681bb6d7ea4b0b2f371698325ec8@redhat.com"},"message":"travis: improve python version test coverage\n\nCurrently travis declares ancient python 2.4 is desired. Update that to\n2.6 which is the oldest version any targetted distros still needs. If we\njust list a python 3 version at the top level this will double the\nnumber of travis jobs we run which is unreasonable.\n\nSo arbitrarily pick the clang test matrix entries to build with python\n3.0 and 3.6, to extend coverage of python versions, without increasing\njob count or build time.\n\nSigned-off-by: Daniel P. Berrange <berrange@redhat.com>\nMessage-Id: <20180116134217.8725-14-berrange@redhat.com>\nSigned-off-by: Eduardo Habkost <ehabkost@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kheubaum/qemu/commits/8e73a3c5fc0b57c3b7b4f3f79135570cb41d84a4"}]}
{"actor":{"display_login":"kheubaum"}}