qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/2] qom: add test tools (resend from "qom: dynamic properties")
@ 2012-02-20 22:28 Michael Roth
  2012-02-20 22:28 ` [Qemu-devel] [PATCH 1/2] qmp: make qmp.py easier to use Michael Roth
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Michael Roth @ 2012-02-20 22:28 UTC (permalink / raw)
  To: qemu-devel; +Cc: aliguori

CHANGES SINCE V2:
 - this one actually works :) QMP_SOCKET env variable wasn't being handled properly in
   the last version.

AFAICT the qom tool got dropped from Anthony's "qom: dynamic properties
and composition tree" series due to some hardcoded paths for the QMP socket.

I've since ended up adding support for user-specified paths to get them working
in my environment so I figured I'd resend to the list since I've seen others
express interest.

Only functional change for existing users would be the need to set your
QMP_SOCKET env variable to the previous default (/tmp/server.sock):

mdroth@illuin:~$ qom-set -h
environment variables:
    QMP_SOCKET=<path | addr:port>
usage:
    /home/mdroth/bin/qom-set [-h] [-s <QMP socket path | addr:port>] <path>.<property> <value>

mdroth@illuin:~$ qom-get -h
environment variables:
    QMP_SOCKET=<path | addr:port>
usage:
    /home/mdroth/bin/qom-get [-h] [-s <QMP socket path | addr:port>] <path>.<property>

mdroth@illuin:~$ qom-list -h
environment variables:
    QMP_SOCKET=<path | addr:port>
usage:
    /home/mdroth/bin/qom-list [-h] [-s <QMP socket path | addr:port>] [<path>]

mdroth@illuin:~$

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [Qemu-devel] qom: add test tools (resend from "qom: dynamic properties")
@ 2012-02-20 20:50 Michael Roth
  2012-02-20 20:50 ` [Qemu-devel] [PATCH 1/2] qmp: make qmp.py easier to use Michael Roth
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Roth @ 2012-02-20 20:50 UTC (permalink / raw)
  To: qemu-devel; +Cc: aliguori

AFAICT tell the qom tool got dropped from Anthony's "qom: dynamic properties
and composition tree" series due to some hardcoded paths for the QMP socket.

I've since ended up adding support for user-specified paths to get them working
in my environment so I figured I'd resend to the list since I've seen others
express interest.

Only functional change for existing users would be the need to set your
QMP_SOCKET env variable to the previously hard-coded path:

mdroth@illuin:~$ qom-set -h
environment variables:
    QMP_SOCKET=<path | addr:port>
usage:
    /home/mdroth/bin/qom-set [-h] [-s <QMP socket path | addr:port>] <path>.<property> <value>

mdroth@illuin:~$ qom-get -h
environment variables:
    QMP_SOCKET=<path | addr:port>
usage:
    /home/mdroth/bin/qom-get [-h] [-s <QMP socket path | addr:port>] <path>.<property>

mdroth@illuin:~$ qom-list -h
environment variables:
    QMP_SOCKET=<path | addr:port>
usage:
    /home/mdroth/bin/qom-list [-h] [-s <QMP socket path | addr:port>] [<path>]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-02-22 18:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-20 22:28 [Qemu-devel] [PATCH v2 0/2] qom: add test tools (resend from "qom: dynamic properties") Michael Roth
2012-02-20 22:28 ` [Qemu-devel] [PATCH 1/2] qmp: make qmp.py easier to use Michael Roth
2012-02-20 22:28 ` [Qemu-devel] [PATCH 2/2] qom: add test tools Michael Roth
2012-02-22  1:03   ` Andreas Färber
2012-02-22 18:54 ` [Qemu-devel] [PATCH v2 0/2] qom: add test tools (resend from "qom: dynamic properties") Anthony Liguori
  -- strict thread matches above, loose matches on Subject: below --
2012-02-20 20:50 [Qemu-devel] " Michael Roth
2012-02-20 20:50 ` [Qemu-devel] [PATCH 1/2] qmp: make qmp.py easier to use Michael Roth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).