Displaying 8 results from an estimated 8 matches for "drvt".
Did you mean:
drv
2016 Oct 03
3
[PATCH v2 0/2] New tool: virt-tail.
Nothing new in the virt-tail command itself, but the second
commit includes a simple test.
Rich.
2016 Oct 03
0
[PATCH v2 1/2] New tool: virt-tail.
...size. */
+};
+
+static int quit = 0;
+
+static void
+user_cancel (int sig)
+{
+ quit = 1;
+ ignore_value (guestfs_user_cancel (g));
+}
+
+static int
+do_tail (int argc, char *argv[], /* list of files in the guest */
+ struct drv *drvs, struct mp *mps)
+{
+ struct sigaction sa;
+ time_t drvt;
+ int first_iteration = 1;
+ int prev_file_displayed = -1;
+ CLEANUP_FREE struct follow *file = NULL;
+
+ /* Allocate storage to track each file. */
+ file = calloc (argc, sizeof (struct follow));
+
+ /* We loop until the user hits ^C. */
+ memset (&sa, 0, sizeof sa);
+ sa.sa_handler =...
2016 Oct 01
1
[PATCH] New tool: virt-tail.
This adds a new tool which does a follow operation (ie. tail -f)
on one or more log/text files inside the guest.
I've only done limited testing, but it works for me for tailing
various long-running builds inside guests which I'm doing at the
moment.
There are no tests at present.
Rich.
2016 Oct 03
0
[PATCH v3 1/2] New tool: virt-tail.
...+};
+
+static sig_atomic_t quit = 0;
+
+static void
+user_cancel (int sig)
+{
+ quit = 1;
+ ignore_value (guestfs_user_cancel (g));
+}
+
+static int
+do_tail (int argc, char *argv[], /* list of files in the guest */
+ struct drv *drvs, struct mp *mps)
+{
+ struct sigaction sa;
+ time_t drvt;
+ int first_iteration = 1;
+ int prev_file_displayed = -1;
+ CLEANUP_FREE struct follow *file = NULL;
+
+ /* Allocate storage to track each file. */
+ file = calloc (argc, sizeof (struct follow));
+
+ /* We loop until the user hits ^C. */
+ memset (&sa, 0, sizeof sa);
+ sa.sa_handler =...
2016 Oct 03
1
Re: [PATCH v2 1/2] New tool: virt-tail.
...ser_cancel (int sig)
> +{
> + quit = 1;
> + ignore_value (guestfs_user_cancel (g));
> +}
> +
> +static int
> +do_tail (int argc, char *argv[], /* list of files in the guest */
> + struct drv *drvs, struct mp *mps)
> +{
> + struct sigaction sa;
> + time_t drvt;
> + int first_iteration = 1;
> + int prev_file_displayed = -1;
> + CLEANUP_FREE struct follow *file = NULL;
> +
> + /* Allocate storage to track each file. */
> + file = calloc (argc, sizeof (struct follow));
> +
> + /* We loop until the user hits ^C. */
> + memse...
2016 Oct 03
3
[PATCH v3 0/2] New tool: virt-tail.
Since v2:
- Fix the things that Pino mentioned, except the recursion.
- Implement Windows support.
For Windows support to be sane, I had to inline the add_and_mount code.
Rich.
2018 Sep 19
0
[PATCH 2/2] Introduce a --key option in tools that accept keys
...s);
guestfs_close (g);
@@ -246,7 +252,7 @@ user_cancel (int sig)
static int
do_tail (int argc, char *argv[], /* list of files in the guest */
- struct drv *drvs, struct mp *mps)
+ struct drv *drvs, struct mp *mps, struct key_store *ks)
{
struct sigaction sa;
time_t drvt;
diff --git a/cat/virt-cat.pod b/cat/virt-cat.pod
index 327ef255e..745d4a4b6 100644
--- a/cat/virt-cat.pod
+++ b/cat/virt-cat.pod
@@ -121,6 +121,23 @@ If you have untrusted raw-format guest disk images, you should use
this option to specify the disk format. This avoids a possible
security proble...
2018 Sep 19
5
[PATCH 0/2] RFC: --key option for tools
Hi,
the following series adds a --key option in the majority of tools: this
makes it possible to pass LUKS credentials programmatically, avoid the
need to manually input them, or unsafely pass them via stdin.
Thanks,
Pino Toscano (2):
mltools: create a cmdline_options struct
Introduce a --key option in tools that accept keys
builder/cmdline.ml | 2 +-