Displaying 20 results from an estimated 57 matches for "342,6".
Did you mean:
42,6
2011 Dec 02
6
[PATCH] tools/firmware: remove "_PS0/3" Method
...device''s status, e.g. enabled or removed
- * Other methods are optional:
- * _PS0/3: put them here for debug purpose
*
* Eject button would generate a general-purpose event, then the
* control method for this event uses Notify() to inform OSPM which @@ -344,13 +342,6 @@
stmt("Name", "_ADR, 0x%08x", ((slot & ~7) << 13) | (slot & 7));
/* _SUN == dev */
stmt("Name", "_SUN, 0x%08x", slot >> 3);
- push_block("Method", "_PS0, 0");
-...
2002 Feb 24
2
Write-only option
...0},
{"list", P_BOOL, P_LOCAL, &sDefault.list, NULL, 0},
{"use chroot", P_BOOL, P_LOCAL, &sDefault.use_chroot, NULL, 0},
{"ignore nonreadable",P_BOOL, P_LOCAL, &sDefault.ignore_nonreadable, NULL, 0},
@@ -342,6 +345,7 @@
FN_LOCAL_STRING(lp_path, path)
FN_LOCAL_STRING(lp_lock_file, lock_file)
FN_LOCAL_BOOL(lp_read_only, read_only)
+FN_LOCAL_BOOL(lp_write_only, write_only)
FN_LOCAL_BOOL(lp_list, list)
FN_LOCAL_BOOL(lp_use_chroot, use_chroot)
FN_LOCAL_BOOL(lp_transfer_logging, transfer_logging)
diff...
2018 Feb 28
0
[PATCH] lib: Don't abort if a signal handler calls exit(2) during a guestfs_* function.
...**gg;
- int r;
-
- if (g->state == NO_HANDLE) {
- /* Not safe to call ANY callbacks here, so ... */
- fprintf (stderr, _("guestfs_close: called twice on the same handle\n"));
- return;
- }
/* Remove the handle from the handles list. */
if (g->close_on_exit) {
@@ -342,6 +335,45 @@ guestfs_close (guestfs_h *g)
gl_lock_unlock (handles_lock);
}
+ do_close (g, 0);
+}
+
+static void
+do_close (guestfs_h *g, int ignore_recursive)
+{
+ struct hv_param *hp, *hp_next;
+ int r;
+
+ if (g->state == NO_HANDLE) {
+ /* Not safe to call ANY callbacks here,...
2008 Sep 16
0
[PATCH] Add set_max_wildcard_expansion method to the queryparser.
...;get_database();
vector<Query> subqs;
list<string>::const_iterator piter;
+ long expansion_count = 0;
+ long max = state_->get_max_wildcard_expansion();
for (piter = prefixes.begin(); piter != prefixes.end(); ++piter) {
string root = *piter;
root += name;
@@ -342,6 +348,9 @@ Term::as_wildcarded_query(State * state_) const
while (t != db.allterms_end(root)) {
subqs.push_back(Query(*t, 1, pos));
++t;
+ if (max != 0 && ++expansion_count > max) {
+ throw Xapian::InvalidOperationError("Wildcard expands too...
2009 May 28
0
[PATCH server] Use qpid for migration and add more debugging to taskomatic.
...'storagePool' => pool.object_id)
raise "Unable to find volume #{volume_name} attached to pool #{pool.name}." unless volume
+ @logger.debug "Verified volume of pool #{volume.path}"
+
storagedevs << volume.path
end
@@ -342,6 +357,8 @@ class TaskOmatic
volumes = []
volumes += db_vm.storage_volumes
volumes << image_volume if image_volume
+
+ @logger.debug("Connecting volumes: #{volumes}")
storagedevs = connect_storage_pools(node, volumes)
# determine if vm has been assigned...
2019 Jun 17
0
[PATCH 10/25] memremap: lift the devmap_enable manipulation into devm_memremap_pages
...p.c | 57 ++++++++++++++++++++++++++-----------------
mm/hmm.c | 2 --
4 files changed, 39 insertions(+), 53 deletions(-)
diff --git a/drivers/nvdimm/pmem.c b/drivers/nvdimm/pmem.c
index 469a0f5b3380..85364c59c607 100644
--- a/drivers/nvdimm/pmem.c
+++ b/drivers/nvdimm/pmem.c
@@ -342,11 +342,6 @@ static void pmem_release_disk(void *__pmem)
put_disk(pmem->disk);
}
-static void pmem_release_pgmap_ops(void *__pgmap)
-{
- dev_pagemap_put_ops();
-}
-
static void pmem_pagemap_page_free(struct page *page, void *data)
{
wake_up_var(&page->_refcount);
@@ -358,16 +353,...
2001 Sep 30
0
Exclude sets generated with -C
...y("add_exclude_line");
for (tok=get_exclude_tok(p); tok; tok=get_exclude_tok(NULL))
- add_exclude(tok, 0);
+ add_exclude_list(tok, list, 0);
free(p);
+}
+
+void add_exclude_line(char *p)
+{
+ add_exclude_line_to_list(p, &exclude_list);
}
void add_include_line(char *p)
@@ -342,6 +364,35 @@
free(p);
}
+/* Include all entries from fname, which is a CVS/Entries file, into list */
+void add_cvs_entries(char *fname, struct exclude_struct ***list)
+{
+ char line[MAXPATHLEN];
+ FILE *f = fopen(fname,"r");
+ if (f) {
+ while (fgets(line,MAXPATHLEN,f)) {
+ int l...
2016 May 17
2
[PATCH 0/2] Use -bios bios-fast.bin where supported.
NOTE: Not for upstream, yet.
This depends on 3 non-upstream patches.
- The qemu rework in libguestfs, which in turn depends on what
Pino is up to.
- Support for '-L ?' in qemu:
https://lists.gnu.org/archive/html/qemu-devel/2016-05/threads.html#02596
- Support for bios-fast.bin in qemu:
https://lists.gnu.org/archive/html/qemu-devel/2016-05/threads.html#02408
This commit
2018 Feb 04
0
[PATCH 3/3] OpenUPS: fix current calculations
...for input current calculation */
+ i_ltc = value * cdischarge_scale;
+
+ /* Output current = Power-in * Efficiency / Vout */
+ i_out = v_ltc * i_ltc * .965 / v_out;
+
+ snprintf(openups_scratch_buf, sizeof(openups_scratch_buf), "%.3f", i_out);
return openups_scratch_buf;
}
@@ -304,7 +342,7 @@ static hid_info_t openups_hid2nut[] = {
/* Battery */
{"battery.type", 0, 0, "UPS.PowerSummary.iDeviceChemistry", NULL, "%s", HU_FLAG_STATIC, stringid_conversion},
{"battery.mfr.date", 0, 0, "UPS.PowerSummary.iOEMInformation", NULL, "...
2002 Mar 28
1
[PATCH] Feature addition: user access control per auth method
...sHostbasedUsesNameFromPacketOnly, sClientAliveInterval,
sClientAliveCountMax, sAuthorizedKeysFile, sAuthorizedKeysFile2,
- sDeprecated
+ sDeprecated, sPubkeyAllowUsers, sPubkeyDenyUsers,
+ sPubkeyAllowGroups, sPubkeyDenyGroups
} ServerOpCodes;
/* Textual representation of the tokens. */
@@ -342,6 +347,10 @@
{ "clientalivecountmax", sClientAliveCountMax },
{ "authorizedkeysfile", sAuthorizedKeysFile },
{ "authorizedkeysfile2", sAuthorizedKeysFile2 },
+ { "pubkeyallowusers", sPubkeyAllowUsers },
+ { "pubkeydenyusers", sPubkeyDenyUsers...
2019 Aug 03
5
[nbdkit PATCH 0/3] More responsive shutdown
We noticed while writing various libnbd tests that when the delay
filter is in use, there are scenarios where we had to resort to
SIGKILL to get rid of nbdkit, because it was non-responsive to SIGINT.
I'm still trying to figure out the best way to add testsuite coverage
of this, but already proved to myself that it works from the command
line, under two scenarios that both used to cause long
2017 Mar 03
1
[PATCH] rescue: Implement --mount and -i options.
Depends on the previous 5 patches that modified virt-rescue
to work without direct mode:
https://www.redhat.com/archives/libguestfs/2017-March/msg00017.html
Rich.
2020 Jul 24
3
[PATCH v2] v2v: fix UEFI bootloader for linux guests
...onfig_file : unit -> string
end
(* Helper function for SUSE: remove (hdX,X) prefix from a path. *)
@@ -184,6 +185,9 @@ object
loop paths;
g#aug_save ()
+
+ method get_config_file () =
+ grub_config
end
(** The method used to get and set the default kernel in Grub2. *)
@@ -342,6 +346,9 @@ object (self)
method update () =
ignore (g#command [| grub2_mkconfig_cmd; "-o"; grub_config |])
+
+ method get_config_file () =
+ grub_config
end
(* Helper type used in detect_bootloader. *)
diff --git a/v2v/linux_bootloaders.mli b/v2v/linux_bootloaders.mli
i...
2015 May 06
3
[PATCH 0/3] p2v: Add Configure Network button (RHBZ#1167921).
https://bugzilla.redhat.com/show_bug.cgi?id=1167921
2002 Dec 18
2
patch for openssh3.5p1 - adds logging option
...);
exit(1);
}
+ if(logfile != NULL) {
+ logf = fopen(logfile,"a");
+ if(logf == NULL) {
+ fprintf(stderr,"unable to open logfile \"%s\" for"
+ " writing\n",logfile);
+ exit(1);
+ }
+ } else {
+ logf = NULL;
+ }
}
#define MSGBUFSIZ 1024
@@ -342,6 +356,8 @@
char fmtbuf[MSGBUFSIZ];
char *txt = NULL;
int pri = LOG_INFO;
+ time_t t;
+ char *tm;
if (level > log_level)
return;
@@ -393,4 +409,11 @@
syslog(pri, "%.500s", msgbuf);
closelog();
}
+ if(logf != NULL) {
+ time(&t);
+ tm = ctime(&t);
+ tm[str...
2019 Aug 03
0
[nbdkit PATCH 3/3] server: Add and use nbdkit_nanosleep
...ic.c | 61 +++++++++++++++++++++++++++++++++++++++++
server/nbdkit.syms | 1 +
7 files changed, 99 insertions(+), 17 deletions(-)
diff --git a/docs/nbdkit-plugin.pod b/docs/nbdkit-plugin.pod
index 9510253f..f36778cf 100644
--- a/docs/nbdkit-plugin.pod
+++ b/docs/nbdkit-plugin.pod
@@ -342,6 +342,34 @@ and returns C<NULL>.
The returned string must be freed by the caller.
+=head2 C<nbdkit_nanosleep>
+
+ int nbdkit_nanosleep (unsigned sec, unsigned nsec);
+
+The utility function C<nbdkit_nanosleep> suspends the current thread,
+and returns 0 if it slept at least as...
2019 Aug 02
0
[nbdkit PATCH v2 15/17] sh: Enable parallel thread model, when possible
...efile.am
index 8b8a6557..3d78e7a2 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -91,6 +91,7 @@ EXTRA_DIST = \
test-offset-extents.sh \
test-parallel-file.sh \
test-parallel-nbd.sh \
+ test-parallel-sh.sh \
test-partition1.sh \
test-partition2.sh \
test-partitioning1.sh \
@@ -342,6 +343,7 @@ file-data: generate-file-data.sh
TESTS += \
test-parallel-file.sh \
test-parallel-nbd.sh \
+ test-parallel-sh.sh \
$(NULL)
# Most in-depth tests need libguestfs, since that is a convenient way to
diff --git a/tests/test-dump-plugin.sh b/tests/test-dump-plugin.sh
index 982d5062....
2014 Apr 30
1
[PATCH 1/2] nouveau: remove cb_dirty, it's never used
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
src/gallium/drivers/nouveau/nouveau_buffer.c | 4 +---
src/gallium/drivers/nouveau/nouveau_context.h | 1 -
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/gallium/drivers/nouveau/nouveau_buffer.c b/src/gallium/drivers/nouveau/nouveau_buffer.c
index e308ff4..904e2cc 100644
---
2019 Aug 02
2
Re: [nbdkit PATCH v2 15/17] sh: Enable parallel thread model, when possible
...ts/Makefile.am
> +++ b/tests/Makefile.am
> @@ -91,6 +91,7 @@ EXTRA_DIST = \
> test-offset-extents.sh \
> test-parallel-file.sh \
> test-parallel-nbd.sh \
> + test-parallel-sh.sh \
> test-partition1.sh \
> test-partition2.sh \
> test-partitioning1.sh \
> @@ -342,6 +343,7 @@ file-data: generate-file-data.sh
> TESTS += \
> test-parallel-file.sh \
> test-parallel-nbd.sh \
> + test-parallel-sh.sh \
> $(NULL)
>
> # Most in-depth tests need libguestfs, since that is a convenient way to
> diff --git a/tests/test-dump-plugin.sh b/t...
2004 Apr 10
0
patches for copying atimes
...;
do_chmod(fullpath, st.st_mode);
}
Index: batch.c
===================================================================
RCS file: /cvsroot/rsync/batch.c,v
retrieving revision 1.31
diff -u -w -r1.31 batch.c
--- batch.c 6 Mar 2004 07:45:52 -0000 1.31
+++ batch.c 10 Apr 2004 23:28:35 -0000
@@ -342,6 +342,8 @@
rprintf(FINFO, "flist->flags=%#x\n", fptr[i]->flags);
rprintf(FINFO, "flist->modtime=%#lx\n",
(long unsigned) fptr[i]->modtime);
+ rprintf(FINFO, "flist->atime=%#lx\n",
+ (long unsigned) fptr[i]->atime);
rprintf(FINFO, &quo...