Re: [fedora-virt] how to active XEN on Fedora 12

2009-12-30 Thread Richard W.M. Jones
On Wed, Dec 23, 2009 at 02:23:37PM +0100, Dario Lesca wrote:
> Thanks Boris, I use F12 on my Laptop and I want run some VM for test new
> version of distro.

KVM is generally better for laptops because of better power
management.  However ...

> Now I use qemu-kvm but each machine use 30/40% of CPU of host system.

Is KVM enabled?

  $ /sbin/lsmod | grep kvm
  kvm_intel  48184  6 
  kvm   163952  1 kvm_intel

You should see a kvm_* module.  Does your laptop support hardware
virtualization?  Recent hardware has much better support than the
first generation of hardware.  Is it enabled in the laptop BIOS?

> I want use XEN to see if it works better...
[...]
> then I'm looking for some thing to do after this

Basically Fedora 12 doesn't support Xen as a host.  Too bad, but this
is because upstream Xen people didn't get their changes into the Linux
kernel yet.

Your options are to go back to something out of date and unsupported
(Fedora 8 IIRC was the last version of Fedora that could be used as a
Xen host).  Or use KVM -- see above.  Or use RHEL 5 or a derivative
where an older version of Xen is fully supported.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Got Windows guests?

2009-10-29 Thread Richard W.M. Jones
Hello fellow Fedora, libvirt and libguestfs users,

If you have any Windows guests, then you can help Fedora to support
Windows guests better by spending a few minutes testing the Windows
Registry feature we just added to libguestfs 1.0.75.

You will need:

 - A Windows NT/200x/XP/Vista/7/... guest

 - Fedora 12 or Fedora Rawhide host

 - libguestfs-tools >= 1.0.75
 (from updates or
  http://koji.fedoraproject.org/koji/packageinfo?packageID=8391
  )
 - a few minutes of your time

The tests:

(1) Run the virt-win-reg commands shown in the following web page,
  where "MyWinGuest" should be replaced with the name of the Windows
  guest as known to libvirt:

  http://libguestfs.org/virt-win-reg.1.html#examples

  Do the commands run without any errors?

  Does the output look sensible?

  If you have several Windows guests, please try as many different
  sorts as possible!

(2) Download the registry binary files and try to convert them to XML:

  guestfish -i MyWinGuest --ro <<'EOF'
  download win:\windows\system32\config\software software
  download win:\windows\system32\config\system system
  download win:\windows\system32\config\sam sam
  download win:\windows\system32\config\security security
  EOF

  hivexml software > software.xml
  hivexml system > system.xml
  hivexml sam > sam.xml
  hivexml security > security.xml

  Do those commands run without error?

  If there's an error, try adding the hivexml -k option.

  Does the XML look complete?  (Try running the XML through
  tidy -xml -indent -quiet < foo.xml | less
  )

I hope you don't find any bugs, but if you do:

  Send a reply to this message, or report a bug in Bugzilla:

  
https://bugzilla.redhat.com/enter_bug.cgi?component=libguestfs&product=Virtualization+Tools

  It's useful to include the following details:

HIVEX_DEBUG=1 hivexml regfile 2>&1 > log.out

The Registry file itself that is failing (but note that Registry
files can contain sensitive data).

It's also useful to have positive feedback ("it worked!").

Thanks for any testing you can give, and if you have any other
suggestions for handling Windows guests from Fedora, please let me
know.

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/

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: question on using febootstrap

2009-07-13 Thread Richard W.M. Jones
On Mon, Jul 13, 2009 at 06:11:22AM -0700, Globe Trotter wrote:
> Many thanks! My question is how do I get to a LiveCD from here? 

I have no idea.  Better go back to whoever told you to use febootstrap
in the first place.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.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/

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: question on using febootstrap

2009-07-13 Thread Richard W.M. Jones
On Mon, Jul 13, 2009 at 06:00:59AM -0700, Globe Trotter wrote:
> Failed:
>   filesystem.x86_64 0:2.4.21-1.fc11   
> Complete!

This is OK.

It's caused because rpm tries to create /proc, and fakechroot doesn't
catch the write and redirect it into the chroot.  However failure to
create this directory doesn't actually matter.

> Not sure what the filesystem failure is supposed to mean.
> 
> Also, where should I put the kickstart file, or its equivalent? If 
> equivalent, then what is it?

febootstrap doesn't support kickstart files.  If you want to add that,
patches are welcomed, and would be an excellent feature.

> Then, regardless, I tried:
> 
> $ febootstrap-to-initramfs ./f11 > initrd.img
> 745468 blocks
> 
> 
> I am little lost as to what I should do after this point to get to a LiveCD. 
> Could you please make suggestions?

