Displaying 20 results from an estimated 20000 matches similar to: "VM parameters best practice?"
2010 May 21
2
Better error codes when stopping a VM that is already stopped
Hi,
Sometimes when stopping a virtual domain using virDomainDestroy(), I come
across a domain that is already stopped. (For example when someone already
stopped the domain manually using virsh or because the guest OS issued a
shutdown.) This is a special case that I absolutely need to catch and handle.
Unfortunately, when this happens, and I call virGetLastError() afterwards, I
always just
2011 Jan 19
1
Getting CPU and memory usage statistics for the host
Hi,
I have noticed that virt-manager has the ability to show me the current cpu- and
memory-usage of both the host and running guest machines.
How does it do that?
I could make good use of that information myself in the client applications I'm
writing, however, from what I can see on
http://libvirt.org/html/libvirt-libvirt.html, I have no idea how to go about
getting it from libvirt. In
2010 May 28
2
Cannot create qcow2 images with libvirt 0.8.1
Hi,
After upgrading to libvirt 0.8.1, I can no longer create empty volumes with no
backing store and an explicit format of qcow2.
This XML volume definition:
<volume>
<name>testserverb-data2.img</name>
<allocation>0</allocation>
<capacity units='G'>20</capacity>
<target>
<format type='qcow2'/>
2015 Oct 05
9
[Bug 92287] New: Display errors in Qt applications after using Android Virtual Devices
https://bugs.freedesktop.org/show_bug.cgi?id=92287
Bug ID: 92287
Summary: Display errors in Qt applications after using Android
Virtual Devices
Product: Mesa
Version: 11.0
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: major
Priority: medium
2013 Apr 25
2
How to tell if a hypervisor connection has died?
Hi,
What's the best way to tell if a virConnect object is not good to use anymore?
(For example because the libvirtd on the other side crashed/has been stopped
or because of some network failure)
When I try this, the first API call I do on a broken connection yields an
error with error number 38 (VIR_ERR_SYSTEM_ERROR) and all subsequent calls
yield an error number 1
2012 Nov 07
1
NWFilter and IPv6
Hi,
Libvirt's nwfilter ships a number of useful filter scripts by default, but
none to handle IPv6 traffic. Is there a particular reason for that, or is that
just because nobody has got around to that yet?
One interesting thing about dealing with IPv6 traffic is that hosts often have
several auto-configured addresses, usually at least one auto-configured link-
local address under
2010 May 31
1
Qemu driver not supporting VIR_DOMAIN_DEVICE_MODIFY_CONFIG yet?
Hi,
According to the docs on
http://libvirt.org/html/libvirt-libvirt.html#virDomainDetachDeviceFlags
I ought to be able to do
virDomainDetachDeviceFlags(
<domain>,
<devicexml>,
VIR_DOMAIN_DEVICE_MODIFY_LIVE | VIR_DOMAIN_DEVICE_MODIFY_CONFIG);
to detach a volume both from a currently running VM instance and permanently
from the defined config file.
If I actually try that,
2012 Feb 22
1
Bug? virGetLastError() returns NULL after virDomainCreate() if Domain running already
Hi,
As the subject line indicates, when I'm calling virDomainCreate() to start a
defined domain, and that command fails because the domain is already running at
that point, virGetLastError() will return NULL, instead of a proper pointer to
an error code.
Libvirt will, however, print an error to the console:
libvir: QEMU error : Requested operation is not valid: domain is already
running
2012 Oct 16
1
Migrating fails with "Timed out during operation: cannot acquire state change lock"
Hi,
After recently upgrading to 0.9.11 (as shipped with Fedora 17), I was just
trying to migrate a qemu domain from one host to another (using
virDomainMigrateToURI()), when I got this error message:
Unsafe migration: Migration may lead to data corruption if disks use cache !=
none
Okay, this is explainable (if a bit disappointing - I would have hoped that
qemu would be able to disable disk
2011 Sep 13
1
How to install libvirt 0.9.4 RPM on Fedora 14?
Hi,
I'm trying to install the newest version of libvirt and libvirt-client from
the rpms at ftp://libvirt.org/libvirt/ on a Fedora 14 machine. The naming of
the rpms as "libvirt-0.9.4-1.fc14.x86_64.rpm" suggests that this is exactly
the system this was made for, however, installation still does not go
smoothly.
When I try to install these packages with
yum install
2010 Feb 24
2
[PATCH] List application in Debian based vm images
Hi,
attached patch adds the code to list applications installed in Debian
based vm images.
Cheers,
-- Guido
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-application-listing-for-Debian.patch
Type: text/x-diff
Size: 1380 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20100224/b231e001/attachment.bin>
2019 Oct 21
2
Multiple Signatures on SSH-Hostkeys
Hello, OpenSSH-wizards.
In our company, we have looked into SSH-HostKey-signing in order to
realize automated access without the need to accept the server's
hostkey, manually.
I got it to work with the HostCertificate-directive inside the
sshd_config.
Now, I was wondering whether it is possible to have multiple
signatures, so I can, for example, sign the hostkey once with a
2006 Dec 18
0
Ferret best practice
Hello,
I am searching for Ferret best practice : when to open, close, and
optimize a ferret index on a classical web application where many people
add, read, and sometime delete elements.
Do you always keep your index open ? or do you open and close it on
every transaction ?
Do you optimize your index often ? on every insert ? on every 1000
insert ? or every night ?
Thanks for you feedback
2006 Nov 04
0
<label for=..." /> best practice?
I see a number of code samples on the list lately using <label
for="..." /> and this is a new construct to me. I see what it does,
but I''m certainly no designer and was wondering if someone could walk
me through when to use it vs. the "old style" of just putting text
where you need it, and advantages of using it vs. not.
Thanks
--
Voluminous documentation is
2006 Aug 06
0
Best practice: installing plugin assets in rake task or install.rb?
I noticed that a few plugins come with rake tasks to install additional
assets. In Rails 1.1.4 there''s a hook file, install.rb, that is run
when after the plugin has been installed (edge Rails has uninstall.rb,
too). Wouldn''t it be nicer to use this (these) hooks to install
(remove) plugin specific files automatically?
Preferrably existing (different) files are overwritten
2006 Aug 17
0
Help with best-practice for Rails Model
Hello!
So, I''m fairly new to Rails and I have a question that pertains to how
to best model something that is typically addressed via inheritance.
Here''s the situation:
I need to maintain an EventLog
There are several different "types" (eight at this point) of Events
All Events have a couple of attributes in common (user_id, event_at,
note, summary, type, etc.)
2006 Jul 13
0
best practice on making a searchable/filterable list?
Hi, I have many pages that list information (modified from the
scaffolding). I would like to include a box at the top of these pages
that has some search criteria with drop downs, date ranges, etc.
When the user submits, the controller then adds appropriate conditions
to the find method, and the matching records are displayed with the
search form maintaining the users selections.
I have been
2006 Jul 26
0
help with best practice connection for apache 1.3.x and rails
I''m adding some new content to a legacy system that is using apache
1.3.x, and I was doing some research for the best way to use rails in
this environment.
The system consists of four webservers behind a hardware load-balancer
so I don''t want to/can''t balance on the individual machines. I know
some of the methods to setup a new server include apache
2006 Jun 01
0
OT: Best practice for multi-user select boxes
I''m working on an application where several customers will be using the same
database. I want them to be able to build their own entries for various
drop-down lists is if they were the only user of the application. I also
don''t want to make building the drop-lists any harder than they need to be.
I have thought of two ways to do this. I''d appreciate feedback and
2006 Jun 15
0
Best practice for params key names for mapping to models
What''s the best practice for naming keys in the params array so they map
most efficiently to models?
There isn''t an equivelent of ActiveRecord for mapping params keys to
models, so I''m wondering if there is a best practice.
I''m writing an addressbook with a form that has mixed models on it and
multiple one-to-many relations. I''m processing new