qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] c88930: qemu-char: Permit only a single "stdi


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] c88930: qemu-char: Permit only a single "stdio" character ...
Date: Tue, 23 Sep 2014 04:30:06 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: c88930a6866e74953e931ae749781e98e486e5c8
      
https://github.com/qemu/qemu/commit/c88930a6866e74953e931ae749781e98e486e5c8
  Author: Li Liu <address@hidden>
  Date:   2014-09-20 (Sat, 20 Sep 2014)

  Changed paths:
    M qemu-char.c

  Log Message:
  -----------
  qemu-char: Permit only a single "stdio" character device

When more than one is used, the terminal settings aren't restored
correctly on exit.  Fixable.  However, such usage makes no sense,
because the users race for input, so outlaw it instead.

If you want to connect multiple things to stdio, use the mux
chardev.

Signed-off-by: Li Liu <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: 9d632f5f688e1cbb8ef9e54dfc671518dfe677aa
      
https://github.com/qemu/qemu/commit/9d632f5f688e1cbb8ef9e54dfc671518dfe677aa
  Author: zhanghailiang <address@hidden>
  Date:   2014-09-20 (Sat, 20 Sep 2014)

  Changed paths:
    M hw/ppc/spapr.c
    M libcacard/vcard_emul_nss.c

  Log Message:
  -----------
  Fix typos and misspellings in comments

formated -> formatted
gaurantee -> guarantee
shear -> sheer

Signed-off-by: zhanghailiang <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: 971ae6ef4772efe2adda3d773f334b9476ffa594
      
https://github.com/qemu/qemu/commit/971ae6ef4772efe2adda3d773f334b9476ffa594
  Author: zhanghailiang <address@hidden>
  Date:   2014-09-20 (Sat, 20 Sep 2014)

  Changed paths:
    M docs/rdma.txt
    M migration-rdma.c

  Log Message:
  -----------
  rdma: Fix incorrect description in comments

Since we have supported memory hotplug, VM's ram include pc.ram
and hotplug-memory.

Fix the confused description for rdma migration: pc.ram -> VM's ram

Signed-off-by: zhanghailiang <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: 6c5b0c0ac0be8cc618dfeb7bb29d113a078dcd71
      
https://github.com/qemu/qemu/commit/6c5b0c0ac0be8cc618dfeb7bb29d113a078dcd71
  Author: Chen Gang <address@hidden>
  Date:   2014-09-20 (Sat, 20 Sep 2014)

  Changed paths:
    M xen-hvm.c

  Log Message:
  -----------
  xen-hvm.c: Always return -1 when failure occurs in xen_hvm_init()

When failure occurs, it need to use "return -1" instead of exit(1), so
an upper layer has a chance to print failure information, too.

For simplicity, in xen_hvm_init(), also use '-1' instead of all
'-errno', since all related upper callers always exit(1) on failure.

It is not a normal function, it does not release related resources when
return -1, so need give related comments for it.

It passes common check:

  "./configure --enable-xen && make && make check"
  "echo $? == 0"

Signed-off-by: Chen Gang <address@hidden>
Acked-by: Stefano Stabellini <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: 2d5361f2a9dc17071328846dae0df0304483a34f
      
https://github.com/qemu/qemu/commit/2d5361f2a9dc17071328846dae0df0304483a34f
  Author: Gonglei <address@hidden>
  Date:   2014-09-20 (Sat, 20 Sep 2014)

  Changed paths:
    M configure

  Log Message:
  -----------
  configure: trivial fixes

Make them consistent with the others.

Cc: address@hidden
Signed-off-by: Gonglei <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: 4d63322cd4b3b5eba911ea98bf2050c939e432e3
      
https://github.com/qemu/qemu/commit/4d63322cd4b3b5eba911ea98bf2050c939e432e3
  Author: zhanghailiang <address@hidden>
  Date:   2014-09-20 (Sat, 20 Sep 2014)

  Changed paths:
    M vl.c

  Log Message:
  -----------
  vl: Print maxmem in hex format for error message

In error message, maxmem is printed in Dec but ram_size in Hex.
It is better to print them in same format.
Also use error_report instead of fprintf.

