search for: osdep

Displaying 20 results from an estimated 84 matches for "osdep".

2008 Jul 20
4
Bug#481105: [PATCH] adjust patch to pygrub and hvmloader
I just tripped over this issue with pygrub. The code is written such that saying bootloader="pygrub" should cause the correct path to be used, the attached patch simply fixes this path to be correct. I don't have an HVM capable test machine handy (so I can't actually confirm this works) but I think changing the default "kernel" for an HVM guest to point to the correct
2010 Feb 18
2
backport upstream pygrub fixes to allow booting squeeze default install?
...port for parsing grub2 style grub.cfg file 20585:2636e5619708 pygrub: improve grub 2 support In addition I think the following needs to be added to tools-pygrub-prefix.patch to allow the usual "bootloader=pygrub" syntax to continue working (#481105). --- xen-3.orig/tools/python/xen/xend/osdep.py 2008-05-12 12:01:59.000000000 +0100 +++ xen-3/tools/python/xen/xend/osdep.py 2008-07-20 12:53:18.000000000 +0100 @@ -18,7 +18,8 @@ # Use is subject to license terms. import os import commands +import xen.util.auxbin _scripts_dir = { "Linux": "/etc/xen/scripts", @...
2008 Nov 22
5
xvm start xend won''t work
.../xend/server/SrvNode.py", line 30, in __init__ File "/usr/lib/python2.4/site-packages/xen/xend/XendNode.py", line 635, in instance File "/usr/lib/python2.4/site-packages/xen/xend/XendNode.py", line 92, in __init__ File "/usr/lib/python2.4/vendor-packages/xen/xend/osdep.py", line 140, in _solaris_get_cpuinfo (module, cpunum, combo, namevalue) = kstatline.split (":") ValueError: need more than 3 values to unpack [2008-11-22 10:59:00 579] INFO (SrvDaemon:334) Xend Daemon started [2008-11-22 10:59:00 579] INFO (SrvDaemon:338) Xend changeset: Mon Oc...
2008 Nov 14
0
[PATCH] tools: use sysfs interface to balloon driver if present
The pvops dom0 kernel does not expose the balloon driver via /proc/xen, so use the sysfs interface. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> diff -r 1944c39d0007 tools/python/xen/xend/osdep.py --- a/tools/python/xen/xend/osdep.py Fri Nov 14 09:57:33 2008 -0800 +++ b/tools/python/xen/xend/osdep.py Fri Nov 14 12:26:51 2008 -0800 @@ -38,7 +38,10 @@ "SunOS": "vif-vnic" } -def _linux_balloon_stat(label): +PROC_XEN_BALLOON = ''/proc/xen/balloon''...
2007 Jan 05
10
[PATCH 1/7] Fix pygrub path on Solaris
....py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -37,7 +37,7 @@ from xen.util.blkif import blkdev_uname_ from xen.util.blkif import blkdev_uname_to_file from xen.util import security -from xen.xend import balloon, sxp, uuid, image, arch +from xen.xend import balloon, sxp, uuid, image, arch, osdep from xen.xend import XendOptions, XendNode, XendConfig from xen.xend.XendConfig import scrub_password @@ -1547,7 +1547,7 @@ class XendDomainInfo: else: # Boot using bootloader if not blexec or blexec == ''pygrub'': - blexec = ...
2009 Nov 18
6
[PATCH 1/3] libxenlight: Clean up logging arrangements
* Introduce new variants of the logging functions which include errno values (converted using strerror) in the messages passed to the application''s logging callback. * Use the new errno-including logging functions everywhere where appropriate. In general, xc_... functions return errno values or 0; xs_... functions return 0 or -1 (or some such) setting errno. * When
2010 Aug 17
3
libxl build failure in latest xen
...e > -I../../tools/blktap2/control -I../../tools/blktap2/include -I../../tools/include > -Wl,-soname -Wl,libxenlight.so.1.0 -shared -o libxenlight.so.1.0.0 flexarray.o > libxl.o libxl_pci.o libxl_dom.o libxl_exec.o libxl_xshelp.o libxl_device.o > libxl_internal.o xenguest.o libxl_utils.o osdeps.o libxl_paths.o > libxl_bootloader.o libxl_blktap2.o > /usr/bin/ld: libxl_dom.o: relocation R_X86_64_PC32 against > `hvm_build_set_params'' can not be used when making a shared object; > recompile with -fPIC > /usr/bin/ld: final link failed: Bad value > collect2: ld retur...
2011 Apr 27
1
xen-qemu-dm does not build with backported xen-4.1
...e one to blame in your build log... Please write to the pkg-xen list (or at least as Cc), so that Bastian can read too. We don't need a full log, just this was enough: CC block-vmdk.o In file included from xen-config-host.h:19, from config-host.h:31, from osdep.c:25: /usr/include/xenctrl.h:140: error: expected ')' before '*' token /usr/include/xenctrl.h:863: error: expected ')' before '*' token /usr/include/xenctrl.h:1275: error: expected ')' before '*' token In file included from ./xen-config-host.h:19,...
2013 Mar 12
4
[PATCH V2 WIP 0/2] vhost-scsi: new device supporting the tcm_vhost Linux kernel module
...| 242 +++++++++++++++++++++++++++++++++++++++++++++ hw/vhost-scsi.h | 64 ++++++++++++ hw/virtio-pci.c | 59 +++++++++++ hw/virtio-scsi.c | 199 +++++++++---------------------------- hw/virtio-scsi.h | 129 ++++++++++++++++++++++++ include/qemu/osdep.h | 4 + 8 files changed, 586 insertions(+), 151 deletions(-) create mode 100644 hw/vhost-scsi.c create mode 100644 hw/vhost-scsi.h -- 1.8.1.4
2013 Mar 12
4
[PATCH V2 WIP 0/2] vhost-scsi: new device supporting the tcm_vhost Linux kernel module
...| 242 +++++++++++++++++++++++++++++++++++++++++++++ hw/vhost-scsi.h | 64 ++++++++++++ hw/virtio-pci.c | 59 +++++++++++ hw/virtio-scsi.c | 199 +++++++++---------------------------- hw/virtio-scsi.h | 129 ++++++++++++++++++++++++ include/qemu/osdep.h | 4 + 8 files changed, 586 insertions(+), 151 deletions(-) create mode 100644 hw/vhost-scsi.c create mode 100644 hw/vhost-scsi.h -- 1.8.1.4
2020 Jul 15
4
Support for macOS feth devices
...r, all kernel extensions were deprecated recently and will likely be removed in a future macOS release this fall. An alternative to tap devices on macOS is something called a feth interface. Luckily, the ZeroTierOne project released a program <https://github.com/zerotier/ZeroTierOne/blob/master/osdep/MacEthernetTapAgent.c> which can interact with a feth interface through stdin and stdout. Since ssh uses file descriptors for all of its tunnels, I think a similar program could be used in the ssh sys_tun_open logic to interact with a feth interface on macOS. I have not yet gone far enough to t...
2007 Nov 07
1
A more elegant way of obtaining the major OS release number
...;7''... or ''CentOS 4'' without distinguishing between 4.0 or 4.5? > > Any feedback you could provide along these lines would be very much > appreciated. I can''t seem to find a way to do something like: > > =============================== > class osdep-helloworld { > file { "/etc/helloworld": > owner => root, > group => root, > mode => 443, > source => $lsbdistrelease ? { > >=4 => > "puppet://puppetmaster.1515.mtvi.com/dist/apps/misc/hellowor...
2011 Aug 23
0
qemu-kvm-0.15 + CentOS 5.6 + vanilla 2.6.35.14 (working, patch included)
...200 +++ qemu-kvm-0.15.0/qemu-common.h 2011-08-19 11:17:18.000000000 +0200 @@ -33,6 +33,7 @@ #include <sys/time.h> #include <assert.h> #include <signal.h> +#include <asm-generic/mman-common.h> #ifdef _WIN32 #include "qemu-os-win32.h" --- qemu-kvm-0.15.0/osdep.h.orig 2011-08-19 11:34:22.000000000 +0200 +++ qemu-kvm-0.15.0/osdep.h 2011-08-19 11:17:18.000000000 +0200 @@ -10,6 +10,11 @@ #include <sys/time.h> +#include <asm-generic/mman-common.h> +#ifndef MADV_MERGEABLE +#error MADV_MERGEABLE undefined +#endif + #ifndef glue #d...
2013 Mar 27
4
[PATCH 0/3] Add support for vhost-scsi-pci
...+++++++++++++++++++++ hw/vhost-scsi.h | 66 ++++++++++++ hw/vhost.c | 2 +- hw/virtio-pci.c | 62 +++++++++++ hw/virtio-scsi.c | 190 +++++++++-------------------------- hw/virtio-scsi.h | 132 +++++++++++++++++++++++- include/qemu/osdep.h | 4 + 10 files changed, 602 insertions(+), 150 deletions(-) create mode 100644 hw/vhost-scsi.c create mode 100644 hw/vhost-scsi.h -- 1.7.2.5
2013 Mar 27
4
[PATCH 0/3] Add support for vhost-scsi-pci
...+++++++++++++++++++++ hw/vhost-scsi.h | 66 ++++++++++++ hw/vhost.c | 2 +- hw/virtio-pci.c | 62 +++++++++++ hw/virtio-scsi.c | 190 +++++++++-------------------------- hw/virtio-scsi.h | 132 +++++++++++++++++++++++- include/qemu/osdep.h | 4 + 10 files changed, 602 insertions(+), 150 deletions(-) create mode 100644 hw/vhost-scsi.c create mode 100644 hw/vhost-scsi.h -- 1.7.2.5
2013 Mar 29
3
[PATCH-v2 0/2] Add support for vhost-scsi-pci
...i.c | 264 ++++++++++++++++++++++++++++++++++++++++++++ hw/vhost-scsi.h | 64 +++++++++++ hw/virtio-pci.c | 62 ++++++++++ hw/virtio-scsi.c | 192 ++++++++------------------------ hw/virtio-scsi.h | 132 +++++++++++++++++++++- include/qemu/osdep.h | 4 + 9 files changed, 623 insertions(+), 150 deletions(-) create mode 100644 hw/vhost-scsi.c create mode 100644 hw/vhost-scsi.h -- 1.7.2.5
2013 Mar 29
3
[PATCH-v2 0/2] Add support for vhost-scsi-pci
...i.c | 264 ++++++++++++++++++++++++++++++++++++++++++++ hw/vhost-scsi.h | 64 +++++++++++ hw/virtio-pci.c | 62 ++++++++++ hw/virtio-scsi.c | 192 ++++++++------------------------ hw/virtio-scsi.h | 132 +++++++++++++++++++++- include/qemu/osdep.h | 4 + 9 files changed, 623 insertions(+), 150 deletions(-) create mode 100644 hw/vhost-scsi.c create mode 100644 hw/vhost-scsi.h -- 1.7.2.5
2013 Mar 19
5
[PATCH V3 WIP 0/3] vhost-scsi: new device supporting the tcm_vhost Linux kernel module
...++++++++++++++++++++++++ hw/vhost-scsi.h | 65 ++++++++++++ hw/vhost.c | 2 + hw/virtio-pci.c | 62 ++++++++++++ hw/virtio-scsi.c | 199 +++++++++---------------------------- hw/virtio-scsi.h | 129 ++++++++++++++++++++++++ include/qemu/osdep.h | 4 + 10 files changed, 606 insertions(+), 152 deletions(-) create mode 100644 hw/vhost-scsi.c create mode 100644 hw/vhost-scsi.h -- 1.8.1.4
2013 Mar 19
5
[PATCH V3 WIP 0/3] vhost-scsi: new device supporting the tcm_vhost Linux kernel module
...++++++++++++++++++++++++ hw/vhost-scsi.h | 65 ++++++++++++ hw/vhost.c | 2 + hw/virtio-pci.c | 62 ++++++++++++ hw/virtio-scsi.c | 199 +++++++++---------------------------- hw/virtio-scsi.h | 129 ++++++++++++++++++++++++ include/qemu/osdep.h | 4 + 10 files changed, 606 insertions(+), 152 deletions(-) create mode 100644 hw/vhost-scsi.c create mode 100644 hw/vhost-scsi.h -- 1.8.1.4
2019 Apr 11
1
[RFC 2/3] hw/virtio-rdma: VirtIO rdma device
...+ * + * Copyright (C) 2019 Oracle + * + * Authors: + * Yuval Shaia <yuval.shaia at oracle.com> + * + * This work is licensed under the terms of the GNU GPL, version 2. See + * the COPYING file in the top-level directory. + * + */ + +#include <infiniband/verbs.h> + +#include "qemu/osdep.h" + +#include "virtio-rdma-ib.h" +#include "../rdma_utils.h" +#include "../rdma_rm.h" +#include "../rdma_backend.h" + +int virtio_rdma_query_device(VirtIORdma *rdev, struct iovec *in, + struct iovec *out) +{ + struct ibv_d...