[Libvir] [PATCH] vcpuinfo message
by Mark Johnson
Another requested error message. This prints out a message
if the vcpuinfo failed because the domain was shutdown.
same comment as previous patch about I18N.
Mark
17 years, 6 months
[Libvir] [PATCH] Spelling fix
by Mark Johnson
Hi all,
This is the first of 10 or 11 patches I'll be submitting
which gets libvirt compiling/working on a Solaris dom0.
Also some minor generic bug fixing..
Sorry it took me so long from the Xen Summit..
Starting with a very simple one. :-) As I test them
on the cvs tree on Fedora, I'll submit them.. So they'll
trickle in over the next couple of days. A couple of them
will probably require some discussion and changes.
I'm applying the patches with the following
# patch -t -s -p1 -i ../patches/spelling
on todays CVS gate and tested on a fedora 7
dom0 (LD_PRELOAD=src/.libs/libvirt.so src/.libs/virsh)
Thanks,
Mark
17 years, 6 months
[Libvir] [PATCH] fix the Japanese messages
by Saori Fukuta
Hi,
We are making a review of the Japanese messages.
And we fix Japanese help messages first.
Signed-off-by:
Saori Fukuta <fukuta.saori(a)jp.fujitsu.com>,
Minoru Takata <takata.minoru(a)jp.fujitsu.com>
Best regards,
Saori Fukuta
Minoru Takata
17 years, 6 months
[Libvir] no vfb for paravirt guest on RHEL 5 and strange args
by Glen Deem
Hi all,
I'm creating a fairy simple paravirt machine under RHEL 5 (Xen 3.0.3,
pygrub 0.6).
A machine gets created but I see two problems:
1. no graphics console gets enabled (so RedHat VMM does not open it)
so I cannot connect to it with vncviewer (am I naive to use vfb fpr a
paravirt domU? - libvirt uses it, right?);
2. when I check what config has been used to create the domain (in
/var/log/xen/xend.log) I see arguments ("args" or "extra") picked up
from a virtual machine created a while age, my present "extra"
parameter is ignored.
I did regenerate xenstored/tdb and rebooted, still those args appear,
drives my nuts :-).
I'm actually after the graphics console, but I think both problems are related.
Could anybody advise why I get no proper vfb setup (I'd expect a
vnc-port vaue appearing in the xen store when it setup properly) and
why I get those old args?
Thanks in advance,
Deem
P.S.
xm config
============
name = "para-2"
memory = "256"
disk = [ 'file:/var/lib/para-2.img,hda,w' ]
vif = [ 'bridge=xenbr0' ]
vfb = ['type=vnc, vncunused=1']
bootloader='/usr/bin/pygrub'
vcpus=1
on_reboot = 'restart'
on_crash = 'restart'
extra = 'ignored'
from /var/log/xen/xend.log:
==================
[2007-06-12 17:13:56 xend.XendDomainInfo 5445] DEBUG
(XendDomainInfo:940) XendDomainInfo.handleShutdownWatch
[2007-06-12 17:41:57 xend.XendDomainInfo 5445] DEBUG
(XendDomainInfo:190) XendDomainInfo.create(['vm', ['name', 'para-2'],
['memory', '256'], ['on_reboot', 'restart'], ['on_crash', 'restart'],
['vcpus', 1], ['bootloader', '/usr/bin/pygrub'], ['image', ['linux',
['ramdisk', '/var/lib/xen/initrd.NMeE1x'], ['kernel',
'/var/lib/xen/vmlinuz.7QoaTW'], ['args', 'nosplash quiet rw acpi=on
XXHOST=localhost.localdomain XXLDAP=127.0.0.1
resume2=swap:/dev/mapper/XxxxxxVG-swap vga=791
root=/dev/XxxxxxxVG/root']]], ['device', ['vbd', ['uname',
'file:/var/lib/para-2.img'], ['dev', 'hda'], ['mode', 'w']]],
['device', ['vif', ['bridge', 'xenbr0']]], ['device', ['vkbd']],
['device', ['vfb', ['vncunused', '1'], ['type', 'vnc'], ['display',
':0.0'], ['xauthority', '/root/.xauthfLRNzX']]]])
17 years, 6 months
[Libvir] New vs old-style hypercalls
by Richard W.M. Jones
In xen_internal.c we've got code which claims to sniff out whether we
are using new-style hypercall ioctls or old-style hypercall ioctls.
hc.op = __HYPERVISOR_xen_version;
hc.arg[0] = (unsigned long) XENVER_version;
hc.arg[1] = 0;
cmd = IOCTL_PRIVCMD_HYPERCALL;
ret = ioctl(fd, cmd, (unsigned long) &hc);
if ((ret != -1) && (ret != 0)) {
#ifdef DEBUG
fprintf(stderr, "Using new hypervisor call: %X\n", ret);
#endif
hv_version = ret;
xen_ioctl_hypercall_cmd = cmd;
goto detect_v2;
}
/*
* check if the old hypercall are actually working
*/
v0_hc.op = __HYPERVISOR_xen_version;
v0_hc.arg[0] = (unsigned long) XENVER_version;
v0_hc.arg[1] = 0;
cmd = _IOC(_IOC_NONE, 'P', 0, sizeof(v0_hypercall_t));
ret = ioctl(fd, cmd, (unsigned long) &v0_hc);
But on 64 bit platforms (not 32 bit) cmd will be identical, so we'll
just be trying the same ioctl twice.
From <xen/linux/privcmd.h>:
typedef struct privcmd_hypercall
{
__u64 op;
__u64 arg[5];
} privcmd_hypercall_t;
#define IOCTL_PRIVCMD_HYPERCALL \
_IOC(_IOC_NONE, 'P', 0, sizeof(privcmd_hypercall_t))
From src/xen_internal.c:
typedef struct v0_hypercall_struct {
unsigned long op;
unsigned long arg[5];
} v0_hypercall_t;
cmd = _IOC(_IOC_NONE, 'P', 0, sizeof(v0_hypercall_t));
On 64 bit platforms, both structures will be the same size.
Rich.
--
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in
England and Wales under Company Registration No. 03798903
17 years, 6 months
[Libvir] Merging remote patch
by Richard W.M. Jones
I'm merging the remote patch into libvirt CVS. Things may break,
although I'm hoping to keep any brokenness to a minimum.
Rich.
--
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in
England and Wales under Company Registration No. 03798903
17 years, 6 months
[Libvir] Suggested list of files to rename
by Richard W.M. Jones
I've accumulated a collection of files in libvirt which I think should
be renamed. This file is in CVS, called 'RENAMES', and attached below.
What do you think?
Rich.
# Suggested list of file renames.
#
# File renames don't normally go into patches because they make
# the patches much harder to read, so list them here instead.
#
# $Id: RENAMES,v 1.1 2007/06/11 12:25:06 rjones Exp $
# Clearer naming scheme after Xen-unified patch went in.
src/xen_internal.c src/xen_internal_hv.c
src/xen_internal.h src/xen_internal_hv.h
src/proxy_internal.c src/xen_internal_proxy.c
src/proxy_internal.h src/xen_internal_proxy.h
src/xend_internal.c src/xen_internal_xend.c
src/xend_internal.h src/xen_internal_xend.h
src/xm_internal.c src/xen_internal_inactive.c
src/xm_internal.h src/xen_internal_inactive.h
src/xs_internal.c src/xen_internal_xenstore.c
src/xs_internal.h src/xen_internal_xenstore.h
src/xen_unified.c src/xen_internal.c
src/xen_unified.h src/xen_internal.h
# Test driver should really be called test_internal.
src/test.c src/test_internal.c
src/test.h src/test_internal.h
# This would be better:
src/*_internal*.c src/*_driver*.c
src/*_internal*.h src/*_driver*.h
# Qemud is now the qemud + remote driver.
qemud/protocol.x qemud/qemud_protocol.x
qemud/* remote/*
--
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in
England and Wales under Company Registration No. 03798903
17 years, 6 months
Réf. : [Libvir] Release of libvirt-0.2.3
by jean-paul.pigache@bull.net
Daniel,
Good to see all these enhencements in this version.
Is there any chance to have this libvirt 0.2.3 in RHEL5.1 ?
Jean-Paul
Daniel Veillard <veillard(a)redhat.com>
Envoyé par : libvir-list-bounces(a)redhat.com
08/06/2007 13:42
Veuillez répondre à veillard
Pour : libvir-list(a)redhat.com
cc :
Objet : [Libvir] Release of libvirt-0.2.3
Nearly 2 months without a release, it was clearly time, a lot of changes
had accumulated in CVS. Available from
ftp://libvirt.org/libvirt/
* Documentation:
- documentation for upcoming remote access (Richard Jones)
- virConnectNumOfDefinedDomains doc (Jan Michael)
- virsh help messages for dumpxml and net-dumpxml (Chris Wright)
* Bug fixes:
- RelaxNG schemas regexp fix (Robin Green)
- RelaxNG arch bug (Mark McLoughlin)
- large buffers bug fixes (Shigeki Sakamoto)
- error on out of memory condition (Shigeki Sakamoto)
- virshStrdup fix
- non-root driver when using Xen bug (Richard Jones)
- use --strict-order when running dnsmasq (Daniel Berrange)
- virbr0 weirdness on restart (Mark McLoughlin)
- keep connection error messages (Richard Jones)
- increase QEmu read buffer on help (Daniel Berrange)
- rpm dependance on dnsmasq (Daniel Berrange)
- fix XML boot device syntax (Daniel Berrange)
- QEmu memory bug (Daniel Berrange)
- memory leak fix (Masayuki Sunou)
- fix compiler flags (Richard Jones)
- remove type ioemu on recent Xen HVM for paravirt drivers (Saori Fukuta)
- uninitialized string bug (Masayuki Sunou)
- allow init even if the daemon is not running
- XML to config fix (Daniel Berrange)
* Improvements:
- add a special error class for the test module (Richard Jones)
- virConnectGetCapabilities on proxy (Richard Jones)
- allow network driver to decline usage (Richard Jones)
- extend error messages for upcoming remote access (Richard Jones)
- on_reboot support for QEmu (Daniel Berrange)
- save daemon output in a log file (Daniel Berrange)
- xenXMDomainDefineXML can override guest config (Hugh Brock)
- add attach-device and detach-device commands to virsh (Masayuki Sunou
and
Mark McLoughlin and Richard Jones)
- make virGetVersion case insensitive and Python bindings (Richard Jones)
- new scheduler API (Atsushi SAKAI)
- localizations updates
- add logging option for virsh (Nobuhiro Itou)
- allow arguments to be passed to bootloader (Hugh Brock)
- increase the test suite (Daniel Berrange and Hugh Brock)
* Cleanups:
- Remove VIR_DRV_OPEN_QUIET (Richard Jones)
- disable xm_internal.c for Xen > 3.0.3 (Daniel Berrange)
- unused fields in _virDomain (Richard Jones)
- export __virGetDomain and __virGetNetwork for libvirtd only (Richard
Jones)
- ignore old VNC config for HVM on recent Xen (Daniel Berrange)
- various code cleanups
- -Werror cleanup (Hugh Brock)
thanks to everybody who helped for this release with bug reports or
patches !
Daniel
--
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard | virtualization library http://libvirt.org/
veillard(a)redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
--
Libvir-list mailing list
Libvir-list(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
17 years, 6 months