Reviewed-By: Igor Mammedov <address@hidden>
Signed-off-by: zhanghailiang <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: a011898d25b8a26a311d56dfe37e8d3a4374ec65
      
https://github.com/qemu/qemu/commit/a011898d25b8a26a311d56dfe37e8d3a4374ec65
  Author: Adelina Tuvenie <address@hidden>
  Date:   2014-09-22 (Mon, 22 Sep 2014)

  Changed paths:
    M block/vhdx.c

  Log Message:
  -----------
  block: allow creation of fixed vhdx images

When trying to create a fixed vhd image qemu-img will return the
following error:

 qemu-img: test.vhdx: Could not create image: Cannot allocate memory

This happens because of a incorrect check in vhdx.c. Specifficaly,
in vhdx_create_bat(), after allocating memory for the BAT entry,
there is a check to determine if the allocation was unsuccsessful.
The error comes from the fact that it checks if s->bat isn't NULL,
which is true in case of succsessful allocation,  and exits with
error ENOMEM.

Signed-off-by: Adelina Tuvenie <address@hidden>
Acked-by: Kevin Wolf <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: e0bcc42ee723dcb973167658f9e67536fa009591
      
https://github.com/qemu/qemu/commit/e0bcc42ee723dcb973167658f9e67536fa009591
  Author: Stefan Weil <address@hidden>
  Date:   2014-09-22 (Mon, 22 Sep 2014)

  Changed paths:
    M hw/i386/pc.c

  Log Message:
  -----------
  pc: Add missing 'static' attribute

This fixes a warning from smatch (static code analysis).

Signed-off-by: Stefan Weil <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: 7e3d523883202396ae7ff8bafcc796c86e026adc
      
https://github.com/qemu/qemu/commit/7e3d523883202396ae7ff8bafcc796c86e026adc
  Author: Bastian Koppelmann <address@hidden>
  Date:   2014-09-22 (Mon, 22 Sep 2014)

  Changed paths:
    M include/sysemu/arch_init.h

  Log Message:
  -----------
  arch_init: Setting QEMU_ARCH enum straight

Every QEMU_ARCH is now in (1 << n) notation, instead of a mixture of decimal 
and hexadecimal.

Signed-off-by: Bastian Koppelmann <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: 17336812c7906b554765d1b48b7f1f51c5c79702
      
https://github.com/qemu/qemu/commit/17336812c7906b554765d1b48b7f1f51c5c79702
  Author: Peter Maydell <address@hidden>
  Date:   2014-09-23 (Tue, 23 Sep 2014)

  Changed paths:
    M block/vhdx.c
    M configure
    M docs/rdma.txt
    M hw/i386/pc.c
    M hw/ppc/spapr.c
    M include/sysemu/arch_init.h
    M libcacard/vcard_emul_nss.c
    M migration-rdma.c
    M qemu-char.c
    M vl.c
    M xen-hvm.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/mjt/tags/trivial-patches-2014-09-22' 
into staging

trivial patches for 2014-09-22

# gpg: Signature made Mon 22 Sep 2014 09:10:03 BST using RSA key ID A4C3D7DB
# gpg: Good signature from "Michael Tokarev <address@hidden>"
# gpg:                 aka "Michael Tokarev <address@hidden>"
# gpg:                 aka "Michael Tokarev <address@hidden>"
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 6EE1 95D1 886E 8FFB 810D  4324 457C E0A0 8044 65C5
#      Subkey fingerprint: 6F67 E18E 7C91 C5B1 5514  66A7 BEE5 9D74 A4C3 D7DB

* remotes/mjt/tags/trivial-patches-2014-09-22:
  arch_init: Setting QEMU_ARCH enum straight
  pc: Add missing 'static' attribute
  block: allow creation of fixed vhdx images
  vl: Print maxmem in hex format for error message
  configure: trivial fixes
  xen-hvm.c: Always return -1 when failure occurs in xen_hvm_init()
  rdma: Fix incorrect description in comments
  Fix typos and misspellings in comments
  qemu-char: Permit only a single "stdio" character device

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/07e2863d0271...17336812c790

reply via email to

[Prev in Thread] Current Thread [Next in Thread]