search for: 239,12

Displaying 20 results from an estimated 46 matches for "239,12".

Did you mean: 235,12
2018 May 23
1
Re: [PATCH] RFC: v2v: use RHV Setup Tools ISO if available
...+ | Local_path of string (* path of file *) > > + | ISO of string * string (* path of ISO, path to look for inside the ISO *) > > + > > (* Convert Windows guests. > > * > > * This only does a "pre-conversion", the steps needed to get the > > @@ -239,12 +243,15 @@ let convert (g : G.guestfs) inspect source output rcaps = > > > > (* Install RHEV-APT only if appropriate for the output hypervisor. *) > > if output#install_rhev_apt then ( > > - let tool_path = virt_tools_data_dir () // "rhev-apt.exe&quo...
2018 May 18
2
[PATCH] RFC: v2v: use RHV Setup Tools ISO if available
...@@ open Types module G = Guestfs +type tool_location = + | Local_path of string (* path of file *) + | ISO of string * string (* path of ISO, path to look for inside the ISO *) + (* Convert Windows guests. * * This only does a "pre-conversion", the steps needed to get the @@ -239,12 +243,15 @@ let convert (g : G.guestfs) inspect source output rcaps = (* Install RHEV-APT only if appropriate for the output hypervisor. *) if output#install_rhev_apt then ( - let tool_path = virt_tools_data_dir () // "rhev-apt.exe" in - if Sys.file_exists tool_pat...
2019 Aug 23
0
[PATCH 1/2] mm/hmm: hmm_range_fault() NULL pointer bug
...@@ -229,6 +229,9 @@ static int hmm_vma_do_fault(struct mm_walk *walk, unsigned long addr, struct vm_area_struct *vma = walk->vma; vm_fault_t ret; + if (!vma) + goto err; + if (hmm_vma_walk->flags & HMM_FAULT_ALLOW_RETRY) flags |= FAULT_FLAG_ALLOW_RETRY; if (write_fault) @@ -239,12 +242,14 @@ static int hmm_vma_do_fault(struct mm_walk *walk, unsigned long addr, /* Note, handle_mm_fault did up_read(&mm->mmap_sem)) */ return -EAGAIN; } - if (ret & VM_FAULT_ERROR) { - *pfn = range->values[HMM_PFN_ERROR]; - return -EFAULT; - } + if (ret & VM_FAULT_E...
2018 Feb 20
0
[4.4-stable 12/22] virtio_balloon: prevent uninitialized variable use
...;arnd at arndb.de> --- drivers/virtio/virtio_balloon.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c index 01d15dca940e..26d0dff069f0 100644 --- a/drivers/virtio/virtio_balloon.c +++ b/drivers/virtio/virtio_balloon.c @@ -239,12 +239,15 @@ static void update_balloon_stats(struct virtio_balloon *vb) all_vm_events(events); si_meminfo(&i); + +#ifdef CONFIG_VM_EVENT_COUNTERS update_stat(vb, idx++, VIRTIO_BALLOON_S_SWAP_IN, pages_to_bytes(events[PSWPIN])); update_stat(vb, idx++, VIRTIO_BALLOON_S_SWAP_OUT,...
2019 Sep 28
0
[nbdkit PATCH v2 6/7] server: Fix OPT_GO on different export than SET_META_CONTEXT
...]; + uint32_t exportnamelen; uint32_t cflags; uint16_t eflags; bool using_tls; diff --git a/server/protocol-handshake-newstyle.c b/server/protocol-handshake-newstyle.c index 3b5d144e..2480d7a3 100644 --- a/server/protocol-handshake-newstyle.c +++ b/server/protocol-handshake-newstyle.c @@ -239,8 +239,12 @@ check_export_name (struct connection *conn, uint32_t option, char *buf, assert (exportnamelen < sizeof conn->exportname); if (save) { + if (exportnamelen != conn->exportnamelen || + memcmp (conn->exportname, buf, exportnamelen) != 0) + conn->meta_co...
2020 Jul 22
0
[PATCH nbdkit] PROPOSED: server: Implement list_exports.
...│ - └──────┬─────┘↺ └──────┬─────┘ - ┌──────┴─────┐ ... + ┌──────┴─────┐ data + │ pread │ serving + └──────┬─────┘↺ ... + ┌──────┴─────┐ │ pwrite │ └──────┬─────┘↺ ┌──────┴─────┐ ┌──────┴─────┐ │ close │ @@ -236,6 +239,12 @@ L<getpid(2)>. Called when a TCP connection has been made to the server. This happens early, before NBD or TLS negotiation. +=item C<.list_exports> + +Early in option negotiation the client may try to list the exports +served by the plugin, and plugins can optionally implement...
2012 Aug 29
0
[PATCH V2] x86/i8259: Handle bogus spurious interrupts more quietly
...bool_t _mask_and_ack_8259A_irq(unsigned int irq); -void (*__read_mostly bogus_8259A_irq)(unsigned int irq) = - _mask_and_ack_8259A_irq; +bool_t bogus_8259A_irq(unsigned int irq) +{ + return _mask_and_ack_8259A_irq(irq); +} static void mask_and_ack_8259A_irq(struct irq_desc *desc) { @@ -239,12 +241,15 @@ static inline int i8259A_irq_real(unsign * Careful! The 8259A is a fragile beast, it pretty * much _has_ to be done exactly like this (mask it * first, _then_ send the EOI, and the order of EOI - * to the two 8259s is important! + * to the two 8259s is important! Return a boole...
2020 Jul 22
0
[PATCH nbdkit v2] PROPOSED: server: Implement list_exports.
...│ - └──────┬─────┘↺ └──────┬─────┘ - ┌──────┴─────┐ ... + ┌──────┴─────┐ data + │ pread │ serving + └──────┬─────┘↺ ... + ┌──────┴─────┐ │ pwrite │ └──────┬─────┘↺ ┌──────┴─────┐ ┌──────┴─────┐ │ close │ @@ -236,6 +239,12 @@ L<getpid(2)>. Called when a TCP connection has been made to the server. This happens early, before NBD or TLS negotiation. +=item C<.list_exports> + +Early in option negotiation the client may try to list the exports +served by the plugin, and plugins can optionally implement...
2019 Sep 16
1
[libnbd PATCH] api: Add set_handshake_flags for integration
...REP_MAGIC UINT64_C(0x3e889045565a9) -/* Global flags. */ +/* Global flags. Exposed by the generator as LIBNBD_HANDSHAKE_FLAG_* instead #define NBD_FLAG_FIXED_NEWSTYLE 1 #define NBD_FLAG_NO_ZEROES 2 + */ /* Per-export flags. */ #define NBD_FLAG_HAS_FLAGS (1 << 0) @@ -238,10 +239,12 @@ struct nbd_structured_reply_error { #define NBD_CMD_WRITE_ZEROES 6 #define NBD_CMD_BLOCK_STATUS 7 +/* Command flags. Exposed by the generator as LIBNBD_CMD_FLAG_* instead #define NBD_CMD_FLAG_FUA (1<<0) #define NBD_CMD_FLAG_NO_HOLE (1<<1) #define NBD_CMD_FLAG...
2020 Jul 31
0
[nbdkit PATCH 3/4] server: Implement list_exports.
...│ - └──────┬─────┘↺ └──────┬─────┘ - ┌──────┴─────┐ ... + ┌──────┴─────┐ data + │ pread │ serving + └──────┬─────┘↺ ... + ┌──────┴─────┐ │ pwrite │ └──────┬─────┘↺ ┌──────┴─────┐ ┌──────┴─────┐ │ close │ @@ -236,6 +239,12 @@ L<getpid(2)>. Called when a TCP connection has been made to the server. This happens early, before NBD or TLS negotiation. +=item C<.list_exports> + +Early in option negotiation the client may try to list the exports +served by the plugin, and plugins can optionally implement...
2011 May 09
1
Bug#625438: [PATCH] xen: ioapic: avoid gcc 4.6 warnings about uninitialised variables
...in*2); - *(((int *)&ioapic_entries[apic][pin])+1) = - __io_apic_read(apic, 0x11+pin*2); - } + for (pin = 0; pin < nr_ioapic_registers[apic]; pin++) + ioapic_entries[apic][pin] = __ioapic_read_entry(apic, pin, 1); } return 0; @@ -197,16 +239,12 @@ void mask_IO_APIC_setup(struct IO_APIC_r for (pin = 0; pin < nr_ioapic_registers[apic]; pin++) { struct IO_APIC_route_entry entry; - unsigned long flags; entry = ioapic_entries[apic][pin]; if (!entry.mask) { en...
2011 May 09
1
Bug#625438: [PATCH] xen: ioapic: avoid gcc 4.6 warnings about uninitialised variables
...in*2); - *(((int *)&ioapic_entries[apic][pin])+1) = - __io_apic_read(apic, 0x11+pin*2); - } + for (pin = 0; pin < nr_ioapic_registers[apic]; pin++) + ioapic_entries[apic][pin] = __ioapic_read_entry(apic, pin, 1); } return 0; @@ -197,16 +239,12 @@ void mask_IO_APIC_setup(struct IO_APIC_r for (pin = 0; pin < nr_ioapic_registers[apic]; pin++) { struct IO_APIC_route_entry entry; - unsigned long flags; entry = ioapic_entries[apic][pin]; if (!entry.mask) { en...
2019 Aug 23
6
[PATCH 0/2] mm/hmm: two bug fixes for hmm_range_fault()
I have been working on converting Jerome's hmm_dummy driver and self tests into a stand-alone set of tests to be included in tools/testing/selftests/vm and came across these two bug fixes in the process. The tests aren't quite ready to be posted as a patch. I'm posting the fixes now since I thought they shouldn't wait. They should probably have a fixes line but with all the HMM
2018 May 23
0
Re: [PATCH] RFC: v2v: use RHV Setup Tools ISO if available
...gt; +type tool_location = > + | Local_path of string (* path of file *) > + | ISO of string * string (* path of ISO, path to look for inside the ISO *) > + > (* Convert Windows guests. > * > * This only does a "pre-conversion", the steps needed to get the > @@ -239,12 +243,15 @@ let convert (g : G.guestfs) inspect source output rcaps = > > (* Install RHEV-APT only if appropriate for the output hypervisor. *) > if output#install_rhev_apt then ( > - let tool_path = virt_tools_data_dir () // "rhev-apt.exe" in > - if...
2019 Sep 24
2
[PATCH libnbd] lib: Copy nbd-protocol.h from nbdkit 1.15.3.
...nt16_t len; /* Length of human readable error. */ /* Followed by human readable error string, and possibly more structure. */ -} __attribute__((packed)); +} NBD_ATTRIBUTE_PACKED; #define NBD_REQUEST_MAGIC 0x25609513 #define NBD_SIMPLE_REPLY_MAGIC 0x67446698 @@ -239,12 +239,11 @@ struct nbd_structured_reply_error { #define NBD_CMD_WRITE_ZEROES 6 #define NBD_CMD_BLOCK_STATUS 7 -/* Command flags. Exposed by the generator as LIBNBD_CMD_FLAG_* instead -#define NBD_CMD_FLAG_FUA (1<<0) -#define NBD_CMD_FLAG_NO_HOLE (1<<1) -#define NBD...
2011 Jan 03
1
Tinc improvements
...--git a/src/net_packet.c b/src/net_packet.c index aef5534..5556326 100644 --- a/src/net_packet.c +++ b/src/net_packet.c @@ -72,6 +72,7 @@ void send_mtu_probe(node_t *n) { vpn_packet_t packet; + memset(&packet.flags, 0, sizeof(packet.flags)); int len, i; int timeout = 1; @@ -238,12 +239,12 @@ static bool try_mac(const node_t *n, const vpn_packet_t *inpkt) { unsigned char hmac[EVP_MAX_MD_SIZE]; - if(!n->indigest || !n->inmaclength || !n->inkey || inpkt->len < sizeof inpkt->seqno + n->inmaclength) + if(!n->indigest || !n->inmaclength || !n->inkey |...
2010 Jul 21
0
[PATCH] RFC: Encrypted swap support
...p; create_appvg + if [ -n ${OVIRT_CRYPT_SWAP2} -o -n ${OVIRT_CRYPT_SWAP} ]; then + ovirt_store_config /etc/ovirt-crypttab + fi stop_log } diff --git a/scripts/ovirt-early b/scripts/ovirt-early index 23198b1..5c8793d 100755 --- a/scripts/ovirt-early +++ b/scripts/ovirt-early @@ -239,6 +239,12 @@ start_ovirt_early () { vol_swap2_size= vol_data2_size= + # ovirt_swap_encrypt={Swap|Swap2},cypher1[:cypher2...][;{Swap|Swap2}...] + # request swap encryption + # the default cypher is set to aes-cbc-essiv:sha256 + crypt_swap= + crypt_swap2= + # ovirt...
2019 Jan 01
0
[PATCH nbdkit] plugins, filters: Define and use NBDKIT_HANDLE_NOT_NEEDED.
...full_open (int readonly) { - static int handle; - - return &handle; + return NBDKIT_HANDLE_NOT_NEEDED; } #define THREAD_MODEL NBDKIT_THREAD_MODEL_PARALLEL diff --git a/plugins/iso/iso.c b/plugins/iso/iso.c index bed8486..7ed5e7a 100644 --- a/plugins/iso/iso.c +++ b/plugins/iso/iso.c @@ -239,12 +239,7 @@ iso_config_complete (void) static void * iso_open (int readonly) { - /* We don't need a per-connection handle, so this just acts as a - * pointer to return. - */ - static int h; - - return &h; + return NBDKIT_HANDLE_NOT_NEEDED; } #define THREAD_MODEL NBDKIT_THREA...
2017 Apr 10
0
[PATCH 03/11] nvkm/gddr5: MR calculation for timing table v1.0
...os, data + 0x09) & 0xf0) >> 4; + + switch (elen) { + case 0xe: + case 0xd: + p->ramcfg_VREFD_off = nvbios_rd08(bios, data + 0x0c); + case 0xc: + case 0xb: + default: + break; + } + break; case 0x11: p->ramcfg_timing = nvbios_rd08(bios, data + 0x00); @@ -225,12 +239,12 @@ nvbios_rammapSp(struct nvkm_bios *bios, u32 data, p->ramcfg_11_01_08 = (nvbios_rd08(bios, data + 0x01) & 0x08) >> 3; p->ramcfg_11_01_10 = (nvbios_rd08(bios, data + 0x01) & 0x10) >> 4; p->ramcfg_DLLoff = (nvbios_rd08(bios, data + 0x01) & 0x20) >&g...
2020 Jul 22
3
[PATCH nbdkit v2] PROPOSED: server: Implement list_exports.
Updated proposal, taking into account the default export. Instead of adding a second call, I made a couple of changes to list_exports: (1) If the plugin has a concept of a default export, it should add it as the first element in the exports list. (2) There is a new default_only flag which tells the plugin that the client is trying to request the name of the default export, so the