...
 
Commits (66)
HACKING
=======
The following commands will be useful for anyone writing patches:
python setup.py test : Run local unit test suite
python setup.py pylint : Run a pylint script against the codebase
Any patches shouldn't change the output of 'test' or 'pylint'. The
'pylint' requires pylint and python-pep8 to be installed.
Our pylint script uses a blacklist rather than a whitelist approach,
so it could throw some false positives or useless messages. If you think
your patch exposes one of these, bring it up on the mailing list.
If 'python-coverage' is installed, you can run 'coverage -r' after
'python setup.py test' finished to see a code coverage report.
'test*' have a --debug option if you are hitting problems.
For more options, use 'python setup.py test --help'.
One useful way to manually test virt-manager's UI is using libvirt's
unit test driver. From the source directory, Launch virt-manager like:
virt-manager --connect test://$PWD/tests/testdriver.xml
This testdriver has many fake XML definitions that can be used to see
each bit of virt-manager's UI. It also enables testing the various wizards
without having to alter your host virt config.
Also, there's a few standalone specialty tests:
python setup.py test_urls : Test fetching media from distro URLs
python setup.py test_initrd_inject: Test --initrd-inject
We use glade-3 for building virt-manager's UI. It is recommended you have
a fairly recent version of glade-3: if a small UI change seems to rewrite the
entire glade file, you likely have a too old (or too new :) glade version.
Submitting patches
==================
Patches should be developed against a git checkout and _not_ a source
release. The git repo is at:
https://github.com/virt-manager/virt-manager
Patches should be sent to the mailing list (see README for details). Using
git format-patch/send-email is preferred, but an attachment with
format-patch output is fine too.
Small patches are acceptable via github pull-request, but anything
non-trivial should be sent to the mailing list.
Translations
============
Translations are handled at fedora.zanata.org. Please register for a Fedora
account and request access to a translation team, as described at:
http://fedoraproject.org/wiki/L10N/Translate_on_Zanata
And contribute to virt-manager at:
https://fedora.zanata.org/project/view/virt-manager/
# HACKING
The following commands will be useful for anyone writing patches:
```sh
./setup.py test # Run local unit test suite
./setup.py pylint # Run a pylint script against the codebase
./setup.py codespell # Run a codespell script against the codebase
```
Any patches shouldn't change the output of 'test', 'pylint' or 'codespell'. The
'pylint' requires [`pylint`](https://github.com/PyCQA/pylint) and
[`pycodestyle`](https://github.com/pycqa/pycodestyle) to be installed. The
'codespell' requires
[`codespell`](https://github.com/codespell-project/codespell) to be installed.
Our pylint script uses a blacklist rather than a whitelist approach,
so it could throw some false positives or useless messages. If you think
your patch exposes one of these, bring it up on the mailing list.
'test*' have a `--debug` option if you are hitting problems.
For more options, use `./setup.py test --help`.
One useful way to manually test virt-manager's UI is using libvirt's
unit test driver. From the source directory, Launch virt-manager like:
```sh
virt-manager --connect test://$PWD/tests/testdriver.xml
```
This testdriver has many fake XML definitions that can be used to see each bit
of virt-manager's UI. It also enables testing the various wizards without
having to alter your host virt config.
Also, there's a few standalone specialty tests:
```sh
./setup.py test_urls # Test fetching media from distro URLs
./setup.py test_initrd_inject # Test --initrd-inject
```
We use [glade-3](https://glade.gnome.org/) for building virt-manager's UI.
It is recommended you have a fairly recent version of `glade-3`. If a small UI
change seems to rewrite the entire glade file, you likely have a too old
(or too new :) glade version.
## Submitting patches
Patches should be developed against a git checkout and **not** a source
release(see [git repository](https://github.com/virt-manager/virt-manager)).
Patches should be sent to the
[mailing list](https://www.redhat.com/mailman/listinfo/virt-tools-list).
Using git format-patch/send-email is preferred, but an attachment with
format-patch output is fine too.
Small patches are acceptable via github pull-request, but anything
non-trivial should be sent to the mailing list.
## Translations
Translations are handled at `fedora.zanata.org`. Please register for a Fedora
account and request access to a translation team, as described at
[Translate on Zanata](https://fedoraproject.org/wiki/L10N/Translate_on_Zanata).
And contribute to
[virt-manager at Zanata](https://fedora.zanata.org/project/view/virt-manager/).
Basic Install
=============
For starters, if you just want to run virt-manager/virt-install to test out
changes, it can be done from the source directory:
./virt-manager
To install the software into /usr/local (usually), you can do:
python setup.py install
To build an RPM, you can run:
python setup.py rpm
setup.py generally has all the build and install commands, for more info see:
python setup.py --help-commands
python setup.py install --help
http://docs.python.org/inst/standard-install.html
Pre-requisite software
======================
A detailed dependency list can be found in virt-manager.spec.in
Minimum version requirements of major components:
python >= 2.7
gtk3 >= 3.14
libvirt-python >= 0.6.0
pygobject3 >= 3.14
libosinfo >= 0.2.10
On Debian or Ubuntu based distributions, you need to install the
gobject-introspection bindings for some depedencies like libvirt-glib
and libosinfo. Look for package names that start with 'gir', for example
gir1.2-libosinfo-1.0
# Basic Install
For starters, if you just want to run `virt-manager/virt-install` to test out
changes, it can be done from the source directory:
```sh
./virt-manager
```
To install the software into `/usr/local` (usually), you can do:
```sh
./setup.py install
```
To build an RPM, you can run:
```sh
./setup.py rpm
```
`setup.py` generally has all the build and install commands, for more info see:
- `./setup.py --help-commands`
- `./setup.py install --help`
- [Python Standard Build and Install](https://docs.python.org/3/install/#standard-build-and-install)
## Pre-requisite software
A detailed dependency list can be found in
[virt-manager.spec.in](virt-manager.spec.in) file.
Minimum version requirements of major components:
- python >= 3.3
- gtk3 >= 3.14
- libvirt-python >= 0.6.0
- pygobject3 >= 3.14
- libosinfo >= 0.2.10
On Debian or Ubuntu based distributions, you need to install the
`gobject-introspection` bindings for some dependencies like `libvirt-glib`
and `libosinfo`. Look for package names that start with `'gir'`, for example
`gir1.2-libosinfo-1.0`.
# to be included/excluded from the tarball produced by sdist
include COPYING HACKING INSTALL NEWS README
include COPYING HACKING.md INSTALL.md NEWS.md README.md
include MANIFEST.in
include setup.py
include virt-*
......
This diff is collapsed.
Metadata-Version: 1.0
Name: virt-manager
Version: 1.4.0
Version: 2.0.0
Summary: UNKNOWN
Home-page: http://virt-manager.org
Author: Cole Robinson
......
Virtual Machine Manager
=======================
This application provides a graphical tool for managing virtual machines
via the libvirt library.
The front end of the application uses the GTK / Glade libraries for
all user interaction components. The back end uses libvirt for managing
Qemu/KVM and Xen virtual machines, as well as LXC containers. The UI is
primarily tested with KVM, but is intended to be reasonably portable to any
virtualization backend libvirt supports.
For dependency info and installation instructions, see the INSTALL file
Contact
=======
All comments / suggestions / patches should be directed to the virt-tools-list
mailing list:
http://www.redhat.com/mailman/listinfo/virt-tools-list
For IRC we use #virt on OFTC.
For bug reporting info, see:
http://virt-manager.org/page/BugReporting
There are further project details on the website:
http://virt-manager.org/
See the HACKING file for info about submitting patches or contributing
translations.
# Virtual Machine Manager
This application provides a graphical tool for managing virtual machines
via the [libvirt](https://libvirt.org) library.
The front end of the application uses the GTK / Glade libraries for
all user interaction components. The back end uses libvirt for managing
Qemu/KVM and Xen virtual machines, as well as LXC containers. The UI is
primarily tested with KVM, but is intended to be reasonably portable to any
virtualization backend libvirt supports.
Several command line tools are also provided:
- `virt-install`: Create new libvirt virtual machines
- `virt-clone`: Duplicate existing libvirt virtual machines
- `virt-xml`: Edit existing libvirt virtual machines/manipulate libvirt XML
- `virt-convert`: Convert VMX or OVF configs to libvirt virtual machines
For dependency info and installation instructions, see the
[INSTALL.md](INSTALL.md) file.
## Contact
- All comments / suggestions / patches should be directed to the
[virt-tools-list](https://www.redhat.com/mailman/listinfo/virt-tools-list)
mailing list.
- For IRC we use #virt on OFTC.
- For bug reporting info, see
[BugReporting](https://virt-manager.org/page/BugReporting).
- There are further project details on the
[virt-manager](https://virt-manager.org/) website.
- See the [HACKING.md](HACKING.md) file for info about submitting patches or
contributing translations.
[org.virt-manager.virt-manager]
system-tray = /apps/virt-manager/system-tray
[org.virt-manager.virt-manager.connections]
autostart = /apps/virt-manager/connections/autostart
uris = /apps/virt-manager/connections/uris
[org.virt-manager.virt-manager.details]
show-toolbar = /apps/virt-manager/details/show-toolbar
[org.virt-manager.virt-manager.paths]
image-default = /apps/virt-manager/paths/default-image-path
media-default = /apps/virt-manager/paths/default-media-path
[org.virt-manager.virt-manager.stats]
enable-net-poll = /apps/virt-manager/stats/enable-net-poll
enable-disk-poll = /apps/virt-manager/stats/enable-disk-poll
enable-memory-poll = /apps/virt-manager/stats/enable-mem-poll
enable-cpu-poll = /apps/virt-manager/stats/enable-cpu-poll
[org.virt-manager.virt-manager.vmlist-fields]
cpu-usage = /apps/virt-manager/vmlist-fields/cpu_usage
disk-usage = /apps/virt-manager/vmlist-fields/disk_usage
host-cpu-usage = /apps/virt-manager/vmlist-fields/host_cpu_usage
memory-usage = /apps/virt-manager/vmlist-fields/memory_usage
network-traffic = /apps/virt-manager/vmlist-fields/network_traffic
......@@ -47,6 +47,12 @@
<description>Show system tray icon while app is running</description>
</key>
<key name="enable-libguestfs-vm-inspection" type="b">
<default>true</default>
<summary>Enable libguestfs VM inspection</summary>
<description>Enable libguestfs VM inspection for things like OS icons, installed applications, etc. This only works if python libguestfs bindings are installed.</description>
</key>
<key name="manager-window-height" type="i">
<default>0</default>
<summary>Default manager window height</summary>
......@@ -153,6 +159,12 @@
<schema id="org.virt-manager.virt-manager.urls"
path="/org/virt-manager/virt-manager/urls/">
<key name="containers" type="as">
<default>[]</default>
<summary>Saved list of source URLs</summary>
<description>Saved list of source URLs used to bootstrap OS containers</description>
</key>
<key name="urls" type="as">
<default>[]</default>
<summary>Saved list of install URLs</summary>
......
......@@ -16,19 +16,19 @@
</description>
<screenshots>
<screenshot type="default">
<image>http://virt-manager.org/appdata/en_US/manager.png</image>
<image>https://virt-manager.org/appdata/en_US/manager.png</image>
<_caption>Main manager window</_caption>
</screenshot>
<screenshot>
<image>http://virt-manager.org/appdata/en_US/details.png</image>
<image>https://virt-manager.org/appdata/en_US/details.png</image>
<_caption>Virtual machine configuration screen</_caption>
</screenshot>
<screenshot>
<image>http://virt-manager.org/appdata/en_US/console.png</image>
<_caption>Graphical console connection for a virtual vachine</_caption>
<image>https://virt-manager.org/appdata/en_US/console.png</image>
<_caption>Graphical console connection for a virtual machine</_caption>
</screenshot>
</screenshots>
<url type="homepage">http://www.virt-manager.org/</url>
<url type="homepage">https://www.virt-manager.org/</url>
<url type="bugtracker">https://bugzilla.redhat.com/enter_bug.cgi?product=Virtualization%20Tools&amp;component=virt-manager</url>
<update_contact>virt-tools-list@redhat.com</update_contact>
<translation type="gettext">virt-manager</translation>
......
......@@ -4,6 +4,6 @@ Access to the libvirt socket is controlled by membership in the "libvirt"
group. If you want to manage virtual machines as non root you need to add your
user to that group or you have to use the session uris like qemu:///session.
See also /usr/share/doc/libvirt-bin/README.Debian.
See also /usr/share/doc/libvirt-daemon-system/README.Debian.gz.
-- Guido Guenther <agx@sigxcpu.org> Thu, 04 Jun 2010 11:46:03 +0100
virt-manager (1:2.0.0-3) unstable; urgency=medium
* Mark autopkgtest scripts executable
* d/control: Depend on python3-distutils.
(Closes: #919527, #919713)
-- Guido Günther <agx@sigxcpu.org> Sat, 19 Jan 2019 13:30:01 +0100
virt-manager (1:2.0.0-2) unstable; urgency=medium
* Disable internal test suite.
The tests pass in pbuilder but not on the buildds. Let's disable it until
one has time to investigate. (Closes: #918557)
-- Guido Günther <agx@sigxcpu.org> Sun, 13 Jan 2019 13:40:12 +0100
virt-manager (1:2.0.0-1) unstable; urgency=medium
* New upstream version 2.0.0 (Closes: #916904)
* Builds here without testsuit failures (Closes: #917673)
* Rediff patches.
Drop Xen related patches synce pygrub and hvmloader aren't hardcoded
anymore.
* Switch to python3
* Don't ship gconf conversion anymore.
We've done so for two releases.
* virtinst: We don't ship virt-image anymore (Closes: #883789)
* Depend on genisoimage.
Thanks to Christian Ehrhardt (Closes: #895594)
-- Guido Günther <agx@sigxcpu.org> Sun, 06 Jan 2019 15:55:43 +0100
virt-manager (1:1.5.1-1) unstable; urgency=medium
* Depend on e2fsprogs (Closes: #887285)
* New upstream version 1.5.1
* Rediff patches
* d/control: Switch URLs to salsa
* d/rules: Honor DEB_BUILD_OPTIONS
-- Guido Günther <agx@sigxcpu.org> Wed, 27 Jun 2018 11:38:12 +0200
virt-manager (1:1.4.3-1) unstable; urgency=medium
* Depend on gir1.2-spiceclientglib-2.0 (Closes: #873597)
* Update homepage URL (Closes: #874036)
* README.Debian: fix libvirt reference (Closes: #877868)
* New upstream version 1.4.3
* Drop patches c-p'ed from upstream
virtinst-adjust-media-paths-for-s390x.patch
Drop virtinst-connection-Fix-error-caching-new-pool.patch
* Bump standards version
-- Guido Günther <agx@sigxcpu.org> Thu, 30 Nov 2017 14:00:19 +0100
virt-manager (1:1.4.2-1) unstable; urgency=medium
* [194c3e4] New upstream version 1.4.2
* [4ce9023] Rediff patches
* [be8dfed] Cherry-pick some ustream patches.
Add virtinst-connection-Fix-error-caching-new-pool.patch
Add virtinst-adjust-media-paths-for-s390x.patch (Closes: #873714)
* [8b6eb23] Re-enable Italian translation.
This reverts commit 0d743f25dcde50e043b1d4d8a7606125873a5911.
* [d4a2240] Adjust pygrub path in tests too
* [f643d51] Run test during build
-- Guido Günther <agx@sigxcpu.org> Thu, 31 Aug 2017 09:18:57 +0200
virt-manager (1:1.4.1-1) unstable; urgency=medium
* [2f34677] Drop obsolete gnome-icon-theme recommends (Closes: #869685)
* [4d6092c] Update uscan URL
* [2c530bc] New upstream version 1.4.1
* [6d547b1] Drop patches, fixed upstream:
Mark-Jessie-as-having-qemu-guest-agent.patch
domain-add-support-to-rename-domain-with-nvram-vars-file.patch
osdict-Fix-incorrect-usage-of-virtio-input.patch
osdict-Don-t-return-virtio1.0-net-as-a-valid-device-name.patch
We-can-t-clone-a-VM-in-some-scenarios.patch
* [e873ef7] Adjust to spice client gtk rename (Closes: #873597)
* [564f8c4] Build-dep on dh-python
-- Guido Günther <agx@sigxcpu.org> Tue, 29 Aug 2017 20:25:30 +0200
virt-manager (1:1.4.0-6) unstable; urgency=medium
* [f3fd6e8] Drop gconf dependency. We keep installing
org.virt-manager.virt-manager.convert so conversion can take place for
users explicitly installing gsettings. (Closes: #856527, #868878)
* [a088abd] domain: add support to rename domain with nvram vars file
(Closes: #862697)
-- Guido Günther <agx@sigxcpu.org> Wed, 19 Jul 2017 19:19:10 +0200
virt-manager (1:1.4.0-5) unstable; urgency=medium
* Reupload with virtinst (Closes: #849293)
-- Guido Günther <agx@sigxcpu.org> Sat, 24 Dec 2016 19:56:55 +0100
virt-manager (1:1.4.0-4) unstable; urgency=medium
* [4dc4c05] Suggest gir1.2-secret-1
since we're not using python-gnomekeyring since quiete some time.
(Closes: #844159)
* [287e515] osdict: Fix incorrect usage of virtio input.
Thanks to Laurent Bigonville for the concise report (Closes: #846356)
* [73327a8] osdict: Don't return virtio1.0-net as a valid device name
* [0923a80] Mark Jessie as having qemu-guest-agent
* [b83d836] Disable unavailable clone options
* [89bbfb5] Bump standards version to 3.9.8
* [4c782e7] Switch to debhelper 10
* [3e206bc] Use canonical Vcs-Git URL
* [6e15ef5] Use /usr/bin/python. This makes sure we pick up the right
version and lintian happy.
-- Guido Günther <agx@sigxcpu.org> Sat, 24 Dec 2016 01:42:56 +0100
virt-manager (1:1.4.0-3) unstable; urgency=medium
* [0d743f2] Remove broken italian translation
until we pull in a new upstream version (Closes: #833734)
-- Guido Günther <agx@sigxcpu.org> Tue, 16 Aug 2016 07:52:49 +0200
virt-manager (1:1.4.0-2) unstable; urgency=medium
* Upload to unstable
-- Guido Günther <agx@sigxcpu.org> Fri, 22 Jul 2016 10:27:06 +0200
virt-manager (1:1.4.0-1) experimental; urgency=medium
* [7f0c8b3] autopkgtest: Run virt-manager as well
......
......@@ -3,36 +3,46 @@ Section: admin
Priority: optional
Maintainer: Debian Libvirt Maintainers <pkg-libvirt-maintainers@lists.alioth.debian.org>
Uploaders: Guido Günther <agx@sigxcpu.org>, Laurent Léonard <laurent@open-minds.org>
Standards-Version: 3.9.6
Vcs-Git: https://anonscm.debian.org/git/git/pkg-libvirt/virt-manager.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-libvirt/virt-manager.git
Homepage: http://virt-manager.et.redhat.com/
X-Python-Version: 2.7
Build-Depends: debhelper (>= 9), python-all,
Standards-Version: 4.1.1
Vcs-Git: https://salsa.debian.org/libvirt-team/virt-manager.git
Vcs-Browser: https://salsa.debian.org/libvirt-team/virt-manager
Homepage: http://virt-manager.org/
Build-Depends:
debhelper (>= 10~),
dh-python,
intltool,
libglib2.0-bin,
python3-all,
# for the tests
cpio,
gir1.2-libosinfo-1.0,
gir1.2-libvirt-glib-1.0,
libvirt-daemon,
python3-gi,
python3-libvirt,
python3-libxml2,
python3-requests,
unzip,
Package: virt-manager
Architecture: all
Depends: ${misc:Depends}, ${python:Depends},
python-gi,
python-gi-cairo,
python-dbus,
python-requests,
Depends: ${misc:Depends}, ${python3:Depends},
python3-gi,
python3-gi-cairo,
python3-dbus,
librsvg2-common,
python-libvirt (>= 0.7.1),
python3-libvirt (>= 0.7.1),
gir1.2-libvirt-glib-1.0,
gir1.2-gtk-vnc-2.0,
gir1.2-gtk-3.0 (>= 3.10),
gir1.2-vte-2.91,
gir1.2-libosinfo-1.0,
virtinst (>= ${binary:Version}),
# For gsettings-data-convert
gconf2,
Recommends: libvirt-daemon-system (>= 1.2.7), gnome-icon-theme,
gir1.2-spice-client-gtk-3.0,
Suggests: virt-viewer, ssh-askpass, gnome-keyring, python-gnomekeyring,
python-guestfs
Recommends: libvirt-daemon-system (>= 1.2.7),
gir1.2-spiceclientglib-2.0,
gir1.2-spiceclientgtk-3.0,
Suggests: virt-viewer, ssh-askpass, gnome-keyring, gir1.2-secret-1,
python3-guestfs
Description: desktop application for managing virtual machines
It presents a summary view of running domains and their live performance &
resource utilization statistics. A detailed view presents graphs showing
......@@ -45,10 +55,18 @@ Description: desktop application for managing virtual machines
Package: virtinst
Architecture: all
Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, python-libvirt (>= 0.4.6),
python-gi,
python-ipaddr,
python-libxml2, python-requests,
Depends:
${python3:Depends},
${shlibs:Depends},
${misc:Depends},
e2fsprogs,
genisoimage,
python3,
python3-distutils,
python3-libvirt (>= 0.4.6),
python3-gi,
python3-libxml2,
python3-requests,
gir1.2-libosinfo-1.0,
Recommends: virt-viewer, qemu-utils
Description: Programs to create and clone virtual machines
......@@ -57,5 +75,5 @@ Description: Programs to create and clone virtual machines
.
virt-install: provision new virtual machines
virt-clone: clone existing virtual machines
virt-image: create virtual machines from an image description
virt-xml: edit libvirt XML using command line options.
virt-convert: convert virtual machines between formats
......@@ -2,5 +2,5 @@
upstream-branch=upstream/latest
debian-branch=debian/sid
[gbp-pq]
[pq]
patch-numbers = False
From: =?utf-8?q?Guido_G=C3=BCnther?= <agx@sigxcpu.org>
Date: Sat, 24 Dec 2016 01:18:30 +0100
Subject: Use /usr/bin/python3
so we don't have to worry about picking up the wrong version
---
setup.py | 3 +--
virt-clone | 2 +-
virt-convert | 2 +-
virt-install | 2 +-
virt-manager | 2 +-
virt-xml | 2 +-
6 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/setup.py b/setup.py
index 2e1215c..17c497f 100755
--- a/setup.py
+++ b/setup.py
@@ -1,9 +1,8 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
#
# This work is licensed under the GNU GPLv2 or later.
# See the COPYING file in the top-level directory.
-
import glob
import fnmatch
import os
diff --git a/virt-clone b/virt-clone
index d1eedee..823990d 100755
--- a/virt-clone
+++ b/virt-clone
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
#
# Copyright(c) FUJITSU Limited 2007.
#
diff --git a/virt-convert b/virt-convert
index 1b7b796..6f44902 100755
--- a/virt-convert
+++ b/virt-convert
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
#
# Copyright 2008, 2013, 2014 Red Hat, Inc.
# Joey Boggs <jboggs@redhat.com>
diff --git a/virt-install b/virt-install
index a7f247f..e09553e 100755
--- a/virt-install
+++ b/virt-install
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
#
# Copyright 2005-2014 Red Hat, Inc.
#
diff --git a/virt-manager b/virt-manager
index 15d5109..b608ff7 100755
--- a/virt-manager
+++ b/virt-manager
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
#
# Copyright (C) 2006, 2014 Red Hat, Inc.
# Copyright (C) 2006 Daniel P. Berrange <berrange@redhat.com>
diff --git a/virt-xml b/virt-xml
index 9bdde95..b8fddac 100755
--- a/virt-xml
+++ b/virt-xml
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
#
# Copyright 2013-2014 Red Hat, Inc.
# Cole Robinson <crobinso@redhat.com>
virtinst/fix-path-to-hvmloader.patch
virtinst/Fix-patch-to-pygrub.patch
Use-usr-bin-python.patch
From: =?utf-8?q?Guido_G=C3=BCnther?= <agx@sigxcpu.org>
Date: Sat, 11 Jan 2014 14:05:29 +0100
Subject: Fix patch to pygrub
Closes: #685749
---
virtinst/guest.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/virtinst/guest.py b/virtinst/guest.py
index 14be763..957e818 100644
--- a/virtinst/guest.py
+++ b/virtinst/guest.py
@@ -362,7 +362,7 @@ class Guest(XMLBuilder):
if (not install and
self.os.is_xenpv() and
not self.os.kernel):
- self.bootloader = "/usr/bin/pygrub"
+ self.bootloader = "pygrub"
self.os.clear()
return self.get_xml_config()
From: Oliver Seufer <debian@seufer.de>
Date: Sat, 1 Jun 2013 22:41:07 +0200
Subject: fix path to hvmloader
Closes: #685749
---
virtinst/guest.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/virtinst/guest.py b/virtinst/guest.py
index 6a42536..14be763 100644
--- a/virtinst/guest.py
+++ b/virtinst/guest.py
@@ -694,7 +694,7 @@ class Guest(XMLBuilder):
self.os.init = self.os.init or "/bin/sh"
if not self.os.loader and self.os.is_hvm() and self.type == "xen":
- self.os.loader = "/usr/lib/xen/boot/hvmloader"
+ self.os.loader = "hvmloader"
if self.os.os_type == "xen" and self.type == "xen":
# Use older libvirt 'linux' value for back compat
self.os.os_type = "linux"
#!/usr/bin/make -f
%:
dh $@ --with python2 --buildsystem=python_distutils
dh $@ --with python3 --buildsystem=pybuild
override_dh_python2:
dh_python2 -O--buildsystem=python_distutils
dh_python2 -p virtinst usr/share/virt-manager
dh_python3 -O--buildsystem=python_distutils
dh_python3 -p virtinst usr/share/virt-manager
override_dh_auto_test:
ifneq (,$(filter check,$(DEB_BUILD_OPTIONS)))
python3 setup.py test
else
@echo "Checks disabled atm"
endif
override_dh_auto_install:
python setup.py --no-update-icon-cache --no-compile-schemas install --force --root=debian/tmp --no-compile -O0
python3 setup.py --no-update-icon-cache --no-compile-schemas install --force --root=debian/tmp --no-compile -O0
dh_install debian/10_virt-manager.gschema.override \
/usr/share/glib-2.0/schemas/
......
Tests: help.sh
Restrictions: superficial
Depends: virtinst,
Tests: virt-manager.sh
Restrictions: superficial
Depends: virt-manager,
xvfb,
xauth,
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
......@@ -2,7 +2,6 @@ usr/bin/virt-manager
usr/share/man/man1/virt-manager.1
usr/share/icons/
usr/share/applications
usr/share/GConf/
usr/share/glib-2.0
usr/share/locale
usr/share/virt-manager/icons
......
version=3
https://virt-manager.org/download/sources/virt-manager/virt-manager-(.*)\.tar\.gz
https://releases.pagure.org/virt-manager/virt-manager-(.*)\.tar\.gz
......@@ -88,6 +88,12 @@ for the new guest's virtual disk. If the original guest has multiple disks,
this parameter must be repeated multiple times, once per disk in the original
virtual machine.
=item B<--nvram> NVRAMFILE
Optional path to the new nvram VARS file, if no path is specified and the
guest has nvram the new nvram path will be auto-generated. If the guest
doesn't have nvram this option will be ignored.
=item B<--force-copy> TARGET
Force cloning the passed disk target ('hdc', 'sda', etc.). By default,
......@@ -197,19 +203,19 @@ new guest can do a filesystem resize when it boots.
=head1 BUGS
Please see http://virt-manager.org/page/BugReporting
Please see https://virt-manager.org/page/BugReporting
=head1 COPYRIGHT
Copyright (C) Fujitsu Limited, Copyright (C) Red Hat, Inc,
and various contributors.
This is free software. You may redistribute copies of it under the terms
of the GNU General Public License C<http://www.gnu.org/licenses/gpl.html>.
of the GNU General Public License C<https://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.
=head1 SEE ALSO
C<virt-sysprep(1)>, C<virsh(1)>, C<virt-install(1)>, C<virt-manager(1)>, the project website C<http://virt-manager.org>
C<virt-sysprep(1)>, C<virsh(1)>, C<virt-install(1)>, C<virt-manager(1)>, the project website C<https://virt-manager.org>
=cut
......@@ -10,7 +10,7 @@ B<virt-convert> INPUT.vmx|INPUT.ovf|INPUT-DIR|INPUT.zip [OPTIONS]
=head1 DESCRIPTION
B<virt-convert> is a command line tool for converting VMX of OVF virtual
B<virt-convert> is a command line tool for converting VMX or OVF virtual
machines to native libvirt XML. Disk format conversion can also be done
at the same time.
......@@ -127,18 +127,18 @@ Convert the specified .vmx file. Any references disk images must be in the same
=head1 BUGS
Please see http://virt-manager.org/page/BugReporting
Please see https://virt-manager.org/page/BugReporting
=head1 COPYRIGHT
Copyright (C) Red Hat, Inc, and various contributors.
This is free software. You may redistribute copies of it under the terms
of the GNU General Public License C<http://www.gnu.org/licenses/gpl.html>.
of the GNU General Public License C<https://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.
=head1 SEE ALSO
L<virt-install(1)>, the project website C<http://virt-manager.org>
L<virt-install(1)>, the project website C<https://virt-manager.org>
=cut
This diff is collapsed.
......@@ -48,14 +48,10 @@ List debugging output to the console (normally this is only logged in
Don't fork C<virt-manager> off into the background: run it blocking the
current terminal. Useful for seeing possible errors dumped to stdout/stderr.
=item B<--no-conn-autostart>
Don't autostart any libvirt connections when launching C<virt-manager>.
=item B<--show-DIALOG-WINDOW>