qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 41c234: curl: The macro that you have to unco


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 41c234: curl: The macro that you have to uncomment to get ...
Date: Thu, 04 Sep 2014 06:30:05 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 41c2346716ff41df78062753128a87124f78ea29
      
https://github.com/qemu/qemu/commit/41c2346716ff41df78062753128a87124f78ea29
  Author: Richard W.M. Jones <address@hidden>
  Date:   2014-09-02 (Tue, 02 Sep 2014)

  Changed paths:
    M block/curl.c

  Log Message:
  -----------
  curl: The macro that you have to uncomment to get debugging is DEBUG_CURL.

Signed-off-by: Richard W.M. Jones <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: c5539cb4269edf15d96bd0d75594757a80a39fa5
      
https://github.com/qemu/qemu/commit/c5539cb4269edf15d96bd0d75594757a80a39fa5
  Author: Gonglei <address@hidden>
  Date:   2014-09-02 (Tue, 02 Sep 2014)

  Changed paths:
    M hw/i2c/pm_smbus.c
    M hw/i386/pc.c
    M hw/input/pckbd.c
    M hw/intc/i8259.c
    M hw/isa/apm.c
    M hw/timer/mc146818rtc.c

  Log Message:
  -----------
  Fix debug print warning

Steps:

1.enable qemu debug print, using simply scprit as below:
 grep "//#define DEBUG" * -rl | xargs sed -i "s/\/\/#define DEBUG/#define 
DEBUG/g"
2. make -j
3. get some warning:
hw/i2c/pm_smbus.c: In function 'smb_ioport_writeb':
hw/i2c/pm_smbus.c:142: warning: format '%04x' expects type 'unsigned int', but 
argument 2 has type 'hwaddr'
hw/i2c/pm_smbus.c:142: warning: format '%02x' expects type 'unsigned int', but 
argument 3 has type 'uint64_t'
hw/i2c/pm_smbus.c: In function 'smb_ioport_readb':
hw/i2c/pm_smbus.c:209: warning: format '%04x' expects type 'unsigned int', but 
argument 2 has type 'hwaddr'
hw/intc/i8259.c: In function 'pic_ioport_read':
hw/intc/i8259.c:373: warning: format '%02x' expects type 'unsigned int', but 
argument 2 has type 'hwaddr'
hw/input/pckbd.c: In function 'kbd_write_command':
hw/input/pckbd.c:232: warning: format '%02x' expects type 'unsigned int', but 
argument 2 has type 'uint64_t'
hw/input/pckbd.c: In function 'kbd_write_data':
hw/input/pckbd.c:333: warning: format '%02x' expects type 'unsigned int', but 
argument 2 has type 'uint64_t'
hw/isa/apm.c: In function 'apm_ioport_writeb':
hw/isa/apm.c:44: warning: format '%x' expects type 'unsigned int', but argument 
2 has type 'hwaddr'
hw/isa/apm.c:44: warning: format '%02x' expects type 'unsigned int', but 
argument 3 has type 'uint64_t'
hw/isa/apm.c: In function 'apm_ioport_readb':
hw/isa/apm.c:67: warning: format '%x' expects type 'unsigned int', but argument 
2 has type 'hwaddr'
hw/timer/mc146818rtc.c: In function 'cmos_ioport_write':
hw/timer/mc146818rtc.c:394: warning: format '%02x' expects type 'unsigned int', 
but argument 3 has type 'uint64_t'
hw/i386/pc.c: In function 'port92_write':
hw/i386/pc.c:479: warning: format '%02x' expects type 'unsigned int', but 
argument 2 has type 'uint64_t'

Fix them.

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


  Commit: 7d2ff422cac3e6d5dc7df9072e54bb8dfbd8b589
      
https://github.com/qemu/qemu/commit/7d2ff422cac3e6d5dc7df9072e54bb8dfbd8b589
  Author: Fam Zheng <address@hidden>
  Date:   2014-09-02 (Tue, 02 Sep 2014)

  Changed paths:
    R scripts/qtest

  Log Message:
  -----------
  scripts: Remove scripts/qtest

This is a dummy file with no user, drop it.

Signed-off-by: Fam Zheng <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: db013f81b206f19297200a78ecd02d6c2c01d383
      
https://github.com/qemu/qemu/commit/db013f81b206f19297200a78ecd02d6c2c01d383
  Author: Li Liu <address@hidden>
  Date:   2014-09-02 (Tue, 02 Sep 2014)

  Changed paths:
    M device_tree.c

  Log Message:
  -----------
  device_tree.c: redirect load_device_tree err message to stderr

Reviewed-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Li Liu <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: 508e221f2ca72871340032641ed1ee82284b4c1d
      
