Stop netcf errors from flooding logs (bz 676920)
Bump default mem for new guests to 1GB so F15 installs work (bz 700480)
This commit is contained in:
parent
8c05848867
commit
fc93b7daa0
32
virt-manager-0.8.7/virt-manager-bump-default-mem.patch
Normal file
32
virt-manager-0.8.7/virt-manager-bump-default-mem.patch
Normal file
@ -0,0 +1,32 @@
|
||||
commit 6a14834c7d3a3fd622bb51f9ade18750267e95d3
|
||||
Author: Cole Robinson <crobinso@redhat.com>
|
||||
Date: Thu Apr 28 10:39:12 2011 -0400
|
||||
|
||||
create: Bump default memory from 512 to 1024MB
|
||||
|
||||
F15 needs more than 512 or the installer crashes, pretty sure recent windows
|
||||
require at least a GB as well. Long term plan is to track a default mem value
|
||||
per OS being installed.
|
||||
|
||||
diff --git a/src/virtManager/create.py b/src/virtManager/create.py
|
||||
index 6bbe23d..f8da9f2 100644
|
||||
--- a/src/virtManager/create.py
|
||||
+++ b/src/virtManager/create.py
|
||||
@@ -42,6 +42,8 @@ OS_GENERIC = "generic"
|
||||
# Number of seconds to wait for media detection
|
||||
DETECT_TIMEOUT = 20
|
||||
|
||||
+DEFAULT_MEM = 1024
|
||||
+
|
||||
PAGE_NAME = 0
|
||||
PAGE_INSTALL = 1
|
||||
PAGE_MEM = 2
|
||||
@@ -377,7 +379,7 @@ class vmmCreate(vmmGObjectUI):
|
||||
self.window.get_widget("install-import-entry").set_text("")
|
||||
|
||||
# Mem / CPUs
|
||||
- self.window.get_widget("config-mem").set_value(512)
|
||||
+ self.window.get_widget("config-mem").set_value(DEFAULT_MEM)
|
||||
self.window.get_widget("config-cpus").set_value(1)
|
||||
|
||||
# Storage
|
23
virt-manager-0.8.7/virt-manager-stop-netcf-flood.patch
Normal file
23
virt-manager-0.8.7/virt-manager-stop-netcf-flood.patch
Normal file
@ -0,0 +1,23 @@
|
||||
diff -rup virt-manager-0.8.7/src/virtManager/connection.py tmp/src/virtManager/connection.py
|
||||
--- virt-manager-0.8.7/src/virtManager/connection.py 2011-03-24 16:39:28.000000000 -0400
|
||||
+++ tmp/src/virtManager/connection.py 2011-04-28 10:45:19.836484967 -0400
|
||||
@@ -1319,15 +1319,15 @@ class vmmConnection(vmmGObject):
|
||||
try:
|
||||
check_obj(name, True)
|
||||
except:
|
||||
- logging.exception("Couldn't fetch active "
|
||||
- "interface '%s'" % name)
|
||||
+ #logging.debug("Couldn't fetch active interface '%s'" % name)
|
||||
+ pass
|
||||
|
||||
for name in newInactiveNames:
|
||||
try:
|
||||
check_obj(name, False)
|
||||
except:
|
||||
- logging.exception("Couldn't fetch inactive "
|
||||
- "interface '%s'" % name)
|
||||
+ #logging.debug("Couldn't fetch inactive interface '%s'" % name)
|
||||
+ pass
|
||||
|
||||
return (stop, start, orig, new, current)
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
%define _package virt-manager
|
||||
%define _version 0.8.7
|
||||
%define _release 4
|
||||
%define _release 5
|
||||
%define virtinst_version 0.500.6-2
|
||||
|
||||
%define qemu_user "qemu"
|
||||
@ -41,6 +41,10 @@ Patch3: %{name}-fix-broken-cspo.patch
|
||||
Patch4: %{name}-fix-hotplug-fallback.patch
|
||||
# Offer to attach spicevmc if switching to spice
|
||||
Patch5: %{name}-spicevmc.patch
|
||||
# Stop netcf errors from flooding logs (bz 676920)
|
||||
Patch6: %{name}-stop-netcf-flood.patch
|
||||
# Bump default mem for new guests to 1GB so F15 installs work (bz 700480)
|
||||
Patch7: %{name}-bump-default-mem.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
|
||||
@ -110,6 +114,8 @@ management API.
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
%patch6 -p1
|
||||
%patch7 -p1
|
||||
|
||||
%build
|
||||
%if %{qemu_user}
|
||||
@ -218,6 +224,11 @@ fi
|
||||
%{_datadir}/dbus-1/services/%{name}.service
|
||||
|
||||
%changelog
|
||||
* Thu Apr 28 2011 Cole Robinson <crobinso@redhat.com> - 0.8.7-5.fc16
|
||||
- Stop netcf errors from flooding logs (bz 676920)
|
||||
- Bump default mem for new guests to 1GB so F15 installs work (bz
|
||||
700480)
|
||||
|
||||
* Tue Apr 19 2011 Cole Robinson <crobinso@redhat.com> - 0.8.7-4.fc16
|
||||
- Fix spice RPM dependency (bz 697729)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user