qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Tomáš Golembiovský" <tgolembi@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Michael Roth <mdroth@linux.vnet.ibm.com>,
	QEMU Developers <qemu-devel@nongnu.org>,
	Vinzenz Feenstra <vfeenstr@redhat.com>
Subject: Re: [Qemu-devel] [PULL v2 7/8] qga: Add 'guest-get-users' command
Date: Mon, 17 Jul 2017 16:02:44 +0200	[thread overview]
Message-ID: <20170717160244.0112c61e@fiorina> (raw)
In-Reply-To: <CAFEAcA8jRjEDRv0hmG1U3H=kCdBX=NoVNqCo7giCVkiwiBo+Lw@mail.gmail.com>

On Thu, 13 Jul 2017 15:56:25 +0100
Peter Maydell <peter.maydell@linaro.org> wrote:

> On 27 April 2017 at 06:46, Michael Roth <mdroth@linux.vnet.ibm.com> wrote:
> > From: Vinzenz Feenstra <vfeenstr@redhat.com>
> >
> > A command that will list all currently logged in users, and the time
> > since when they are logged in.
> >
> > Examples:
> >
> > virsh # qemu-agent-command F25 '{ "execute": "guest-get-users" }'
> > {"return":[{"login-time":1490622289.903835,"user":"root"}]}
> >
> > virsh # qemu-agent-command Win2k12r2 '{ "execute": "guest-get-users" }'
> > {"return":[{"login-time":1490351044.670552,"domain":"LADIDA",
> > "user":"Administrator"}]}
> >
> > Signed-off-by: Vinzenz Feenstra <vfeenstr@redhat.com>
> > * make g_hash_table_contains compat func inline to avoid
> >   unused warnings
> > Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
> 
> > diff --git a/qga/commands-posix.c b/qga/commands-posix.c
> > index 915df9e..ba06be4 100644
> > --- a/qga/commands-posix.c
> > +++ b/qga/commands-posix.c
> > @@ -15,6 +15,7 @@
> >  #include <sys/ioctl.h>
> >  #include <sys/wait.h>
> >  #include <dirent.h>
> > +#include <utmpx.h>
> 
> Hi. I've just noticed that this breaks the build on OpenBSD,
> which doesn't have utmpx.h or the functions it provides.
> OpenBSD is currently close to falling off our list of
> hosts we care about, but still it would be nice if we
> could do a configure check for utmpx.h and have a fallback
> 'unsupported' code path for hosts where it doesn't exist.

Hi,

I have just sent a patch that should fix this.

https://lists.nongnu.org/archive/html/qemu-devel/2017-07/msg05086.html

Could you please test if it solves the issue properly?

Thanks,

    Tomas Golembiovsky

> 
> thanks
> -- PMM
> 


-- 
Tomáš Golembiovský <tgolembi@redhat.com>

  reply	other threads:[~2017-07-17 14:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-27  5:46 [Qemu-devel] [PULL v2 0/8] qemu-ga patch queue Michael Roth
2017-04-27  5:46 ` [Qemu-devel] [PULL v2 1/8] qemu-ga: Make QGA VSS provider service run only when needed Michael Roth
2017-04-27  5:46 ` [Qemu-devel] [PULL v2 2/8] qga-win: Enable 'can-offline' field in 'guest-get-vcpus' reply Michael Roth
2017-04-27  5:46 ` [Qemu-devel] [PULL v2 3/8] qga-win: Fix a bug where qemu-ga service is stuck during stop operation Michael Roth
2017-04-27  5:46 ` [Qemu-devel] [PULL v2 4/8] qga-win: Fix Event Viewer errors caused by qemu-ga Michael Roth
2017-04-27  5:46 ` [Qemu-devel] [PULL v2 5/8] qga: Add 'guest-get-host-name' command Michael Roth
2017-04-27  5:46 ` [Qemu-devel] [PULL v2 6/8] qga: improve fsfreeze documentations Michael Roth
2017-04-27  5:46 ` [Qemu-devel] [PULL v2 7/8] qga: Add 'guest-get-users' command Michael Roth
2017-07-13 14:56   ` Peter Maydell
2017-07-17 14:02     ` Tomáš Golembiovský [this message]
2017-04-27  5:46 ` [Qemu-devel] [PULL v2 8/8] qga: Add `guest-get-timezone` command Michael Roth
2017-04-28 15:13 ` [Qemu-devel] [PULL v2 0/8] qemu-ga patch queue Stefan Hajnoczi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170717160244.0112c61e@fiorina \
    --to=tgolembi@redhat.com \
    --cc=mdroth@linux.vnet.ibm.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=vfeenstr@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).