qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] dafd32: qemu-char: Convert socket backend to


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] dafd32: qemu-char: Convert socket backend to QAPI
Date: Tue, 16 Sep 2014 17:00:08 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: dafd325dbbf6053e15f256b53942cb44103058dd
      
https://github.com/qemu/qemu/commit/dafd325dbbf6053e15f256b53942cb44103058dd
  Author: Peter Maydell <address@hidden>
  Date:   2014-09-16 (Tue, 16 Sep 2014)

  Changed paths:
    M qemu-char.c

  Log Message:
  -----------
  qemu-char: Convert socket backend to QAPI

Convert the socket char backend to the new style QAPI framework;
this allows it to return an Error ** to callers who might not
want it to print directly about socket failures.

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


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

  Changed paths:
    M util/qemu-sockets.c

  Log Message:
  -----------
  util/qemu-sockets.c: Support specifying IPv4 or IPv6 in socket_dgram()

Currently you can specify whether you want a UDP chardev backend
to be IPv4 or IPv6 using the ipv4 or ipv6 options if you use the
QemuOpts parsing code in inet_dgram_opts(). However the QMP struct
parsing code in socket_dgram() doesn't provide this flexibility
(which in turn prevents us from converting the UDP backend handling
to the new style QAPI framework).

Use the existing inet_addr_to_opts() function to convert the
remote->inet address to option strings; this handles ipv4 and
ipv6 flags as well as host and port. (It will also convert any
'to' specification, which is harmless as it is ignored in this
context.)

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


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

  Changed paths:
    M qemu-char.c

  Log Message:
  -----------
  qemu-char: Convert udp backend to QAPI

Convert the udp char backend to the new style QAPI framework.

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


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

  Changed paths:
    M include/sysemu/char.h
    M qemu-char.c

  Log Message:
  -----------
  qemu-char: Remove register_char_driver() machinery

Now that all the char backends have been converted to the QAPI
framework we can remove the machinery for handling old style
backends.

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


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

  Changed paths:
    M backends/baum.c
    M backends/msmouse.c
    M backends/testdev.c
    M include/sysemu/char.h
    M qemu-char.c
    M spice-qemu-char.c
    M ui/console.c

  Log Message:
  -----------
  qemu-char: Rename register_char_driver_qapi() to register_char_driver()

Now we have removed the legacy register_char_driver() we can
rename register_char_driver_qapi() to the more obvious and
shorter name.

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


Compare: https://github.com/qemu/qemu/compare/8af47027eb51...e4d50d47a9eb

reply via email to

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