search for: 230,6

Displaying 20 results from an estimated 137 matches for "230,6".

Did you mean: 20,6
2020 Mar 10
2
[PATCH virt-v2v] v2v: Use LIBGUESTFS_CFLAGS/LIBS when compiling and linking.
...file.am b/v2v/Makefile.am index 2a196d45d..104420d13 100644 --- a/v2v/Makefile.am +++ b/v2v/Makefile.am @@ -197,6 +197,7 @@ virt_v2v_CPPFLAGS = \ -I$(top_srcdir)/lib virt_v2v_CFLAGS = \ $(WARN_CFLAGS) $(WERROR_CFLAGS) \ + $(LIBGUESTFS_CFLAGS) \ $(LIBVIRT_CFLAGS) \ $(LIBOSINFO_CFLAGS) @@ -230,6 +231,7 @@ endif OCAMLCLIBS = \ -lqemuopts \ + $(LIBGUESTFS_LIBS) \ $(LIBVIRT_LIBS) \ $(LIBXML2_LIBS) \ $(JANSSON_LIBS) \ -- 2.24.1
2006 May 08
1
create_dev and raid
...02:07:35.000000000 -0500 @@ -222,7 +222,6 @@ char *devname; mdu_disk_info_t dinfo; char name[16]; + struct stat st; dev_minor = md_setup_args[ent].minor; partitioned = md_setup_args[ent].partitioned; @@ -231,8 +230,6 @@ snprintf(name, sizeof name, "/dev/md%s%d", partitioned?"_d":"", dev_minor); + if (!stat(name,&st)) continue; + if (partitioned) dev = makedev(mdp_major(), dev_minor <&l...
2011 Jun 15
3
[PATCH] virtio-net: per cpu 64 bit stats
...eue_get_buf(vi->rvq, &len); if (!page) { pr_debug("%s: rx error: %d buffers missing\n", @@ -217,6 +228,7 @@ static int receive_mergeable(struct virt skb->dev->stats.rx_length_errors++; return -EINVAL; } + if (len > PAGE_SIZE) len = PAGE_SIZE; @@ -230,6 +242,7 @@ static int receive_mergeable(struct virt static void receive_buf(struct net_device *dev, void *buf, unsigned int len) { struct virtnet_info *vi = netdev_priv(dev); + struct virtnet_stats __percpu *stats = this_cpu_ptr(vi->stats); struct sk_buff *skb; struct page *page; stru...
2011 Jun 15
3
[PATCH] virtio-net: per cpu 64 bit stats
...eue_get_buf(vi->rvq, &len); if (!page) { pr_debug("%s: rx error: %d buffers missing\n", @@ -217,6 +228,7 @@ static int receive_mergeable(struct virt skb->dev->stats.rx_length_errors++; return -EINVAL; } + if (len > PAGE_SIZE) len = PAGE_SIZE; @@ -230,6 +242,7 @@ static int receive_mergeable(struct virt static void receive_buf(struct net_device *dev, void *buf, unsigned int len) { struct virtnet_info *vi = netdev_priv(dev); + struct virtnet_stats __percpu *stats = this_cpu_ptr(vi->stats); struct sk_buff *skb; struct page *page; stru...
2011 Oct 11
5
[PATCH] libxl: reimplement buffer for bootloading and drop data if buffer is full
...xenconsoled_prod -= read_ahead; + } ret = read(xenconsoled_fd, &xenconsoled_buf[xenconsoled_prod], XENCONSOLED_BUF_SIZE - xenconsoled_prod); if (ret < 0 && errno != EIO && errno != EAGAIN) goto out_err; @@ -230,6 +259,12 @@ static char * bootloader_interact(libxl_ /* Input from bootloader, read bootloader_fd, write xenconsoled_fd */ if (FD_ISSET(bootloader_fd, &rsel)) { + if (bootloader_prod == BOOTLOADER_BUF_SIZE) { + if (ioctl(bootloader_fd, FIONREAD, &a...
2015 Sep 24
2
[PATCH v2] Fix AF_PACKET ABI breakage in 4.2
...s effectively just a constant. > I'm still wondering if it'd be nicer just to use (__force u16) instead. > > diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c > index 7b8e39a..aa4b15c 100644 > --- a/net/packet/af_packet.c > +++ b/net/packet/af_packet.c > @@ -230,6 +230,8 @@ struct packet_skb_cb { > } sa; > }; > > +#define vio_le() virtio_legacy_is_little_endian() > + > #define PACKET_SKB_CB(__skb) ((struct packet_skb_cb *)((__skb)->cb)) > > #define GET_PBDQC_FROM_RB(x) ((struct tpacket_kbdq_core *)(&(x)->prb_bdqc)...
2015 Sep 24
2
[PATCH v2] Fix AF_PACKET ABI breakage in 4.2
...s effectively just a constant. > I'm still wondering if it'd be nicer just to use (__force u16) instead. > > diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c > index 7b8e39a..aa4b15c 100644 > --- a/net/packet/af_packet.c > +++ b/net/packet/af_packet.c > @@ -230,6 +230,8 @@ struct packet_skb_cb { > } sa; > }; > > +#define vio_le() virtio_legacy_is_little_endian() > + > #define PACKET_SKB_CB(__skb) ((struct packet_skb_cb *)((__skb)->cb)) > > #define GET_PBDQC_FROM_RB(x) ((struct tpacket_kbdq_core *)(&(x)->prb_bdqc)...
2023 Mar 07
1
[V2V PATCH v2 5/5] v2v, in-place: introduce --block-driver command line option
...631..3b2eafbd 100644 --- a/v2v/v2v.ml +++ b/v2v/v2v.ml @@ -48,6 +48,7 @@ let rec main () = let bandwidth = ref None in let bandwidth_file = ref None in + let block_driver = ref None in let input_conn = ref None in let input_format = ref None in let input_password = ref None in @@ -230,6 +231,8 @@ let rec main () = s_"Set bandwidth dynamically from file"; [ S 'b'; L"bridge" ], Getopt.String ("in:out", add_bridge), s_"Map bridge ?in? to ?out?"; + [ L"block-driver" ], Getop...
2023 Mar 10
2
[V2V PATCH v3 5/6] v2v, in-place: introduce --block-driver command line option
...631..3b2eafbd 100644 --- a/v2v/v2v.ml +++ b/v2v/v2v.ml @@ -48,6 +48,7 @@ let rec main () = let bandwidth = ref None in let bandwidth_file = ref None in + let block_driver = ref None in let input_conn = ref None in let input_format = ref None in let input_password = ref None in @@ -230,6 +231,8 @@ let rec main () = s_"Set bandwidth dynamically from file"; [ S 'b'; L"bridge" ], Getopt.String ("in:out", add_bridge), s_"Map bridge ?in? to ?out?"; + [ L"block-driver" ], Getop...
2020 Mar 11
0
Re: [PATCH virt-v2v] v2v: Use LIBGUESTFS_CFLAGS/LIBS when compiling and linking.
...0644 > --- a/v2v/Makefile.am > +++ b/v2v/Makefile.am > @@ -197,6 +197,7 @@ virt_v2v_CPPFLAGS = \ > -I$(top_srcdir)/lib > virt_v2v_CFLAGS = \ > $(WARN_CFLAGS) $(WERROR_CFLAGS) \ > + $(LIBGUESTFS_CFLAGS) \ > $(LIBVIRT_CFLAGS) \ > $(LIBOSINFO_CFLAGS) > > @@ -230,6 +231,7 @@ endif > > OCAMLCLIBS = \ > -lqemuopts \ > + $(LIBGUESTFS_LIBS) \ > $(LIBVIRT_LIBS) \ > $(LIBXML2_LIBS) \ > $(JANSSON_LIBS) \ LGTM. Thanks, -- Pino Toscano
2023 Apr 07
0
[PATCH] drm/qxl: remove unused num_relocs variable
...} > > /* fill out reloc info structs */ > - num_relocs = 0; > for (i = 0; i < cmd->relocs_num; ++i) { > struct drm_qxl_reloc reloc; > struct drm_qxl_reloc __user *u = u64_to_user_ptr(cmd->relocs); > @@ -231,7 +230,6 @@ static int qxl_process_single_command(struct qxl_device *qdev, > reloc_info[i].dst_bo = cmd_bo; > reloc_info[i].dst_offset = reloc.dst_offset + release->release_offset; > } > - num_relocs++; > >...
2006 Apr 10
0
Problems with pygrub: ValueError: unable to open file & FC5 - solution
...). In FC5 one should just unpack Xen, patch file, change directory to tools/pygrub and reinstall pygrub''s helper library. It worked for me. Here the patch follows. --- ext2module.c.orig 2006-04-10 23:18:00.000000000 +0200 +++ ext2module.c 2006-04-10 23:35:18.000000000 +0200 @@ -230,6 +230,8 @@ #ifdef HAVE_EXT2FS_OPEN2 if (offset != 0) { snprintf(offsetopt, 29, "offset=%d", offset); + } else { + offsetopt[0] = 0; } err = ext2fs_open2(name, offsetopt, flags, superblock, block_size, _______________________________________________ X...
2006 Apr 02
0
Voicemail() - Reading exit or return results
Here my script: exten => 230,1,Answer exten => 230,2,NoOp exten => 230,3,Voicemail(u${EXTEN}) exten => 230,4,NoOp(Need results from VoiceMail() above - should be non-zero and provided to ARG3) exten => 230,5,NoOp exten => 230,6,GoToIf($[${ARG3} = 0]?s|8) exten => 230,7,system(/var/lib/asterisk/agi-b...
2006 May 10
1
[patch] skip existing md devices
...2006-05-08 12:59:42.000000000 -0500 +++ b/usr/kinit/do_mounts_md.c 2006-05-10 11:07:08.000000000 -0500 @@ -222,6 +222,7 @@ char *devname; mdu_disk_info_t dinfo; char name[16]; + struct stat st; dev_minor = md_setup_args[ent].minor; partitioned = md_setup_args[ent].partitioned; @@ -230,6 +231,9 @@ snprintf(name, sizeof name, "/dev/md%s%d", partitioned?"_d":"", dev_minor); + if (stat(name,&st) == 0) + continue; + if (partitioned) dev = makedev(mdp_major(), dev_minor << MdpMinorShift); else
1999 Dec 28
0
Patches to report rsaref build and to call pam_setcred
...7:00 1999 @@ -149,6 +149,7 @@ int do_pam_auth(const char *user, const char *password); void do_pam_account(char *username, char *remote_user); void do_pam_session(char *username, char *ttyname); +void do_pam_setcred(); void pam_cleanup_proc(void *context); static struct pam_conv conv = { @@ -230,6 +231,12 @@ PAM_STRERROR((pam_handle_t *)pamh, pam_retval)); } + pam_retval = pam_setcred((pam_handle_t *)pamh, PAM_DELETE_CRED); + if (pam_retval != PAM_SUCCESS) { + log("Cannot delete credentials: %.200s", + PAM_STRERROR((pam_handle_t *)pamh, pam_retval)); + } + pam...
2013 May 28
1
[PATCH] virtio_pci: fix capability format, comments
- queue size can actually be 0 which is not a power of 2 - fix capability format. PCI spec says: The layout of the information is vendor specific, except that the byte immediately following the ?Next? pointer in the capability structure is defined to be a length field. This length field provides the number of bytes in the capability structure (including the ID and Next pointer bytes).
2009 Nov 02
1
[PATCHv4 1/6] qemu/virtio: move features to an inline function
...(VirtIODevice *vdev) } #endif - return features; + return features | virtio_common_features(); } static uint32_t virtio_net_bad_features(VirtIODevice *vdev) diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c index 01782e5..0716f6f 100644 --- a/hw/virtio-pci.c +++ b/hw/virtio-pci.c @@ -230,9 +230,6 @@ static uint32_t virtio_ioport_read(VirtIOPCIProxy *proxy, uint32_t addr) switch (addr) { case VIRTIO_PCI_HOST_FEATURES: ret = vdev->get_features(vdev); - ret |= (1 << VIRTIO_F_NOTIFY_ON_EMPTY); - ret |= (1 << VIRTIO_RING_F_INDIRECT_DESC);...
2009 Nov 02
1
[PATCHv4 1/6] qemu/virtio: move features to an inline function
...(VirtIODevice *vdev) } #endif - return features; + return features | virtio_common_features(); } static uint32_t virtio_net_bad_features(VirtIODevice *vdev) diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c index 01782e5..0716f6f 100644 --- a/hw/virtio-pci.c +++ b/hw/virtio-pci.c @@ -230,9 +230,6 @@ static uint32_t virtio_ioport_read(VirtIOPCIProxy *proxy, uint32_t addr) switch (addr) { case VIRTIO_PCI_HOST_FEATURES: ret = vdev->get_features(vdev); - ret |= (1 << VIRTIO_F_NOTIFY_ON_EMPTY); - ret |= (1 << VIRTIO_RING_F_INDIRECT_DESC);...
2016 Oct 06
1
help with permissions
Hi, i have a rather weird and also problematic use case. My NAS provides permissions but I don't know how. The share is mounted using unix extensions and I am seeing user IDs. However my /local/ filesystem refuses me to allow to do anything unless I am root or set the noperms flag (ostensibly). This means that locally write access is denied but not remotely. The local user is UID 1000.
2004 Apr 27
1
rsync-2.6.1 close() fixes
...p,fname); --- rsync-2.6.1/options.c.bak 2004-04-17 20:07:23.000000000 +0300 +++ rsync-2.6.1/options.c 2004-04-27 19:28:10.000000000 +0300 @@ -37,6 +37,7 @@ int make_backups = 0; **/ int whole_file = -1; +int do_fsync = 0; int archive_mode = 0; int copy_links = 0; int preserve_links = 0; @@ -230,6 +231,7 @@ void usage(enum logcode F) rprintf(F," -b, --backup make backups (see --suffix & --backup-dir)\n"); rprintf(F," --backup-dir make backups into this directory\n"); rprintf(F," --suffix=SUFFIX backup suffix (d...