Re: [fedora-virt] Routing to guests
by Robert Thiem
> From: Philip Rhoades
> I can ssh from/to the host/guest OK but how do I set up a route (or
> whatever is necessary) so that another machine:
> eth0: 192.168.0.12
> can ssh to the guest? - "ssh 192.168.122.68" gives "no route to host" -
> http://docs.fedoraproject.org/virtualization-guide/f12/en-US/html/ but
> the problem does not seem to be covered there.
Alexander is correct in saying that bridging would allow you to do that.
There are two networking discussed in the guide.
The first is a NAT (network address translation), in which the guests are
given "private" ip addresses and any outbound traffic appears to be coming
from the host machine's IP address. This is the same as the setup on your
ADSL router where the internal network machines get addresses of
192.168.x.x but the internet sees your requests as coming from the IP
address of your router.
There should be lots of documentation in linux firewalling guides under
sections on NAT (or possibly called IP Masquerading in some). Have a look
at these for information on port forwarding to reveal services
inside the virtual (such as ssh).
The other option is bridging. This shares the physical network interface
of the host with the guest. In this case the VM acts as though it's a
machine plugged into the same subnet as the host, its services are
accessible like those of the host and it's as vulnerable to attack as the
host.
Robert
11 years, 4 months
spice-gtk: menu bar shown in full-screen mode
by Ian Pilcher
Using SPICE from virt-manager and selecting View -> Fullscreen, the
menu bar is still displayed, shifting the display downward.
Fedora 15
spice-gtk-0.5-6.fc15.x86_64
libvirt-0.8.8-4.fc15.x86_64
virt-manager-0.8.7-4.fc15.noarch
Anyone know of a workaround?
--
========================================================================
Ian Pilcher arequipeno(a)gmail.com
"If you're going to shift my paradigm ... at least buy me dinner first."
========================================================================
12 years
F14 Host with F15-preview repo
by Frank Murphy
I have an F15 Guest running on F14/virt-preview repo
It is hard to make out the cursor arrowhead on the Guest,
as the host has a white hand fingers outstretched over it.
The hand is only there if cursor is over guest viewing area.
Over Virt-Toolbar it reverts to normal host black arrow.
Host for a while had a black X on it.
Bluecureve icon\cursos theme on all machines real\virt
Xfce desktop.
rpm -qa | grep virt
libvirt-python-0.8.8-4.fc14.x86_64
python-virtinst-0.500.6-2.fc14.noarch
libvirt-0.8.8-4.fc14.x86_64
virt-manager-0.8.7-3.fc14.noarch
libvirt-client-0.8.8-4.fc14.x86_64
Bug or messed config
--
Regards,
Frank Murphy
UTF_8 Encoded
Friend of Fedora
12 years
Fedora virt status
by Justin Forbes
Fedora 14
- We have 101 open bugs, 5 of which have fixes in awaiting updates.
- 1 bug has been closed in the last week
Fedora 15
- Release tomorrow!
- We have 36 open bugs 2 of which have fixes in awaiting updates.
- 6 bugs have been closed in the last week
- GA images have been cleared for release
- Upcoming Dates of importance:
2011-05-24 Fedora 15 Final Release
Fedora 16
It is time to start planning for the Fedora 16 release. What features are
going to be proposed? What does the community want to see from Fedora 16
virtualiation?
== Updates Needing review ==
The following packages are in updates-testing and need review and karma as
appropriate:
F14:
- libguestfs-1.8.7-1.fc14
New stable version 1.8.7 with several small bugfixes.
F15:
There are no virt packages in updates-testing at this time.
== Virt Preview Repository ==
The virt-preview repository is now active for F14 users wishing to run the
latest F15 virt packages on their stable F14 systems. F13 virt-preview users
will still get the latest F14 packages. For details on how to run enable
virt-preview, please see:
https://fedoraproject.org/wiki/Virtualization_Preview_Repository
== Bugs of importance: ==
- 700560 F15 virt-manager gui locks/freezes in the default storage pool
There is a bug which states that sym-linked storage pools will lock
virt-manager, and now reports that the default storage pool does as well.
- 674530 Change CDROM of guest, new CD is truncated to the size of the old
Installing a very old guest which requires several CDs, the CD size is
truncated to the size of the first CD. This issue has been resolved
upstream and will be in the next qemu update.
- 693530 Qemu does the wrong thing with Cache=None and looks like corruption
btrfs complains about corruption when Windows guests do certain types of
writes with cache=none. This is really a btrfs issue, qemu behaves as
expected.
12 years
Replace library WinXPs by virtual WinXPs on Fedora KVM?
by Rob
Hi,
The current situation:
* About 500 university library PCs run WinXP as the main OS.
What I would like to know if following is possible:
* Replace the WinXP by Fedora with virtualization software (KVM ?) and have
WinXP as a guest OS, in such a way that the users immediately boot into WinXP
without noticing the virtualization.
* Over the network it should still be possible to access the host Fedora OS.
Is this a feasible idea?
If yes, can you give me some clues how to start?
Thank you!
Rob.
12 years
Virt Tools Survey: What to do about virt-clone
by Richard W.M. Jones
I've volunteered for the task of fixing virt-clone[0]. There are a
number of bugs which need to be addressed. Unfortunately the current
virt-clone is broken-by-design since it cannot make changes inside the
guest.
[0] http://linux.die.net/man/1/virt-clone
The bugs boil down to what Microsoft calls "sysprepping" the clone,
which is to say, removing its existing identity, hostname, ssh host
keys, persistent network rules, host SID and workgroup name (for
Windows). It's helpful for Linux guests to remove some of this
stuff[1] -- it will make the cloning process smoother. For Windows
it's absolutely required[2].
[1] https://rwmj.wordpress.com/2010/09/24/tip-my-procedure-for-cloning-a-fedo...
[2] http://technet.microsoft.com/en-us/library/cc721940%28WS.10%29.aspx
All that virt-clone can do now is to copy the guest and make some
simple changes to the libvirt XML (eg. giving it a new MAC address).
It doesn't even address the sysprepping problem.
The problem with sysprepping is that it's hard to do, and it's
different for every operating system. I've summarized some of the
techniques below. Worse than that, for some OSes there are different
levels of sysprepping that an administrator might want; also see
below.
So I'd like feedback from "virt-clone next generation" users:
(a) Is cloning guests useful for you or not? Often or infrequently?
(b) Do you currently use virt-clone to clone guests?
(c) Do you have a homebrew method to clone guests? What does it do?
(d) Do you use another tool to clone guests? (And how is it?)
(e) When you clone a guest, do you "sysprep" it or would you like to?
(Using the term "sysprep" generically here, I mean any sort of
reinitialization for Linux or Windows guests).
(f) How do you feel about a multi-step process?
virt-clone -> virt-sysprep -> virt-resize (for example)
(g) Have you had other problems with cloning guests?
(h) What have I missed out in this analysis? What other features have
you missed in virt-clone?
Sysprepping Windows
-------------------
This is a complex, manual process. We do some steps to automate it in
RHEV. It's best to read Microsoft's online documentation at
[2][3][4].
[3] http://support.microsoft.com/kb/302577
[4] http://blogs.technet.com/b/megand/archive/2005/01/20/357570.aspx
Fedora
------
In theory you can just write a file /.unconfigured in the root, and
Fedora will go through the firstboot process at next boot (it will
reset timezone, root password, netconfig, keyboard, authentication).
Some admins will *not* want all of these things to be reset, and will
want either a lesser degree of unconfiguration, or will want to
control each thing manually.
I'm not totally convinced that this hasn't been broken by systemd
introduction in Fedora 15.
general Linux
-------------
See [1].
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/
12 years
spice on 32-bit
by Ken Dreyer
Are there any plans to get Fedora's 32-bit qemu-kvm package working
with Spice support? Is this a limitation of the buildsystem, or
something else?
- Ken
12 years
modifying per-user registry values?
by Tom Horsley
I notice that the virt-win-reg tool says it doesn't work with
HKU/$SID keys, and by golly it doesn't :-).
Is there a way to modify a users registry in a Windows XP
image file using some other technique?
I've got my custom clone script working to modify the
machine name, but I'd like to also modify the default
background image, which is in my user's hive.
12 years