Trivial patches for 2014-04-18
This is the same pull request as has been sent initially for 2.0 and which we didn't apply. Except that this time, I fixed one more "allows to" case which I overlooked in qemu-options.hx.
I'm not re-sending whole series again, as at has been sent previously, will only re-send the changed patch as a reply to this message.
Please consider pulling.
The following changes since commit 2d03b49c3f225994c4b0b46146437d8c887d6774:
Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20140417-1' into staging (2014-04-17 21:37:26 +0100)
are available in the git repository at:
git://git.corpit.ru/qemu.git tags/trivial-patches-2014-04-18
for you to fetch changes up to b36dc67b95dedcece8757ec23bf42625a7ccda34:
Fix grammar in comment (2014-04-18 10:33:36 +0400)
----------------------------------------------------------------
trivial patches for 2014-04-18
----------------------------------------------------------------
Amos Kong (1):
qga: trivial fix for unclear documentation of guest-set-time
Chen Gang (1):
vl: Report accelerator not supported for target more nicely
Hani Benhabiles (1):
net: Report error when device / hub combo is not found.
Michael Tokarev (1):
doc: grammify "allows to"
Paolo Bonzini (1):
scripts: add sample model file for Coverity Scan
Peter Maydell (4):
configure: Fix indentation of help for --enable/disable-debug-info hw/ide/ahci.c: Avoid shift left into sign bit int128.h: Avoid undefined behaviours involving signed arithmetic xbzrle.c: Avoid undefined behaviour with signed arithmetic
Stefan Weil (2):
configure: Remove redundant message for -Werror Fix grammar in comment
configure | 5 +- hw/i2c/smbus_eeprom.c | 2 +- hw/ide/ahci.c | 4 +- include/qemu/int128.h | 4 +- net/net.c | 4 +- qemu-doc.texi | 2 +- qemu-options.hx | 7 +- qga/commands-posix.c | 2 +- qga/qapi-schema.json | 14 ++-- scripts/coverity-model.c | 183 ++++++++++++++++++++++++++++++++++++++++++++++ vl.c | 2 +- xbzrle.c | 8 +- 12 files changed, 212 insertions(+), 25 deletions(-) create mode 100644 scripts/coverity-model.c
PATCH v3 1/1 doc: grammify "allows to"
English language grammar does not allow usage of the word "allows" directly followed by an infinitive, declaring constructs like "something allows to do somestuff" un-grammatical. Often it is possible to just insert "one" between "allows" and "to" to make the construct grammatical, but usually it is better to re-phrase the statement.
This patch tries to fix 4 examples of "allows to" usage in qemu doc, but does not address comments in the code with similar constructs. It also adds missing "the" in the same line.
--- qemu-doc.texi | 2 +- qemu-options.hx | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-)
v2: catch one more occurence of the same construct in qemu-options.hx, in vnc encodings section. This statement may need rewriting which I don't provide in this patch, which just fixes the grammar.
v3: one more case in qemu-options.hx
qemu-doc.texi +1 -1
@@ -823,7 +823,7 @@ In this case, the block device must be exported using qemu-nbd: qemu-nbd --socket=/tmp/my_socket my_disk.qcow2 @end example -The use of qemu-nbd allows to share a disk between several guests: +The use of qemu-nbd allows sharing of a disk between several guests: @example qemu-nbd --socket=/tmp/my_socket --share=2 my_disk.qcow2 @end example
qemu-options.hx +4 -3
@@ -444,7 +444,8 @@ This option defines the type of the media: disk or cdrom. @item cyls=@var{c},heads=@var{h},secs=@var{s}[,trans=@var{t}] These options have the same definition as they have in @option{-hdachs}. @item snapshot=@var{snapshot} -@var{snapshot} is "on" or "off" and allows to enable snapshot for given drive (see @option{-snapshot}). +@var{snapshot} is "on" or "off" and controls snapshot mode for the given drive +(see @option{-snapshot}). @item cache=@var{cache} @var{cache} is "none", "writeback", "unsafe", "directsync" or "writethrough" and controls how the host cache is used to access block data. @item aio=@var{aio}
@@ -1242,7 +1243,7 @@ Disable adaptive encodings. Adaptive encodings are enabled by default. An adaptive encoding will try to detect frequently updated screen regions, and send updates in these regions using a lossy encoding (like JPEG). This can be really helpful to save bandwidth when playing videos. Disabling -adaptive encodings allows to restore the original static behavior of encodings +adaptive encodings restores the original static behavior of encodings like Tight. @item share=[allow-exclusive|force-shared|ignore]
@@ -2805,7 +2806,7 @@ UTC or local time, respectively. @code{localtime} is required for correct date i MS-DOS or Windows. To start at a specific point in time, provide @var{date} in the format @code{2006-06-17T16:01:21} or @code{2006-06-17}. The default base is UTC. -By default the RTC is driven by the host system time. This allows to use the +By default the RTC is driven by the host system time. This allows using of the RTC as accurate reference clock inside the guest, specifically if the host time is smoothly following an accurate external reference clock, e.g. via NTP. If you want to isolate the guest time from the host, you can set @option{clock}
Signature · 1 line
1.7.10.4
Peter Maydell
AppliedQuoted 9 lines · Michael Tokarev
This is the same pull request as has been sent initially for 2.0 and which we didn't apply. Except that this time, I fixed one more "allows to" case which I overlooked in qemu-options.hx.
I'm not re-sending whole series again, as at has been sent previously, will only re-send the changed patch as a reply to this message.
Please consider pulling.
Quoted 8 lines
The following changes since commit
2d03b49c3f225994c4b0b46146437d8c887d6774:Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20140417-1' into staging (2014-04-17 21:37:26 +0100)
are available in the git repository at:
git://git.corpit.ru/qemu.gittags/trivial-patches-2014-04-18
Applied, thanks.
-- PMM