[Libvir] virt-manager bug
by Mark Johnson
Not sure if this is the right alias... This fixes virt-manager -c
test:///default
: p5b-vm[1]#; diff /tmp/connection.orig
/usr/share/virt-manager/virtManager/connection.py
194,195d193
> else:
> return self.get_type() + ":" + self.get_hostname()
def get_name(self):
if self.get_type()[0:3] == "Xen":
return "Xen: " + self.get_hostname()
elif self.get_type() == "QEMU":
if self.uri == "qemu:///session":
return "QEMU session: " + self.get_hostname()
else:
return "QEMU system: " + self.get_hostname()
else:
return self.get_type() + ":" + self.get_hostname()
17 years, 5 months
[Libvir] patch status
by Mark Johnson
Ok, just a quick check so I can get my head on straight... :-)
This patch was withdrawn..
[PATCH] return 0 networks if Network driver not implemented
These patches have been applied
[PATCH] Spelling fix
[PATCH] null pointer fix on debug build
[PATCH] setvcpus message
[PATCH] vcpuinfo message
[PATCH] _N() has a conflict in Solaris
This patch looks like it's about to be applied (with some addition
changes from Rich)
[PATCH] header file changes for Solaris
And these three are still being hashed out.
[PATCH] setmem checks
[PATCH] hypervisor version
[PATCH] Solaris dom0 support
Mark
17 years, 5 months
[Libvir] [PATCH] Solaris dom0 support
by Mark Johnson
This is a little bigger of a patch. It has a couple of things in it.
First, in xen_internal.c and xs_internal.c have general dom0 support
for Solaris.
Again, using #ifdef/ifndef __linux__ to separate the logic.
In xml.c and xend_internal.c, the code which requires kernel to be defined
if ifdef __linux__'d. For our setup, If bootloader, kernel, and
ramdisk aren't defined, pygrub will got looking for the right bits.
There also code which puts in the the vncpasswd in xend_internal.c.
This is the last patch I'll send out for today...
Mark
17 years, 5 months
[Libvir] libvirt ./configure
by Mark Johnson
Just thought I'd throw a note to you.. I notice that if I do a configure
on fedora7 as a user I get the following...
checking If XenD UNIX socket /var/run/xend/xmlrpc.sock is accessible... no
Which works when you do a configure as root. Not sure what your using that
for so not sure if it's a problem..
Mark
17 years, 5 months
[Libvir] Patch to get rid of index(3) and rindex(3)
by Richard W.M. Jones
According to index(3):
[index and rindex appeared in] 4.3BSD; marked as LEGACY in
POSIX.1-2001.
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, 5 months
[Libvir] Storage manager initial requirements and thoughts
by Hugh Brock
Hi all.
At the Red Hat virtualization team meeting last week we spent some time
talking about the problem of remote storage management, which is a
requirement for at the very least creating remote guests. Remote storage
management also delivers a lot of benefits for managing guest storage,
provisioning, and a host of other issues.
Note that we don't (I think) believe that storage management should be
part of libvirt. However we might want to be able to grab storage
information with libvirt when creating a guest, for example.
Here's the tentative requirements we came up with, along with several
questions that came up.
We have two important use cases for remote storage management:
--Create a new guest against an existing physical device
--Create a new guest against a file on an existing physical device
(SELinux context must match up on both)
Requirements:
2 key requirements: enumerate devices, create files
* Enumerate devices (unallocated disks)
* storage pool
* Unallocated space
* Allocated volumes
-- free
-- in use
* Read only / Read-write
* Host availability
* Volume
-- Global unique name
-- Local device name
-- Usage
-- Mounted locally
-- Assigned to guest
read only
shared
exclusive
-- Inactive guest
* Create a backing store for a guest
* need to know what storage is available
* Can be plain file
* Can be a physical partition (local scsi/IDE, SAN)
* Can be a logical volume
* Can be network - iscsi/nbd
Cases:
Physical device
--> create partitions
Volume group
--> create logical volumes
Directory
--> create files
Todos:
Investigate gparted, one of the partition management tools we already
have (apis? remote accessibility?) (I believe Jim Meyering volunteered
to take a look at this?)
Identify what other scenarios we need to address.
Please comment; I'm hoping we can get these into a more definite form
sooner rather than later.
--
Red Hat Virtualization Group http://redhat.com/virtualization
Hugh Brock | virt-manager http://virt-manager.org
hbrock(a)redhat.com | virtualization library http://libvirt.org
17 years, 5 months
[Libvir] [PATCH] setvcpus message
by Mark Johnson
This patch is probably not correct. I wasn't sure how to handle
I18N in libvirt.
Had a request to add an error message for setvcpus <domain> 0.
This patch prints an error message for that case.
Mark
17 years, 5 months
[Libvir] Solaris patches applied
by Richard W.M. Jones
I applied the easy ones:
* src/internal.h, src/virsh.c: Replace _N with N_ so that
Solaris builds work (Mark Johnson).
* src/virsh.c: Add a couple of missing error messages (Mark
Johnson).
* python/types.c: Fix NULL pointer deref on DEBUG build
(Mark Johnson).
* src/virsh.c: Spelling fix (Mark Johnson).
I can't test if it works on Solaris, but it still builds on Linux.
Now to look at the last patch you sent ...
Thanks for your contribution to libvirt.
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, 5 months