https://github.com/qemu/qemu/commit/508e221f2ca72871340032641ed1ee82284b4c1d
  Author: Li Liu <address@hidden>
  Date:   2014-09-02 (Tue, 02 Sep 2014)

  Changed paths:
    M device_tree.c

  Log Message:
  -----------
  device_tree.c: dump all err mesages with error_report

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


  Commit: 622fb504c402cc222f6c4b6f292d402c4d78a86e
      
https://github.com/qemu/qemu/commit/622fb504c402cc222f6c4b6f292d402c4d78a86e
  Author: Dmitry Fleytman <address@hidden>
  Date:   2014-09-02 (Tue, 02 Sep 2014)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: Add VMWare devices maintainer

Signed-off-by: Dmitry Fleytman <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: b0e90181e4d7244a9466447703acdb2cdd7abdaa
      
https://github.com/qemu/qemu/commit/b0e90181e4d7244a9466447703acdb2cdd7abdaa
  Author: Chen Fan <address@hidden>
  Date:   2014-09-02 (Tue, 02 Sep 2014)

  Changed paths:
    M numa.c

  Log Message:
  -----------
  query-memdev: fix potential memory leaks

Signed-off-by: Chen Fan <address@hidden>
Reviewed-by: Peter Crosthwaite <address@hidden>
Reviewed-by: Hu Tao <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: 976620ac4018db142d82cd42bb7774f40290ce7e
      
https://github.com/qemu/qemu/commit/976620ac4018db142d82cd42bb7774f40290ce7e
  Author: Chen Fan <address@hidden>
  Date:   2014-09-02 (Tue, 02 Sep 2014)

  Changed paths:
    M hmp.c
    M qom/object.c

  Log Message:
  -----------
  qom/object.c, hmp.c: fix string_output_get_string() memory leak

string_output_get_string() uses g_string_free(str, false) to
transfer the 'str' pointer to callers and never free it.

Signed-off-by: Chen Fan <address@hidden>
Reviewed-by: Peter Crosthwaite <address@hidden>
Reviewed-by: Hu Tao <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: ecaf54a052c357e0bacb93c3f178fed34e4821ec
      
https://github.com/qemu/qemu/commit/ecaf54a052c357e0bacb93c3f178fed34e4821ec
  Author: Chen Fan <address@hidden>
  Date:   2014-09-02 (Tue, 02 Sep 2014)

  Changed paths:
    M hmp.c
    M numa.c

  Log Message:
  -----------
  hmp: fix MemdevList memory leak

the memdev_list in hmp_info_memdev() is never freed.
so we use existent method qapi_free_MemdevList() to free it.
and also we can use qapi_free_MemdevList() to replace list loops
to clean up the memdev list in error path.

Signed-off-by: Chen Fan <address@hidden>
Reviewed-by: Peter Crosthwaite <address@hidden>
Reviewed-by: Hu Tao <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


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

  Changed paths:
    M net/slirp.c

  Log Message:
  -----------
  slirp: Honour vlan/stack in hostfwd_remove commands

The hostfwd_add and hostfwd_remove monitor commands allow the user
to optionally specify a vlan/stack tuple. hostfwd_add honours this,
but hostfwd_remove does not (it looks up the tuple but then ignores
the SlirpState it has looked up and always uses the first stack
in the list anyway). Correct this to honour what the user requested.

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


  Commit: 01eb313907dda97313b8fea62e5632fca64f069c
      
https://github.com/qemu/qemu/commit/01eb313907dda97313b8fea62e5632fca64f069c
  Author: Peter Maydell <address@hidden>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M MAINTAINERS
    M block/curl.c
    M device_tree.c
    M hmp.c
    M hw/i2c/pm_smbus.c
    M hw/i386/pc.c
    M hw/input/pckbd.c
    M hw/intc/i8259.c
    M hw/isa/apm.c
    M hw/timer/mc146818rtc.c
    M net/slirp.c
    M numa.c
    M qom/object.c
    R scripts/qtest

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

trivial patches for 2014-09-03

# gpg: Signature made Wed 03 Sep 2014 06:53:42 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-03:
  slirp: Honour vlan/stack in hostfwd_remove commands
  hmp: fix MemdevList memory leak
  qom/object.c, hmp.c: fix string_output_get_string() memory leak
  query-memdev: fix potential memory leaks
  MAINTAINERS: Add VMWare devices maintainer
  device_tree.c: dump all err mesages with error_report
  device_tree.c: redirect load_device_tree err message to stderr
  scripts: Remove scripts/qtest
  Fix debug print warning
  curl: The macro that you have to uncomment to get debugging is DEBUG_CURL.

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


Compare: https://github.com/qemu/qemu/compare/b27e37d4ce4e...01eb313907dd

reply via email to

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