Re: Disabling CONFIG_QOM_CAST_DEBUG in Fedora qemu builds

2023-10-07 Thread Richard W.M. Jones
On Fri, Oct 06, 2023 at 11:02:27PM +0200, Paolo Bonzini wrote: > > > Il ven 6 ott 2023, 20:36 Richard W.M. Jones ha scritto: > > I patched my copy of qemu to add ../configure --disable-qom-cast-debug > flag.  This reduced the time taken to run two test compiles insi

Disabling CONFIG_QOM_CAST_DEBUG in Fedora qemu builds

2023-10-06 Thread Richard W.M. Jones
[This is a fairly trivial configuration change, but let's discuss before I go about making a pull request for it ...] QEmu in Fedora, all branches as far as I can tell, enables CONFIG_QOM_CAST_DEBUG: qom_cast_debug : true This adds 6.6% overhead to TCG runs, dir

Re: Does Xen dom0 count as a VM?

2023-07-21 Thread Richard W.M. Jones
On Wed, Jul 19, 2023 at 10:12:07AM +, Sergio Gelato wrote: > Does this project share the view expressed in > https://github.com/systemd/systemd/issues/28113#issuecomment-1621986461 that > "when it comes to systemd's PoV xen dom0 is not a VM. i.e. the VM that owns > the hardware is not a VM i

Re: [PATCH 5/5] virt-what-cvm: rename 'azure-hcl' fact to 'hyperv-hcl'

2023-06-29 Thread Richard W.M. Jones
Thanks, pushed as 95d18c0..9477302 Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com nbdkit - Flexible, fast NBD server with plugins https://gitlab.com/nbdkit/nbdkit

Re: [PATCH virt-what] Introduce 'virt-what-cvm' program

2023-05-30 Thread Richard W.M. Jones
On Fri, May 26, 2023 at 12:39:03PM +0100, Daniel P. Berrangé wrote: > The 'virt-what' program prints facts that reflect the hypervisor that > the guest is running under. > > The new complementary 'virt-what-cvm' program prints facts that reflect > the confidential virtualization technology the gue

Re: Questions about virt-manger

2023-02-11 Thread Richard W.M. Jones
On Fri, Feb 10, 2023 at 01:01:34PM +0800, Lucas Liu wrote: > Hello, I am currently tring install a win11 guests using virt-manager, and I > found that I have to manually press any key to start installation process.  Is > there a method that virt-manager can automatically get into the installations

Re: [PATCH virt-what] Add support for UpCloud

2023-01-12 Thread Richard W.M. Jones
On Thu, Jan 12, 2023 at 11:48:17AM +0200, Ville Skyttä wrote: > > From 70b8f1244862687d23f9a834fabd3e7a5b457d66 Mon Sep 17 00:00:00 2001 > From: =?UTF-8?q?Ville=20Skytt=C3=A4?= > Date: Thu, 12 Jan 2023 11:43:04 +0200 > Subject: [PATCH] Add support for UpCloud > > --- > configure.ac

Re: [PATCH virt-what] Grammar fixes

2023-01-09 Thread Richard W.M. Jones
Thanks - pushed upstream as: http://git.annexia.org/?p=virt-what.git;a=commitdiff;h=a4508bda5a2386fd17a387e1632314fc3d6fbda3 Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-build

Re: [PATCH] virt-top: fix to parse init-file correctly

2023-01-09 Thread Richard W.M. Jones
On Mon, Dec 26, 2022 at 09:18:15AM +0900, Yuya Higashi wrote: > This fixes the following runtime error when parsing init-file. > > $ virt-top --init-file <(echo "sort id") > Error: Invalid_argument("String.sub / Bytes.sub") > Raised at Stdlib.invalid_arg in file "stdlib.ml", line 30, characters 20

Re: [PATCH virt-what] Add detection for systemd-nspawn instances

2022-12-19 Thread Richard W.M. Jones
Please see the updated patch below which adds documentation. This also needs tests which you'll need to provide. You can look at an existing test to see how to add one, eg: http://git.annexia.org/?p=virt-what.git;a=tree;f=tests/lxc;h=243ce9f4a5fddef65163de34a5e10fa86ed09c80;hb=HEAD Note you mus

Re: [PATCH] virt-top: fix to explicitly disconnect from libvirtd

2022-11-23 Thread Richard W.M. Jones
On Tue, Nov 15, 2022 at 01:56:21PM +0900, Yuya Higashi wrote: > To prevent libvirtd from printing virNetSocketReadWire I/O errors when > the virt-top command exits, explicitly disconnect from libvirtd. > > Signed-off-by: Yuya Higashi > --- > src/top.ml | 5 +++-- > 1 file changed, 3 insertions(+

Re: virt-manager upgrade

2022-10-07 Thread Richard W.M. Jones
On Thu, Oct 06, 2022 at 07:14:39PM +, woodcab wrote: > Hello, > > Still new to Linux and had a few questions regarding upgrading to 4.1.0 > > I'm using virt-manager 2.2.1 on Ubuntu MATE 20.4. There is an > upgrade available for Ubuntu Mate to MATE 20.4.1. I am told that > this is a minor upg

Re: How to bridge network

2022-10-02 Thread Richard W.M. Jones
On Thu, Sep 29, 2022 at 07:11:33AM +, c.bu...@posteo.jp wrote: > Hello, > > usually I am a user of VirtualBox. There it is very easy to > configure a VM that way that it is visible in the current local > network (e.g. a home network with one simple rooter). You have to > configure "bridge netw

Re: [PATCH V2] detect AWS arm virtual instance as kvm

2022-08-09 Thread Richard W.M. Jones
On Tue, Aug 09, 2022 at 11:00:58AM +0800, Frank Liang wrote: > Hi Richard, > > Do you have time to review this patch for the AWS arm instance to > fix a similar issue on GCP(2114997)? Thanks First time I've seen it - it's best to CC me directly on virt-what patches since I don't read the virt-tool

Re: Xen dom0 support for virt-what seems broken

2022-07-21 Thread Richard W.M. Jones
85c5474870cae37832d28ccd899d4ee http://git.annexia.org/?p=virt-what.git;a=commitdiff;h=60d903fbb7653bc9754228bdab4c6933fcda1e72 Rich. > Thanks, > Daniel > > > Il giorno 20 apr 2022, alle ore 16:37, Richard W.M. Jones > > ha scritto: > > > > On Tue, Oct 19, 2021 at 03:55:39A

Re: How to automatically install guest drivers inside a Windows VM

2022-05-16 Thread Richard W.M. Jones
look at how virt-v2v does it and do it that way. We could definitely use a standalone tool for installing drivers into guests -- and indeed another tool to discover what emulated a hardware an existing guest needs. I have often thought about writing such standalone tools but never got around to it.

Re: [PATCH] Detect Illumos (SmartOS/OmniOS) LX virtualization

2022-05-12 Thread Richard W.M. Jones
On Thu, May 12, 2022 at 12:02:46PM -0400, Steve Mokris wrote: > Thanks for the feedback, Eric and Richard. In this version, I've expunged > the redundant cats and included the Makefile.am. Thanks - pushed as 763cf1b1123136751b71f475610c5ac1eeaba0ad Rich. > --- > configure.ac

Re: [PATCH] Detect Illumos (SmartOS/OmniOS) LX virtualization

2022-05-12 Thread Richard W.M. Jones
On Wed, May 11, 2022 at 11:28:56AM -0400, Steve Mokris wrote: > Here's a revised version of my previous patch, based on discussion at > https://github.com/TritonDataCenter/illumos-joyent/pull/415 . > > --- > configure.ac| 2 ++ > tests/illumos-lx/proc/1/environ | Bin 0 -> 1

Re: How to automatically install guest drivers inside a Windows VM

2022-05-12 Thread Richard W.M. Jones
You probably want to have a look at virt-v2v which does this sort of thing for Windows & Linux VMs. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from s

Re: no release tarball

2022-04-21 Thread Richard W.M. Jones
On Thu, Apr 21, 2022 at 12:41:11PM +0100, Daniel P. Berrangé wrote: > On Thu, Apr 21, 2022 at 01:30:29PM +0200, Henrik Riomar wrote: > > On Thu, Apr 21, 2022 at 1:11 PM Richard W.M. Jones > > wrote: > > > > > > On Thu, Apr 21, 2022 at 12:54:42PM +0200, Henrik

Re: no release tarball

2022-04-21 Thread Richard W.M. Jones
On Thu, Apr 21, 2022 at 12:54:42PM +0200, Henrik Riomar wrote: > On Wed, Apr 20, 2022 at 3:42 PM Richard W.M. Jones wrote: > > > > On Wed, Apr 20, 2022 at 09:33:03AM -0400, Cole Robinson wrote: > > > On 4/19/22 1:25 PM, Henrik Riomar wrote: > > > > Hi, > >

Re: NFS with nearby host, VM clients?

2022-04-21 Thread Richard W.M. Jones
On Wed, Apr 20, 2022 at 11:28:32PM -0500, Michael Jinks wrote: > Much thanks.  Any of these would (will) be just fine.  I have at least one > question. > > ssh port forwarding would be the easiest, it was one way I tried, but I'm > missing something.  In your example: > > >   ssh -R 10809:nbd-ser

Re: NFS with nearby host, VM clients?

2022-04-20 Thread Richard W.M. Jones
On Mon, Apr 18, 2022 at 11:22:07PM -0500, Michael Jinks wrote: > I have a laptop, running VMM, with a handful of VM's.  Next to that, I have a > pile of disks running on ZFS, and I'd like to give the VM's network access > there, for running backups or whatever. > > The holdup is that the laptop (p

Re: Xen dom0 support for virt-what seems broken

2022-04-20 Thread Richard W.M. Jones
On Tue, Oct 19, 2021 at 03:55:39AM +0200, Daniele Palumbo wrote: > Hi, > > First, i'm new to this list. > Therefore, hi everyone once again. > > I was upgrading on a Gentoo server virt-what from 1.18 to 1.21. > Suddenly, facter reported that > is_virtual = true. > > I've tracked this down to: >

Re: no release tarball

2022-04-20 Thread Richard W.M. Jones
On Wed, Apr 20, 2022 at 09:33:03AM -0400, Cole Robinson wrote: > On 4/19/22 1:25 PM, Henrik Riomar wrote: > > Hi, > > > > Looks like the v1.22 release was never uploaded: > > https://people.redhat.com/~rjones/virt-what/files/ > > > > Can you look into this? > > > > ccing rjones incase he missed

Re: [PATCH] use official product name for alibaba cloud bare-metal instances

2021-07-08 Thread Richard W.M. Jones
On Fri, Jul 02, 2021 at 05:06:07PM +0800, hanxiaob...@bupt.edu.cn wrote: > From: Weisson > > --- > virt-what.in | 5 +++-- > virt-what.pod | 2 +- > 2 files changed, 4 insertions(+), 3 deletions(-) > > diff --git a/virt-what.in b/virt-what.in > index 520f7b0..6704d9c 100644 > --- a/virt-what.i

Re: [PATCH] use official product name for alibaba cloud bare-metal instances

2021-07-08 Thread Richard W.M. Jones
On Wed, Jul 07, 2021 at 07:53:28PM +0800, Weisson wrote: > Days after my last e-mail was send, there is still no replies. I mean > no offense but I want to know if my message is decent or acceptable in > community. It's better if you can CC me on patches because I don't read this list all the time

ANNOUNCE: libnbd 1.8 and nbdkit 1.26 - high performance network block device client and server

2021-06-07 Thread Richard W.M. Jones
When fuzzing nbdkit we now recommend using the "-t 1" flag (which disables threads). This improves the fuzz-stability of nbdkit. AUTHORS Authors of nbdkit 1.26: • Alan Somers • Eric Blake • Michael Ablassmeier • Richard W.M. Jones

Re: [PATCH] Check for Alibaba Cloud X-Dragon Architecture

2021-06-01 Thread Richard W.M. Jones
On Tue, Jun 01, 2021 at 08:49:17PM +0800, Weisson wrote: > Thanks to Richard W.M. Jones' Super Powerful Bash Script > --- > virt-what.in | 10 -- > 1 file changed, 8 insertions(+), 2 deletions(-) > > diff --git a/virt-what.in b/virt-what.in > index 3dac91a..f

Re: 回复:Re: [PATCH virt-what] Add Support for Alibaba X-Dragon Architecture

2021-06-01 Thread Richard W.M. Jones
On Tue, Jun 01, 2021 at 04:41:00PM +0100, Richard W.M. Jones wrote: > On Tue, Jun 01, 2021 at 11:38:06PM +0800, Weisson wrote: > > That 2-second timeout is for operating systems not running on the > > alibaba cloud so that they will not wait too long on establishing > > conne

Re: 回复:Re: [PATCH virt-what] Add Support for Alibaba X-Dragon Architecture

2021-06-01 Thread Richard W.M. Jones
On Tue, Jun 01, 2021 at 11:38:06PM +0800, Weisson wrote: > That 2-second timeout is for operating systems not running on the > alibaba cloud so that they will not wait too long on establishing > connection. But taking dmi into consideration, when "Alibaba" > apoears, it's not likely that the os run

Re: [PATCH virt-what] Add Support for Alibaba X-Dragon Architecture

2021-06-01 Thread Richard W.M. Jones
[Adding mailing list again] Well I wish I could say I invented it, but I didn't, I adapted it from various online answers: https://stackoverflow.com/a/53695968 https://stackoverflow.com/a/35562413 https://unix.stackexchange.com/questions/436200/different-ways-to-use-dev-tcp-host-port-command-and-

Re: [PATCH virt-what] Add Support for Alibaba X-Dragon Architecture

2021-06-01 Thread Richard W.M. Jones
On Tue, Jun 01, 2021 at 02:37:34PM +0800, Weisson wrote: > Greetings, Sir! > > Cloud-init helps to judge current instances, thus I added some code to > identify > if the os is running on X-dragon architecture. But I'm not sure whether it is > good to do that. > > Would you mind reviewing this p

Re: Patches for Alibaba Cloud Support

2021-05-29 Thread Richard W.M. Jones
On Thu, May 27, 2021 at 06:26:18PM +0800, Han Han wrote: > Patches for which project? For virt-what. I integrated them upstream already: http://git.annexia.org/?p=virt-what.git;a=summary Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming

Re: Some Confusion About virt-what

2021-05-26 Thread Richard W.M. Jones
On Wed, May 26, 2021 at 09:26:27PM +0800, Weisson wrote: > My instance type is t2.micro. Interesting - I didn't know that AWS were still using Xen for new guests. I thought it was only used for legacy / long-running guests, and everything was now using their custom hypervisor (Nitro). > And I ju

Re: [virt-what] AWS bug

2021-05-26 Thread Richard W.M. Jones
On Tue, May 25, 2021 at 01:45:44PM +, Stuart Cooper wrote: > virt-what version : 1.18.4.el7 (CentOS) > > Although this is a somewhat older version of virt-what I did take a look at > the > latest 1.21 and the issue persists > > > > I have noticed a bug with virt-what mis-reporting in AWS.

Re: Some Confusion About virt-what

2021-05-26 Thread Richard W.M. Jones
On Wed, May 26, 2021 at 05:38:02PM +0800, 韩笑 wrote: > I ran the script on a amzn2-ami-hvm-2.0.20210427.0-x86_64-gp2 instance. Just > like what you have described, the result ... That's the AMI. What is the flavor? Anyway "HVM" seems to indicate a Xen guest so maybe this is one of Amazon's old Xe

Re: Some Confusion About virt-what

2021-05-26 Thread Richard W.M. Jones
On Wed, May 26, 2021 at 04:28:05PM +0800, 韩笑 wrote: > I've read through the source code of virt-what, there are codes like > echo "aws" to reveal the virtualization technology of AWS. > However, when I executed the script, the "aws" string did not come > out, but there went "xen \n xen-hv

Re: Bug in virt-what

2020-10-26 Thread Richard W.M. Jones
On Mon, Oct 26, 2020 at 10:20:04AM +, Han Liang Wee Eric wrote: > Dear Sir/Mdm, > > I saw your email on http://people.redhat.com/~rjones/virt-what/ > > I am not sure where to report a bug in virt-what tool, so here goes. > There is a bug in virt-what tool where it mistakes Microsoft Surface n

[PATCH qemu-sanity-check] Add -m/--machine option.

2020-09-10 Thread Richard W.M. Jones
https://bugzilla.redhat.com/show_bug.cgi?id=1875763 I'm in the middle of testing this on ARM (requires me to fix up my old Mustang box). So this hasn't been tested yet on !x86-64. However I thought it was worth posting anyway for review. Rich.

[PATCH] Add -m/--machine option. Pick the default machine type depending on arch.

2020-09-10 Thread Richard W.M. Jones
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1875763 --- qemu-sanity-check.in | 20 +--- qemu-sanity-check.pod.in | 8 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/qemu-sanity-check.in b/qemu-sanity-check.in index 5536eda..e1abafd 100644 --- a

ANNOUNCE: nbdkit 1.22 - high performance NBD server

2020-08-27 Thread Richard W.M. Jones
I'm pleased to announce the release of nbdkit 1.22, a high performance plugin-based Network Block Device (NBD) server. https://en.wikipedia.org/wiki/Network_block_device Key features of nbdkit: * Multithreaded NBD server written in C with good performance. * Minimal dependencies for the basic s

ANNOUNCE: libnbd 1.4 - high performance NBD client library

2020-08-25 Thread Richard W.M. Jones
n ./configure". Honggfuzz can be used as another external fuzzing option. Fix compilation with glibc 2.32 which deprecates "sys_errlist". Many examples added or extended to demonstrate uses of the new APIs (Eric Blake). SEE ALSO libnbd(3)

Re: Unable to boot imported OVA file

2020-05-05 Thread Richard W.M. Jones
On Tue, May 05, 2020 at 03:09:20PM +0530, Sreyan Chakravarty wrote: > I have a Windows 10 OVA file from VirtualBox that I would like to > use in virt-manager. OVA files are just tarballs. Unpack the file with tar and convert the disk images from VMDK format to raw or qcow2 using ‘qemu-img convert

Re: How to install an OS with 2 installation iso file

2020-05-05 Thread Richard W.M. Jones
On Sun, May 03, 2020 at 03:31:38PM +0530, Harsh chopra wrote: > Hi everyone, > I was trying to install Centos 2.1 on the virtual machine, Ambitious! Note that older operating systems often don't work in qemu, not for any particular reason but just because they don't get much attention and things

ANNOUNCE: nbdkit 1.20 - high performance NBD server

2020-05-02 Thread Richard W.M. Jones
and filters. README discusses how to use lcov(1) for code coverage reports. SEE ALSO nbdkit(1). AUTHORS Authors of nbdkit 1.20: Eric Blake (33 commits) Khem Raj (1 commit) Richard W.M. Jones (134 commits) Frank G

ANNOUNCE: virt-v2v 1.42 - a tool for importing VMs from VMware (and other foreign hypervisors) to KVM

2020-04-16 Thread Richard W.M. Jones
https://bugzilla.redhat.com/1518539 Macvtap network will be lost during v2v conversion SEE ALSO virt-v2v(1). Previous release notes covering virt-v2v can be found in the libguestfs project: guestfs-release-notes-1.40(1). AUTHORS Daniel Erez R

ANNOUNCE: supermin 5.2.0 - a tool for creating and distributing tiny appliances

2020-03-10 Thread Richard W.M. Jones
Supermin is a tool that we use to create and distribute the tiny libguestfs appliance. The tool has been in development since 2009 and was renamed from ‘febootstrap’ to ‘supermin’ in 2013. To find out more about this tool, see: http://libguestfs.org/supermin.1.html I have just released supermin

ANNOUNCE: libguestfs 1.42 - tools for accessing and modifying virtual machine disk images

2020-03-10 Thread Richard W.M. Jones
com/1518539 Macvtap network will be lost during v2v conversion https://bugzilla.redhat.com/1351000 virt-customize --commands-from-file will fail if there is an extra blank in the file AUTHORS Ioanna Alifieraki Sam Eiderman Tomáš Golembiovský

ANNOUNCE: nbdkit 1.18 - high performance NBD server

2020-02-27 Thread Richard W.M. Jones
ods like get_size, can_write will now no longer produce debug messages if the data is simply being returned from the internal cache (but calls into the plugin are still logged). SEE ALSO nbdkit(1). AUTHORS Authors of nbdkit 1.18: Adrian Ambrożewicz (

Re: [virt-tools-list] [vhostmd PATCH 18/18] virtio: Fix strncpy length parameter

2020-01-16 Thread Richard W.M. Jones
All looks sensible to me, ACK series. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over

Re: [virt-tools-list] [virt-what PATCH] docker: Check for /.dockerenv too

2020-01-16 Thread Richard W.M. Jones
Thanks - I have pushed these upstream now. (If you CC me on future patches I'll see them more quickly) Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-df lists disk usage of guests

Re: [virt-tools-list] virt-install and cloud-init, feedback wanted

2019-11-25 Thread Richard W.M. Jones
On Mon, Nov 25, 2019 at 11:23:14AM +, Daniel P. Berrangé wrote: > On Mon, Nov 25, 2019 at 11:13:00AM +0000, Richard W.M. Jones wrote: > > On Fri, Nov 22, 2019 at 09:56:17AM +, Daniel P. Berrangé wrote: > > > On Thu, Nov 21, 2019 at 09:39:46PM -0500

Re: [virt-tools-list] virt-install and cloud-init, feedback wanted

2019-11-25 Thread Richard W.M. Jones
On Fri, Nov 22, 2019 at 09:56:17AM +, Daniel P. Berrangé wrote: > On Thu, Nov 21, 2019 at 09:39:46PM -0500, Dusty Mabe wrote: > > > > > > On 11/21/19 6:20 AM, Daniel P. Berrangé wrote: > > > On Thu, Nov 21, 2019 at 11:07:24AM +, Richard W.M. Jones wrote: >

Re: [virt-tools-list] virt-install and cloud-init, feedback wanted

2019-11-21 Thread Richard W.M. Jones
On Thu, Nov 21, 2019 at 10:34:14AM +, Daniel P. Berrangé wrote: > On Wed, Nov 20, 2019 at 08:18:01PM -0500, Dusty Mabe wrote: > > Basically in Fedora CoreOS we need a generic user data mechanism that works > > across > > platforms (x86_64, aarch64, ppc64le, s390x) and doesn't have possible rac

[virt-tools-list] ANNOUNCE: libnbd 1.2 & nbdkit 1.16 - high performance NBD client and server

2019-11-14 Thread Richard W.M. Jones
I'm pleased to announce the releases of libnbd 1.2 and nbdkit 1.16. These are a high performance Network Block Device (NBD) client library and server. Key features of libnbd: * Synchronous API for ease of use. * Asynchronous API for writing non-blocking, multithreaded clients. You can mix b

Re: [virt-tools-list] virt-what wrongly detects a surfacebook 2 as virtualpc

2019-10-22 Thread Richard W.M. Jones
Sorry I missed this patch from last year. If you CC me on patches as well as sending them to the list then I usually see them more reliably. The patch has been pushed upstream now. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and

Re: [virt-tools-list] virsh command to list CPU,Memory and Storage

2019-09-12 Thread Richard W.M. Jones
On Sat, Jul 27, 2019 at 06:19:37AM +0530, Kaushal Shriyan wrote: > Hi, > > Is there a way to find out total CPU's, Memory and Storage using virsh > command? For example virsh list --all list out all VM's > > 11dockerregistry01 running > 12gitlab running > > Any help wi

[virt-tools-list] ANNOUNCE: libnbd 1.0 & nbdkit 1.14 - high performance NBD client and server

2019-08-28 Thread Richard W.M. Jones
I'm pleased to announce the joint release of libnbd 1.0 and nbdkit 1.14. These are a high performance NBD client library and server. Key features of libnbd: * Synchronous API for ease of use. * Asynchronous API for writing non-blocking, multithreaded clients. You can mix both APIs freely.

[virt-tools-list] ANNOUNCE: libnbd 0.9.8 - prerelease of high performance NBD client library

2019-08-15 Thread Richard W.M. Jones
I'm pleased to announce a new high performance Network Block Device (NBD) client library called libnbd. It's written in C and there are also bindings available for Python, OCaml and (soon) Rust. 0.9.8 is the third pre-release before the stable 1.0 version where we freeze the API, so feedback on A

Re: [virt-tools-list] virt-what -- why root?

2019-06-26 Thread Richard W.M. Jones
On Wed, Jun 26, 2019 at 06:05:57PM +0700, Ryan Erwin wrote: > Hello, > > I was using `virt-what` and noticed that you require root before running > `/usr/lib/virt-what/virt-what-cpuid-helper` however I also noticed that > directly running the cpuid-helper binary without root it still worked fine >

[virt-tools-list] ANNOUNCE: nbdkit 1.12 - an NBD server toolkit with stable plugin API and permissive license

2019-04-10 Thread Richard W.M. Jones
I’m pleased to announce the next stable release of nbdkit. This release concentrates on numerous feature enhancements - see the release notes below. NBD — Network Block Device — is a protocol for accessing Block Devices (hard disks and disk-like things) over a Network. nbdkit is a toolkit for cr

Re: [virt-tools-list] Generating Stack Trace. (https://bugzilla.redhat.com/1696966)

2019-04-06 Thread Richard W.M. Jones
On Sat, Apr 06, 2019 at 02:00:47PM -0400, Andrew J. Hutton wrote: > I haven't needed to do this before, I was going to attach the core > file but it is just generating an Error 500 if I add any attachment. > Could you possibly suggest a method to do this; I've tried a few > I've found via search bu

[virt-tools-list] ANNOUNCE: nbdkit 1.10 - an NBD server toolkit with stable plugin API and permissive license

2019-01-18 Thread Richard W.M. Jones
I’m pleased to announce the next stable release of nbdkit. This release concentrates on performance and fuzzing, along with numerous other enhancements (full list below). NBD — Network Block Device — is a protocol for accessing Block Devices (hard disks and disk-like things) over a Network. nbdk

[virt-tools-list] ANNOUNCE: libguestfs 1.40 released

2019-01-17 Thread Richard W.M. Jones
I'm pleased to announce libguestfs 1.40, a library and a set of tools for accessing and modifying virtual machine disk images. This release represents about a year of work by many contributors. I'd like to call out in particular substantial contributions from: Pino Toscano, Tomáš Golembiovský, Nir

Re: [virt-tools-list] Storage image files and permissions

2018-11-26 Thread Richard W.M. Jones
On Mon, Nov 26, 2018 at 01:11:48PM +0100, Vincenzo Romano wrote: > Hi (again). > > I'm trying to configure the remote QEMU host so everything is in the > home directory of the user 'vmanager' I have created. > In particular, the ISO files are being stored into > '/home/vmanager/isos' while I'd lik

[virt-tools-list] ANNOUNCE: nbdkit 1.8 - an NBD server toolkit with stable plugin API and permissive license

2018-11-12 Thread Richard W.M. Jones
I’m pleased to announce the next stable release of nbdkit. NBD — Network Block Device — is a protocol for accessing Block Devices (hard disks and disk-like things) over a Network. nbdkit is a toolkit for creating NBD servers. The key features are: * Multithreaded NBD server written in C with g

Re: [virt-tools-list] How to: Unattended Windows installs in virt-install

2018-09-12 Thread Richard W.M. Jones
On Wed, Sep 12, 2018 at 05:49:52PM +0200, Christophe Fergeau wrote: > On Wed, Sep 12, 2018 at 03:37:27PM +0100, Richard W.M. Jones wrote: > > There are also several problems with the current autounattend file or > > Windows itself. > > > > I couldn't get Window

[virt-tools-list] How to: Unattended Windows installs in virt-install

2018-09-12 Thread Richard W.M. Jones
I have worked out how to do (almost) unattended installs of Windows guests using virt-install. This reveals some issues with virt-install, although maybe they are not bugs. The virt-install command and autounattend.xml file are attached. You will need to: (1) Put build.sh into a directory. (2)

Re: [virt-tools-list] [virt-what] review of allow to use sysctl

2018-09-01 Thread Richard W.M. Jones
On Sat, Sep 01, 2018 at 11:29:02AM +0300, Anatoly Pugachev wrote: > On Tue, Aug 28, 2018 at 8:33 PM, Richard W.M. Jones wrote: > > > > OK I see. How about the attached patch? > > OS is debian unstable. /bin/sh is a symlink to dash. > > Yes, this fixes the problem

Re: [virt-tools-list] [virt-what] review of allow to use sysctl

2018-08-28 Thread Richard W.M. Jones
. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW >From 5efe9f7a58cd0cdc6f4c279c7f0a69e57fbda56f Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 28 Aug 2018 18:32:41 +0100 Subject: [PATCH] Replace == with = since the former is a bash-ism. Thanks: Eric

Re: [virt-tools-list] [virt-what] review of allow to use sysctl

2018-08-28 Thread Richard W.M. Jones
On Sat, Aug 25, 2018 at 12:36:54PM +0300, Anatoly Pugachev wrote: > Hello! > > virt-what$ git desc > v1.18-6-gd7fd8a7 > > Latest commit in git "Allow using sysctl, for example when /proc isn't > available" > doesn't look good for me. Can someone please review/revert this commit > or explain me wh

[virt-tools-list] ANNOUNCE: nbdkit 1.6 - an NBD server toolkit with stable plugin API and permissive license

2018-08-28 Thread Richard W.M. Jones
NBD — Network Block Device — is a protocol for accessing Block Devices (hard disks and disk-like things) over a Network. nbdkit is a toolkit for creating NBD servers. The key features are: * Multithreaded NBD server written in C with good performance. * Minimal dependencies for the basic serve

Re: [virt-tools-list] [vhostmd] Fix help option

2018-07-06 Thread Richard W.M. Jones
On Wed, Jun 20, 2018 at 04:40:58PM -0600, Jim Fehlig wrote: > Fix the short option for help, add help to the help output, and > add help to the vhostmd man page. > > Signed-off-by: Jim Fehlig This one's gone upstream already I think, but ACK anyway. Are we going to do a new upstream release soo

Re: [virt-tools-list] [vhostmd] conf: Improve example configuration file

2018-07-06 Thread Richard W.M. Jones
On Wed, Jun 20, 2018 at 04:04:45PM -0600, Jim Fehlig wrote: > Although the upstream vhostmd config file serves primarily as an > example, it should at least work and not unconditionally call > commands that no longer exist. > > While at it, improve the comments describing the element. > > Signed

[virt-tools-list] ANNOUNCE: nbdkit 1.4.0 - an NBD server toolkit with stable plugin ABI and permissive license

2018-07-06 Thread Richard W.M. Jones
NBD is a protocol for accessing Block Devices (hard disks and disk-like things) over a Network. 'nbdkit' is a toolkit for creating NBD servers. The key features are: * Multithreaded NBD server written in C with good performance. * Minimal dependencies for the basic server. * Liberal license (

Re: [virt-tools-list] virt-bootstrap: libvirt and SELinux issues

2018-06-11 Thread Richard W.M. Jones
(Adding virt-tools-list) On Fri, Jun 08, 2018 at 02:20:22PM +0200, Timothée Floure wrote: > Hello, > > I'm trying to package virt-bootstrap [0], but various tests fail due to > SELinux. I know some selinux basics from redhat's selinux manual [1], > but am unsure about how to approach the issue. >

Re: [virt-tools-list] [vhostmd 0/3] update to work with modern Xen

2018-06-07 Thread Richard W.M. Jones
This all looks good too, ACK. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html __

Re: [virt-tools-list] [vhostmd 0/2] add systemd service file

2018-06-07 Thread Richard W.M. Jones
On Wed, Jun 06, 2018 at 01:46:53PM -0600, Jim Fehlig wrote: > Patch 1 is a bit of cleanup, patch 2 provides the service file. This all looks good, ACK. Now I guess the question is whether you can remember your username/password for the repo :-) Rich. -- Richard Jones, Virtualization Group, Red

Re: [virt-tools-list] PATCH: Allow using sysctl for some systems, starting with OpenBSD

2018-05-03 Thread Richard W.M. Jones
On Wed, Apr 25, 2018 at 04:45:02PM +0200, j...@jasper.la wrote: > Hi, > > OpenBSD lacks /proc, so some of the detection mechanisms in > virt-what don't work there. However sysctl is available and could be > used instead in those cases. > > Attached is a patch that adds the functionality and uses

[virt-tools-list] ANNOUNCE: hivex - read and write Windows Registry hives - version 1.3.15 released

2018-02-26 Thread Richard W.M. Jones
Hivex is a small, self-contained C library for reading and writing Windows Registry "hive" binary files. I'm pleased to announce version 1.3.15 which you can get from: http://download.libguestfs.org/hivex/ Highlights of this release: - Improved performance by using a cache of iconv handles, e

[virt-tools-list] ANNOUNCE: libguestfs 1.38 released

2018-02-09 Thread Richard W.M. Jones
I'm pleased to announce libguestfs 1.38, a library and a set of tools for accessing and modifying virtual machine disk images. This release represents about a year of work by many contributors. I'd like to call out in particular substantial contributions from: Cédric Bosdonnat, Pavel Butsykin, Mat

Re: [virt-tools-list] [virt-what PATCH] Determine architecture via 'uname -m'

2018-01-27 Thread Richard W.M. Jones
On Sat, Jan 27, 2018 at 01:11:36PM +0100, Guido Günther wrote: > 'uname -p' only gives unknown on x86_64, i386, arm6l (rpi) and aarch64 > (scaleways). > --- > It doesn't matter that much these days since cpuid is used most of the > time but it's better to have this fixed (or remove the whole uname

Re: [virt-tools-list] FreeBSD support for virt-what

2018-01-15 Thread Richard W.M. Jones
On Tue, Oct 31, 2017 at 09:04:01AM -0600, Brad Davis wrote: > Hello, > > I have patched the virt-what script to work on FreeBSD a bit better. > Please take a look. I don't monitor this list often so I missed this patch. However I just checked upstream virt-what against your patch and I hope that

Re: [virt-tools-list] virt-p2v-make-disk block in "Opening the new disk

2017-09-28 Thread Richard W.M. Jones
On Tue, Sep 05, 2017 at 03:59:06PM +0800, llilulu wrote: > Hi: > When I want make a p2v boot img disk use virt-p2v-make-disk, shell args > is :virt-p2v-make-disk -o livecd2 ubuntu-16.04 , but virt-p2v-make-disk block > in "Opening the new disk". I don't known what I should do for next operate

Re: [virt-tools-list] [virt-what PATCH v2] Remove bashisms

2017-09-28 Thread Richard W.M. Jones
On Fri, Aug 04, 2017 at 12:02:08PM -0300, Guido Günther wrote: > Use [ instead of [[ so we fall back to test if necessary: > > http://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html > > Gbp-Pq: Name Remove-bashisms.patch > --- > Updated with Eric's review comments addressed. >

[virt-tools-list] ANNOUNCE: nbdkit 1.1.13 - NBD server toolkit with stable API and permissive license

2017-08-25 Thread Richard W.M. Jones
nbdkit is an NBD server toolkit with stable ABI and permissive license. "Non-traditional" disk images can be served to anything that can consume disk images over NBD (qemu, libguestfs, etc.) More information: https://github.com/libguestfs/nbdkit Source download: http://download.libguestfs.

[virt-tools-list] ANNOUNCE: virt-what 1.18 released

2017-07-31 Thread Richard W.M. Jones
virt-what is a program that detects if you are running inside a virtual machine or container. It supports a very wide variety of types of virtualization, containerization and cloud systems. The previous release was about 2 years ago. The new release, 1.18, adds the following features: - Add d

Re: [virt-tools-list] virt-what patch to support Logical Domains (LDoms) on Linux SPARC

2017-07-31 Thread Richard W.M. Jones
00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 31 Jul 2017 15:04:28 +0100 Subject: [PATCH] tests: Fix ldoms test so it doesn't test the host. Fixes commit dc0c2972e178a6de9ee87501acca54447ea9c699. --- tests/ldoms/sbin/uname | 2 ++ tests/ldoms/sbin/virt-what

Re: [virt-tools-list] [PATCH virt-viewer] Don't set LC_ALL=C during build as that breaks python apps

2017-07-27 Thread Richard W.M. Jones
On Tue, Jul 25, 2017 at 01:48:41PM +0100, Daniel P. Berrange wrote: > Setting LC_ALL=C breaks python apps doing I/O on UTF-8 source > files. In particular this broke glib-mkenums > > Traceback (most recent call last): > File "/usr/bin/glib-mkenums", line 669, in > process_file(f

Re: [virt-tools-list] virt-what patch to support Logical Domains (LDoms) on Linux SPARC

2017-07-20 Thread Richard W.M. Jones
On Thu, Jul 20, 2017 at 12:08:11PM +0100, Darren Kenny wrote: > I've updated the patch and modified it slightly to be able to > provide a test-case, I've relaxed the test from a -c to a -f since I > can't add a character device in the test tree too easily. Thanks, I've pushed it now. Rich. -- R

Re: [virt-tools-list] virt-what returns two results for Ubuntu 16.04 on VirtualBox 5.1.22 r115126

2017-07-18 Thread Richard W.M. Jones
On Wed, Jul 05, 2017 at 08:13:42AM +, Wojciech Sciesinski wrote: > Hi > > I tried us virt-what v. 1.14 on Ubuntu 16.04 installed in VirtualBox virtual > machine. > > The command returns two results: > virtualbox > kvm This might not be a bug, if virtualbox is exporting the KVMKVMKVM CPUID l

Re: [virt-tools-list] virt-what: recognize OpenBSD vmm

2017-07-18 Thread Richard W.M. Jones
On Sat, Jul 01, 2017 at 01:12:46PM +0200, Jasper Lievisse Adriaanse wrote: > Hi, > > Please find attached a patch for virt-what to recognize the OpenBSD VMM > hypervisor. > > For more information on vmm, please refer to: > - http://man.openbsd.org/vmm.4 > - https://www.openbsd.org/papers/asiabsdc

Re: [virt-tools-list] virt-what patch to support Logical Domains (LDoms) on Linux SPARC

2017-07-18 Thread Richard W.M. Jones
On Mon, May 15, 2017 at 01:36:43PM +0100, Darren Kenny wrote: > Hi, > > I have a patch to add support for Logical Domains (LDoms) > virtualization on SPARC chipsets running Oracle Linux for SPARC. > > At the moment Oracle Linux for SPARC is the only variant that > support LDoms, but it is hoped w

Re: [virt-tools-list] [PATCH virt-what v2] Update to detect QEMU via 'TCGTCGTCGTCG' CPUID

2017-07-18 Thread Richard W.M. Jones
On Tue, Jul 18, 2017 at 01:45:09PM +0100, Daniel P. Berrange wrote: > QEMU >= 2.10 will start reporting the string "TCGTCGTCGTCG" > for CPUID queries when running under TCG only (KVM signature > is unchanged) > > Signed-off-by: Daniel P. Berrange > --- > > Changed in v2: > > - Rebase to git ma

Re: [virt-tools-list] [virt-what PATCH] Add support for KVM on System Z

2017-07-18 Thread Richard W.M. Jones
Thanks, I pushed this upstream. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) a

Re: [virt-tools-list] virt-what patch to support Logical Domains (LDoms) on Linux SPARC

2017-05-25 Thread Richard W.M. Jones
On Thu, May 25, 2017 at 09:30:18AM +0100, Daniel P. Berrange wrote: > On Thu, May 25, 2017 at 09:26:51AM +0100, Darren Kenny wrote: > > Hi, > > > > I've not seen any comments on this patch, is there anything > > that I need to do/change? > > I'm copying Richard Jones on the patch, since he mainta

[virt-tools-list] SECURITY: Various security issues in icoutils 'wrestool', used by libguestfs

2017-03-07 Thread Richard W.M. Jones
Sorry for missing the importance of these earlier. These vulnerabilities were first disclosed this January. There are seven vulnerabilities reported in the icoutils package, in the 'wrestool' program. Unfortunately because libguestfs downloads untrusted guest content and processes it with 'wrest

[virt-tools-list] ANNOUNCE: libguestfs 1.36 released

2017-02-28 Thread Richard W.M. Jones
I'm please to announce libguestfs 1.36, a library and a set of tools for accessing and modifying virtual machine disk images. This release represents about 7 months of work by many contributors. I'd like to call out in particular substantial code contributions from: Pino Toscano, Tomáš Golembiovsk

Re: [virt-tools-list] [PATCH] inspection: try harder to show a pkg summary

2017-02-27 Thread Richard W.M. Jones
On Mon, Feb 27, 2017 at 11:29:45AM +0100, Pino Toscano wrote: > If a package has no summary, try to use the description (if available): > - if it is just one line (mostly because the package manager only has > a single line as description of a package), then use it fully > - if it contains more l

  1   2   3   4   5   6   7   >