Not sure what else you're trying to do.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: FC10, Virtualization , Windows XP

2009-03-05 Thread Richard W.M. Jones
On Wed, Mar 04, 2009 at 07:09:04PM -0500, Jim wrote:
> FC 10/KDE
> what is the best Virtualization program for FC10, to run Windows XP in.
> I understand because my AMD Athlon doesn't have a "svm" feature I can't  
> run KVM, and VM Ware is slow ?

There's no good solution.  You will be able to run qemu, in software
emulation mode.  Depending on how fast your processor is, and how CPU
intensive your Windows session is, it'll be either acceptably slow or
very slow indeed.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: FC10, Virtualization , Windows XP

2009-03-05 Thread Richard W.M. Jones
On Thu, Mar 05, 2009 at 12:54:47AM +, M A Young wrote:
> But they aren't all as slow as vmware, nor is hardware virtualization  
> required for a faster solution, for example Xen does very well without  
> needing hardware support.

Xen can't virtualize Windows without hardware support.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Booting a gazillion linuxes?

2009-03-04 Thread Richard W.M. Jones
On Wed, Mar 04, 2009 at 04:46:38PM -0500, Tom Horsley wrote:
> On Wed, 4 Mar 2009 21:24:45 +
> Richard W.M. Jones wrote:
> 
> > Is there a reason you want to chainload them (except for Windows of
> > course)?
> 
> I don't care about chainloading so much, but I want them all to
> have independently owned and operated /boot partitions so I don't
> have to fool with manually fiddling with the entries in a shared
> /boot partition after updates and wot-not.
> 
> >From what I'm reading I can't have a /boot partition in an LVM,
> so I can't have enough "real" boot partitions to pair with my
> LVM roots (you can put a lot of roots on a 500GB drive :-).
> 
> I'd be happy to be mistaken about all that though.

You can't have a boot partition on LVM, _but_ you can share a single
boot partition between [certainly Fedora, RHEL and CentOS] guests.
You have to manually aggregate your grub.conf file, and make sure it
is saved somewhere else between each install (because installs
overwrite grub.conf), but other than there is no problem.

In fact, if only there was a "grub.conf.d", you wouldn't even have to
do that ...  An idea for Anaconda perhaps ...

You also have to make sure your /boot partition is large enough, given
that it will be holding 6x its normal number of kernels.  This is how
I have set up several machines, and it works fine.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.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/

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Booting a gazillion linuxes?

2009-03-04 Thread Richard W.M. Jones
On Tue, Mar 03, 2009 at 09:46:30PM -0500, Tom Horsley wrote:
> Any recommendations for the best way to organize a big
> old disk chock full of different versions of linux so I
> can boot different ones?
> 
> For just a few linux versions, I've used a stand alone
> grub and chainloaded different partitions which, in turn,
> have their own grub.
> 
> With enough different linux versions installed, I'll have to
> use LVMs instead of extended partitions, and it occurs to me
> that I have no idea if grub can be pointed at an LVM to
> chainload the linux there (I certainly don't see anything in
> the grub info file that mentions lvm or any syntax that
> might be used to reference one).

I do this - perhaps not gazillions, but 5 or 6 different versions of
Linux + a Windows partition.

  /dev/sda1  Windows
  /dev/sda2  Shared Linux /boot
  /dev/sda3  Shared Linux swap
  /dev/sda4  Linux PV containing all Linux root fs's

I use LVM for the Linux rootfs's, and I just have grub boot them
directly.

Is there a reason you want to chainload them (except for Windows of
course)?

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.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/

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Fedora Classroom talk: Using the Windows cross-compiler

2009-03-04 Thread Richard W.M. Jones
  Date:   Sunday, 8th March 2009
  Time:   18:15 UTC [1]
  Location:   Virtual -- #fedora-classroom on irc.freenode.net
  Details:https://fedoraproject.org/wiki/Classroom#The_Current_Timeline
  Background: https://fedoraproject.org/wiki/Features/Windows_cross_compiler
  IRC help:   https://fedoraproject.org/wiki/Communicate/IRCHowTo

A talk and interactive session, "Using the Windows cross-compiler":

  - API basics: POSIX, libc, Win32, gtk, Qt, etc.

  - Cross-compiler basics

  - Practical demonstration:
  setting up the cross-compiler in Fedora
  compiling a small Gtk program
  testing it in Wine
  building a Windows installer

  - Future directions (Win64, Mac OS X ?)

  - How to get involved

If you have root access to a Fedora 10 or rawhide install (i386 or
x86-64 only) you can follow along with the practical part.

Rich.

[1] For times around the world, see:
http://www.timeanddate.com/worldclock/fixedtime.html?day=8&month=3&year=2009&hour=18&min=15&sec=0&p1=0

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines