search for: src_path

Displaying 20 results from an estimated 47 matches for "src_path".

2016 May 04
2
Re: [libvirt] Creating a storage volume for raw format file
.... however if I try to create the storage pool then copy the file to the directory it fails to create the storage pool because the file does not exist. I figured out that if I create the file in another directory then create the storage volume as follows... def create_volume(self, vol_name, src_path): def create_vol_xml(name, src): xml = """<volume type='file'> <name>{name}</name> <allocation unit='bytes'>{allocation}</allocation> <capacity...
2005 Jun 30
0
[PATCH] Device model path cleanup
...8:41:11 2005 +++ b/tools/ioemu/target-i386-dm/Makefile Thu Jun 30 18:59:08 2005 @@ -3,12 +3,11 @@ include config.mak override TARGET_ARCH=i386 -#assume we directly put qemu code in tools/, same level as bochs dm(ioemu) -XEN_PATH=../../.. +INSTALL_DIR := $(DESTDIR)/usr/lib/xen/bin TARGET_PATH=$(SRC_PATH)/target-$(TARGET_ARCH) VPATH=$(SRC_PATH):$(TARGET_PATH):$(SRC_PATH)/hw:$(SRC_PATH)/audio -DEFINES=-I. -I$(TARGET_PATH) -I$(SRC_PATH) -I$(XEN_PATH)/xen/include/public -DEFINES+= -I$(XEN_PATH)/tools/libxc +DEFINES=-I. -I$(TARGET_PATH) -I$(SRC_PATH) -I$(XEN_ROOT)/xen/include/public +DEFINES+= -I$(XEN...
2019 Mar 26
7
[PATCH 0/3] v2v: improve RHV guest tools installation
This series slightly improves the way qemu-ga is installed from the RHV Tools ISO, simplifying the feedback to the user. Patch #3 sort of conflicts with patch #2 of a related series by Tomáš Golembiovský: https://www.redhat.com/archives/libguestfs/2019-February/msg00016.html Pino Toscano (3): v2v: linux: add helper functions for pkg arch and extension v2v: try to pick the right arch for
2019 Jan 26
0
[PATCH 2/2] v2v: allow alternative directories for distributions
..."suse"; "lp151"] | _ -> None in match os with @@ -201,15 +205,15 @@ and install_linux_tools g inspect = warning (f_"don't know how to install guest tools on %s-%d") inspect.i_distro inspect.i_major_version | Some os -> - let src_path = "linux" // os in + let src_paths = List.map ((//) "linux") os in let dst_path = "/var/tmp" in - debug "locating packages in %s" src_path; + debug "locating packages in: %s" (String.concat ", " src_paths); let...
2016 May 04
0
Re: [libvirt] Creating a storage volume for raw format file
...e new volume and it will show up in listVolumes. createXML is only for telling libvirt to create an entirely new disk image (likely by invoking qemu-img), not to teach it about an existing image... that's what pool.refresh() is essentially for - Cole > def create_volume(self, vol_name, src_path): > def create_vol_xml(name, src): > xml = """<volume type='file'> > <name>{name}</name> > <allocation unit='bytes'>{allocation}</allocation> >...
2019 Feb 08
0
[PATCH v2 2/3] v2v: allow alternative directories for distributions
..."suse%d" inspect.i_major_version; "suse"; "lp151"] + | _ -> [] in + + match oses with + | [] -> warning (f_"don't know how to install guest tools on %s-%d") inspect.i_distro inspect.i_major_version - | Some os -> - let src_path = "linux" // os in + | oses -> + let src_paths = List.map ((//) "linux") oses in let dst_path = "/var/tmp" in - debug "locating packages in %s" src_path; + debug "locating packages in: %s" (String.concat ", " src_...
2013 Nov 12
0
[PATCH] Btrfs: incompatible format change to remove hole extents V4
.../tree-log.c @@ -3188,7 +3188,7 @@ static int log_inode_item(struct btrfs_trans_handle *trans, static noinline int copy_items(struct btrfs_trans_handle *trans, struct inode *inode, struct btrfs_path *dst_path, - struct extent_buffer *src, + struct btrfs_path *src_path, u64 *last_extent, int start_slot, int nr, int inode_only) { unsigned long src_offset; @@ -3196,6 +3196,8 @@ static noinline int copy_items(struct btrfs_trans_handle *trans, struct btrfs_root *log = BTRFS_I(inode)->root->log_root; struct btrfs_file_extent_item *extent; str...
2019 Jan 26
6
[PATCH 0/2] allow alternative guest tools directories for distributions
First patch just fixes installing guest tools from directory that was broken. Second patch revamps how virt-v2v chooses from which directory install guest tools on Linux. Details in commit message. Tomáš Golembiovský (2): v2v: fix path to source when copying files from guest tools directory v2v: allow alternative directories for distributions v2v/windows_virtio.ml | 67
2019 Jan 26
1
Re: [PATCH 2/2] v2v: allow alternative directories for distributions
...> | _ -> None in > > match os with > @@ -201,15 +205,15 @@ and install_linux_tools g inspect = > warning (f_"don't know how to install guest tools on %s-%d") > inspect.i_distro inspect.i_major_version > | Some os -> > - let src_path = "linux" // os in > + let src_paths = List.map ((//) "linux") os in > let dst_path = "/var/tmp" in > - debug "locating packages in %s" src_path; > + debug "locating packages in: %s" (String.concat ", " sr...
2018 Nov 07
2
Re: [PATCH v3 3/3] v2v: linux: install QEMU-GA (RHBZ#1619665)
...ensuse" -> Some "lp151" > + | _ -> None in > + > + match os with > + | None -> > + warning (f_"don't know how to install guest tools on %s-%d") > + inspect.i_distro inspect.i_major_version > + | Some os -> > + let src_path = "linux" // os in > + let dst_path = "/var/tmp" in > + debug "locating packages in %s" src_path; > + let packages = copy_from_virtio_win g inspect src_path dst_path > + (fun _ _ -> true) in > + debug "done copying %d f...
2016 May 04
2
[libvirt] Creating a storage volume for raw format file
Hi I'm trying to create a volume in an existing storage pool using python by calling createXML() on the pool object. If the file that is the subject of the new volume exists you get and error, also if it doesn't exist I worked out that specifying <source> <path>path to copy of file</path> </source> works, seemingly by copying the 'source' file to
2019 Mar 26
0
[PATCH 2/3] v2v: try to pick the right arch for qemu-ga pkgs
...++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/v2v/windows_virtio.ml b/v2v/windows_virtio.ml index 3a3559cb2..d29033a01 100644 --- a/v2v/windows_virtio.ml +++ b/v2v/windows_virtio.ml @@ -203,10 +203,19 @@ and install_linux_tools g inspect = | Some os -> let src_path = "linux" // os in let dst_path = "/var/tmp" in + let pkg_arch = Linux.architecture_string inspect in + let pkg_ext = Linux.binary_package_extension inspect in + let package_suffixes = [ + sprintf ".%s.%s" pkg_arch pkg_ext; + sprintf...
2018 Dec 05
1
[PATCH v4] v2v: don't fail when virtio-win does not have qemu-ga
This is why I shouldn't program before lunchtime ... v2 & v3 omitted gettext (‘f_()’) annotations around the warning and error strings. Fixed in this version. My cover letter for v2 still applies here. Rich.
2018 Dec 05
1
[PATCH v2] v2v: don't fail when virtio-win does not have qemu-ga
This is my version of this patch which I think improves it in a number of ways. Firstly instead of having the bare boolean parameter ‘ok_if_missing’ we pass in the function we want to call along the directory missing path. This change then allows us to print a more useful error or warning message given the context of the call, and the new message is actionable too, so the user knows what has to
2018 Dec 05
1
[PATCH v3] v2v: don't fail when virtio-win does not have qemu-ga
Sorry, there was a small mistake in v2 of the patch. The difference between v2 & v3 is below. All my other comments in the cover letter of v2 also apply here. Rich. --- a/v2v/windows_virtio.ml +++ b/v2v/windows_virtio.ml @@ -293,8 +293,7 @@ and copy_drivers g inspect driverdir = [] <> copy_from_virtio_win g inspect "/" driverdir virtio_iso_path_matches_guest_os
2015 Jun 16
1
Strange problem with rsync and expect
...The problem happened only when two processes were running at same time. Here is my script:#!/usr/bin/expect log_user 0 set env(LANG) en_US.UTF-8 set user "[lindex $argv 0]" set bwlimit "[lindex $argv 1]" set timeout "[lindex $argv 2]" set src_path "[lindex $argv 3]" set dest_ip "[lindex $argv 4]" set dest_path "[lindex $argv 5]" set passwd "[lindex $argv 6]" spawn rsync -artqz4 -e "ssh -p 22 -o StrictHostKeyChecking=no -l $user" \ --bwlimit=$bwlimit --timeout...
2017 Aug 23
2
rsync got stuck
...e Ubuntu 14.04 SOURCE MACHINE ============== $ sudo ps -fe | grep rsync abc 3794 3793 0 01:12 ? 00:00:00 /bin/sh -c flock -xn /tmp/LOCKFILE -c "/usr/bin/rsync --compress --compress-level=9 --bwlimit=512k --recursive --delay-updates --quiet --update --exclude=\"/.*\" /SRC_PATH/ DEST_____IP:/DEST_PATH/" abc 3795 3794 0 01:12 ? 00:00:00 flock -xn /tmp/LOCKFILE -c /usr/bin/rsync --compress --compress-level=9 --bwlimit=512k --recursive --delay-updates --quiet --update --exclude="/.*" /SRC_PATH/ DEST_____IP:/DEST_PATH/ abc 3796 3795 0 01:...
2006 Mar 16
0
[PATCH 3a/3] Add shadow VRAM
...int32_t latch; \ diff -r c445d4a0dd76 tools/ioemu/target-i386-dm/Makefile --- a/tools/ioemu/target-i386-dm/Makefile Tue Mar 14 19:33:45 2006 +0100 +++ b/tools/ioemu/target-i386-dm/Makefile Thu Mar 16 14:15:07 2006 -0700 @@ -13,7 +13,7 @@ VPATH+=:$(SRC_PATH)/linux-user VPATH+=:$(SRC_PATH)/linux-user DEFINES+=-I$(SRC_PATH)/linux-user -I$(SRC_PATH)/linux-user/$(TARGET_ARCH) endif -CFLAGS+=-g -fno-strict-aliasing +CFLAGS+=-g -fno-strict-aliasing -msse2 LDFLAGS=-g LIBS= HELPER_CFLAGS=$(CFLAGS) _______________________________________________ Xen-dev...
2012 Feb 18
0
Re: [Qemu-devel] [PATCH] build: add needed missing libraries libm and librt
...kefile.target | 2 ++ >> 2 files changed, 4 insertions(+), 2 deletions(-) >> >> diff --git a/Makefile b/Makefile >> index 301c75e..e2c3cd4 100644 >> --- a/Makefile >> +++ b/Makefile >> @@ -34,7 +34,7 @@ configure: ; >> >> $(call set-vpath, $(SRC_PATH):$(SRC_PATH)/hw) >> >> -LIBS+=-lz $(LIBS_TOOLS) >> +LIBS+=-lz -lm -lrt $(LIBS_TOOLS) NACK. You need to make sure it either lands in $(LIBS_TOOLS) or is added via a new variable with host-dependent contents. >> >> ifdef BUILD_DOCS >> DOCS=qemu-doc.html qemu-te...
2018 Nov 06
0
[PATCH 3/3] v2v: linux: install QEMU-GA
...uot; | "suse-based" | "opensuse" -> Some "lp151" + | _ -> None in + + match os with + | None -> + warning (f_"Don't know how to install guest tools on %s-%d") + inspect.i_distro inspect.i_major_version + | Some os -> + let src_path = "linux" // os in + let dst_path = "/var/tmp" in + debug "locating packages in %s" src_path; + let packages = copy_files g inspect src_path dst_path + (fun _ _ -> true) in + debug "done copying %d files" (List.length packages);...