Displaying 20 results from an estimated 2293 matches for "drv".
Did you mean:
dev
2015 Jun 18
1
[PATCH] error log: keep more calloc and its error messages match
...| 6 +++---
11 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/cat/cat.c b/cat/cat.c
index 5a438ce..82f0055 100644
--- a/cat/cat.c
+++ b/cat/cat.c
@@ -191,7 +191,7 @@ main (int argc, char *argv[])
access (argv[optind], F_OK) == 0) { /* simulate -a option */
drv = calloc (1, sizeof (struct drv));
if (!drv) {
- perror ("malloc");
+ perror ("calloc");
exit (EXIT_FAILURE);
}
drv->type = drv_a;
@@ -205,7 +205,7 @@ main (int argc, char *argv[])
} else { /* sim...
2017 Apr 28
2
[PATCH] common/options: Change drv struct to store drive index instead of device name.
...dex 7ae8adf..26f77fd 100644
--- a/align/scan.c
+++ b/align/scan.c
@@ -236,7 +236,7 @@ main (int argc, char *argv[])
error (EXIT_FAILURE, 0, _("--uuid option cannot be used with -a or -d"));
/* Add domains/drives from the command line (for a single guest). */
- add_drives (drvs, 'a');
+ add_drives (drvs, 0);
if (guestfs_launch (g) == -1)
exit (EXIT_FAILURE);
diff --git a/cat/cat.c b/cat/cat.c
index 9fa8b4f..990fc90 100644
--- a/cat/cat.c
+++ b/cat/cat.c
@@ -236,7 +236,7 @@ main (int argc, char *argv[])
}
/* Add drives, inspect and mount....
2013 Mar 15
0
[PATCH] lib: Add direct support for the NBD (Network Block Device) protocol.
...bool use_cache_none)
+create_drive_file (guestfs_h *g, const char *path,
+ bool readonly, const char *format,
+ const char *iface, const char *name,
+ const char *disk_label,
+ bool use_cache_none)
{
struct drive *drv = safe_malloc (g, sizeof (struct drive));
- drv->path = safe_strdup (g, path);
+ drv->protocol = drive_protocol_file;
+ drv->u.path = safe_strdup (g, path);
+
drv->readonly = readonly;
drv->format = format ? safe_strdup (g, format) : NULL;
drv->iface = iface ? safe_s...
2011 Feb 26
2
[PATCH 6/6] Staging: hv: Cleanup hyperv_driver variable names
The title says it all.
Signed-off-by: K. Y. Srinivasan <kys at microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz at microsoft.com>
Signed-off-by: Hank Janssen <hjanssen at microsoft.com>
---
drivers/staging/hv/blkvsc_drv.c | 46 +++++++++++++++---------------
drivers/staging/hv/netvsc_drv.c | 44 +++++++++++++++---------------
drivers/staging/hv/storvsc_drv.c | 36 ++++++++++++------------
drivers/staging/hv/vmbus.h | 4 +-
drivers/staging/hv/vmbus_drv.c | 56 +++++++++++++++++++----------------...
2011 Feb 26
2
[PATCH 6/6] Staging: hv: Cleanup hyperv_driver variable names
The title says it all.
Signed-off-by: K. Y. Srinivasan <kys at microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz at microsoft.com>
Signed-off-by: Hank Janssen <hjanssen at microsoft.com>
---
drivers/staging/hv/blkvsc_drv.c | 46 +++++++++++++++---------------
drivers/staging/hv/netvsc_drv.c | 44 +++++++++++++++---------------
drivers/staging/hv/storvsc_drv.c | 36 ++++++++++++------------
drivers/staging/hv/vmbus.h | 4 +-
drivers/staging/hv/vmbus_drv.c | 56 +++++++++++++++++++----------------...
2010 Feb 23
1
yum Transaction Check Error: re: nvidia conflicts
...report line below) doesn't
find anything.
This is a server (console is text only, no GUI), so we may not need
x11 nor nvidia, I dunno for sure.
Thanks in advance for your thoughts.
kind regards/ldv
Transaction Check Error: file /usr/bin/nvidia-bug-report.sh from
install of dkms-nvidia-x11-drv-185.18.14-1.nodist.rf conflicts with
file from package nvidia-x11-drv-96xx-1.0.9631-1.nodist.rf
file /usr/bin/nvidia-settings from install of
dkms-nvidia-x11-drv-185.18.14-1.nodist.rf conflicts with file from
package nvidia-x11-drv-96xx-1.0.9631-1.nodist.rf
file /usr/lib64/nvidia/libGL.so from...
2008 Oct 04
0
Attributes of top level environments clobbered (was Re: [R] possible bug in function 'var' in R 2.7.2?)
...to install for CentOS5?
>> Thanks a lot for any help.
>> Shantanu
>>
>> Installed Packages
>> xorg-x11-apps.x86_64 7.1-4.0.1.el5 installed
>> xorg-x11-drivers.x86_64 7.1-4.1.el5 installed
>> xorg-x11-drv-acecad.x86_64 1.1.0-2.1 installed
>> xorg-x11-drv-aiptek.x86_64 1.0.1-2 installed
>> xorg-x11-drv-ast.x86_64 0.81.0-3 installed
>> xorg-x11-drv-ati.x86_64 6.6.3-3.13.el5...
2011 Jun 10
14
Wine64 + nvidia please help
i tried patch-wine-nvidia.sh but no luck. nvidia-xsettings says i'm not using an nvidia driver, i have nvidia.ko loaded and running, my xorg.conf says driver "nv". I'm not sure what the correct nvidia driver i should be using..I got SLi: True in xorg.conf. I tried using patch-wine-nvidia.sh but no luck. I have all the necessary .so files copied into /usr/lib32 and
2020 Feb 11
1
[common PATCH] options: add '--blocksize' option for C-based tools
...(+), 52 deletions(-)
diff --git a/options/options.c b/options/options.c
index fe63da9..63221ea 100644
--- a/options/options.c
+++ b/options/options.c
@@ -49,7 +49,8 @@
* Handle the guestfish I<-a> option on the command line.
*/
void
-option_a (const char *arg, const char *format, struct drv **drvsp)
+option_a (const char *arg, const char *format, int blocksize,
+ struct drv **drvsp)
{
struct uri uri;
struct drv *drv;
@@ -69,6 +70,7 @@ option_a (const char *arg, const char *format, struct drv **drvsp)
drv->type = drv_a;
drv->a.filename = uri.path;
d...
2020 Feb 13
1
[common PATCH v4 0/1] options: add '--blocksize' option for C-based tools
From: Nikolay Ivanets <stenavin@gmail.com>
v4 fixes issues found during code review:
- whitespace-change-only hunks are removed
- options are alphabetically orderred now
v3 is just a spelling correction spotted by Eric Blake
https://www.redhat.com/archives/libguestfs/2020-February/msg00111.html
In v2 I've moved '--blocksize' parameter description into the separate
file called
2014 Jan 16
3
[PATCH 0/2] Don't use snapshot=on
QEMU upstream has broken snapshot=on ... again.
These two patches stop using it entirely. Instead we run
'qemu-img create' to create overlay disks as required.
Note that the libvirt and UML backends were already doing this: The
libvirt backend because <transient/> has never worked, and the UML
backend was running uml_mkcow because the UML-equivalent syntax of
snapshot=on was
2020 Feb 24
3
[PATCH commit] options: Compile blocksize code conditionally.
...t c33e0036c70ce68d40df92e4a6c0423e136e005c
---
options/options.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/options/options.c b/options/options.c
index 63221ea..abdcbae 100644
--- a/options/options.c
+++ b/options/options.c
@@ -140,10 +140,12 @@ add_drives_handle (guestfs_h *g, struct drv *drv, size_t drive_index)
ad_optargs.bitmask |= GUESTFS_ADD_DRIVE_OPTS_DISCARD_BITMASK;
ad_optargs.discard = drv->a.discard;
}
+#ifdef GUESTFS_ADD_DRIVE_OPTS_BLOCKSIZE_BITMASK
if (drv->a.blocksize) {
ad_optargs.bitmask |= GUESTFS_ADD_DRIVE_OPTS_BLOCKSI...
2020 Feb 12
0
[common PATCH v2 1/1] options: add '--blocksize' option for C-based tools
...s_add_drive_opts>.
diff --git a/options/options.c b/options/options.c
index fe63da9..63221ea 100644
--- a/options/options.c
+++ b/options/options.c
@@ -49,7 +49,8 @@
* Handle the guestfish I<-a> option on the command line.
*/
void
-option_a (const char *arg, const char *format, struct drv **drvsp)
+option_a (const char *arg, const char *format, int blocksize,
+ struct drv **drvsp)
{
struct uri uri;
struct drv *drv;
@@ -69,6 +70,7 @@ option_a (const char *arg, const char *format, struct drv **drvsp)
drv->type = drv_a;
drv->a.filename = uri.path;
d...
2019 Nov 06
4
printer only prints one page, if anything
...> Have you tried adding the Brother CUPS and/or generic LPR software?
>
> https://support.brother.com/g/b/downloadtop.aspx?c=us&lang=en&prod=hll2360dw_us
I've been trying to folow directions, but no go.
The bad ELF interpreter really through me for a loop:
[root at localhost drv]# rpm -ihv --nodeps ~hennebry/Downloads/*.rpm
Preparing... ################################# [100%]
Updating / installing...
1:hll2360dcupswrapper-3.2.0-1 ################################# [100%]
lpadmin -p HLL2360D -E -v usb://Brother/HL-L2360D%20series?serial=U63...
2020 Feb 12
1
[common PATCH v3 0/1] options: add '--blocksize' option for C-based tools
From: Nikolay Ivanets <stenavin@gmail.com>
v3 is just a spelling correction spotted by Eric Blake
In v2 I've moved '--blocksize' parameter description into the separate
file called blocksize-option.pod so we can include it everywhere we need
similar to key-option.pod.
https://www.redhat.com/archives/libguestfs/2020-February/msg00099.html
v1 was here:
2019 Sep 14
2
conflicts in updating to CR repo
...e.
So now when doing yum update (with CR enabled) I get this long list
of dependency issues regarding the nvidia packages. I don't see any
reason to switch to the rpmfusion packages, elrepo seems to do a good
job of packaging and keeping them up to date:
--> Processing Dependency: xorg-x11-drv-nvidia-390xx-libs(x86-64) = 3:390.129-1.el7 for package: 3:xorg-x11-drv-nvidia-390xx-390.129-1.el7.x86_64
--> Processing Dependency: nvidia-settings-390xx(x86-64) = 390.129 for package: 3:xorg-x11-drv-nvidia-390xx-390.129-1.el7.x86_64
--> Processing Dependency: libnvidia-tls.so.390.129()(64bi...
2019 Jan 11
1
Yum excluding packages I need
...66-1.el7_5.elrepo.x86_64
[nvidia]: excluding kmod-nvidia-410.73-1.el7_5.elrepo.x86_64
[nvidia]: excluding kmod-nvidia-410.73-2.el7_6.elrepo.x86_64
[nvidia]: excluding kmod-nvidia-410.78-1.el7_6.elrepo.x86_64
[nvidia]: excluding kmod-nvidia-410.93-1.el7_6.elrepo.x86_64
[nvidia]: excluding nvidia-x11-drv-410.66-1.el7_5.elrepo.x86_64
[nvidia]: excluding nvidia-x11-drv-410.73-1.el7_5.elrepo.x86_64
[nvidia]: excluding nvidia-x11-drv-410.78-1.el7_6.elrepo.x86_64
[nvidia]: excluding nvidia-x11-drv-410.78-2.el7_6.elrepo.x86_64
[nvidia]: excluding nvidia-x11-drv-410.93-1.el7_6.elrepo.x86_64
[nvidia]: excl...
2014 Sep 22
1
[PATCH] virtio: unify config_changed handling
...c/card/mic_virtio.c
@@ -462,16 +462,12 @@ static void mic_handle_config_change(struct mic_device_desc __iomem *d,
struct mic_device_ctrl __iomem *dc
= (void __iomem *)d + mic_aligned_desc_size(d);
struct mic_vdev *mvdev = (struct mic_vdev *)ioread64(&dc->vdev);
- struct virtio_driver *drv;
if (ioread8(&dc->config_change) != MIC_VIRTIO_PARAM_CONFIG_CHANGED)
return;
dev_dbg(mdrv->dev, "%s %d\n", __func__, __LINE__);
- drv = container_of(mvdev->vdev.dev.driver,
- struct virtio_driver, driver);
- if (drv->config_changed)
- drv->config_changed(...
2014 Sep 22
1
[PATCH] virtio: unify config_changed handling
...c/card/mic_virtio.c
@@ -462,16 +462,12 @@ static void mic_handle_config_change(struct mic_device_desc __iomem *d,
struct mic_device_ctrl __iomem *dc
= (void __iomem *)d + mic_aligned_desc_size(d);
struct mic_vdev *mvdev = (struct mic_vdev *)ioread64(&dc->vdev);
- struct virtio_driver *drv;
if (ioread8(&dc->config_change) != MIC_VIRTIO_PARAM_CONFIG_CHANGED)
return;
dev_dbg(mdrv->dev, "%s %d\n", __func__, __LINE__);
- drv = container_of(mvdev->vdev.dev.driver,
- struct virtio_driver, driver);
- if (drv->config_changed)
- drv->config_changed(...
2014 Mar 12
3
Re: [PATCH v2 03/18] New API parameter: Add discard parameter to guestfs_add_drive_opts.
...st char *format,
> const char *iface, const char *name,
> - const char *disk_label, const char *cachemode)
> + const char *disk_label, const char *cachemode,
> + enum discard discard)
> {
> struct drive *drv = safe_calloc (g, 1, sizeof *drv);
>
(and others)
It seems like these functions, albeit internal and private to this
file, could need some help in avoid the over-long list of parameters,
which all need to be changed every time there's an argument change
(just like now).
I'll do a sma...