Monday, May 27, 2013

Fedora 19 Virt Test Day is tomorrow, Tuesday May 28th

The Fedora 19 Virt Test Day is tomorrow, Tuesday May 28th. Check out the test day landing page:

https://fedoraproject.org/wiki/Test_Day:2013-05-28_Virtualization

If you're interested in trying out some new virt functionality, there's step by step instructions for:

* Live migrate a VM without the need for shared storage
* Virtio RNG, a paravirtual random number generator for VMs
* PCI device assignment using VFIO

Even if you aren't interested in testing new features, we still need you! The test day is the perfect time to make sure your virt workflow is working fine on Fedora 19, as there will be several developers on hand to answer any questions, help with debugging, provide patches, etc. No requirement to run through test cases on the wiki, just show up and let us know what works (or breaks).

If you can't make the date of the test day, adding test case results to the wiki anytime next week is fine as well. Though if you do plan on showing up to the test day, add your name to the participant list on the wiki, and when the day arrives, pop into #fedora-test-day on freenode and give us a shout!

Thanks,
Cole

Monday, January 28, 2013

Fedora 18 notification sound is now a 'drip' noise

One random change I noticed during the F18 cycle was that the default notification noise changed from an innocuous 'bell' sound to a 'water drip' noise. While I turn off all terminal noises, this sound still pops up in Firefox and Thunderbird when a ctrl-f quick search doesn't find a match, and in my F18 VMs with default configuration. And while I'm sure many developers just turn off all sound effects, I find them useful for email and IRC notifications.

This new sound is offensive to my ears, one small step below nails on a chalk board. Unfortunately there is no way to undo this change in gnome-control-center's Sound panel, just 2 choices for the drip noise ('default' and 'drip'), and some other comical choices like a dog 'bark'. Nothing as unoffensive as the previous default. I (just yesterday) filed a bug against control-center asking for a way to restore the old behavior.

However, if you want to revert it in a hacky way, this should cover you until the next time sound-theme-freedesktop is updated:

 sudo wget http://cgit.freedesktop.org/sound-theme-freedesktop/plain/stereo/bell.oga?id=38bc773912317a2163083b6f483fbc8e6fb61123 -O /usr/share/sounds/freedesktop/stereo/bell.oga

<rant>Why this was changed is really anyone's guess. The commit message is needlessly vague. I couldn't find any mailing list posting on freedesktop lists or gnome's desktop-devel-list, nor any bug report that might have spurned the change. The 'bell' noise was just overwritten in place, despite the fact that the new noise is not remotely a 'bell' sound, though I guess the bell name is about the action and not the sound content. The git repo had been unchanged for nearly 3 years, not an issue in itself, just makes the above bits stick out even more. And finally I really don't understand why the most common sound effect on a stock install would be a noise that is an annoyance by nature: a dripping/leaking faucet.</rant>

Wednesday, October 31, 2012

Fedora 18 Virt Test day is Tomorrow, Thurs Nov 1st

The Fedora 18 Virt Test Day is Thursday, November 1st. That's tomorrow!

https://fedoraproject.org/wiki/Test_Day:2012-11-01_Virtualization

If you're interested in trying out some new virt functionality, we've got
step by step instructions for:

* Using snapshots to backup disk images of a live VM with no VM downtime
* Assigning a physical USB3 device to your VM
* Assign a local USB device to your VM, even if the VM is on a remote machine!
* Setting disk IO bandwidth limits on your VM
* Suspend and Hibernate your VMs
* Enabling the PV EOI performance optimization for your VMs
* Using kernel syscall filters (seccomp) to further secure your host
  against VM exploits (currently busted but we are working on a fix)

Of course, maybe you don't care about new features. We still need you! The
test day is the perfect time to make sure your virt workflow is working fine
on Fedora 18, as there will be several developers on hand to answer any
questions, help with debugging, provide patches, etc. No requirement to run
through test cases on the wiki, just show up and let us know what works (or
breaks).

And to be clear, while it is greatly preferred that you have a physical
machine running Fedora 18, participating in the test day does NOT require
it: you can test the latest virt bits on Fedora 17 courtesy of the
virt-preview repo. For more details, as well as easy instructions on updating
to Fedora 18, see:

https://fedoraproject.org/wiki/Test_Day:2012-11-01_Virtualization#What.27s_needed_to_test

If you plan on showing up to the test day, add your name to the participant
list on the wiki, and on Thursday, pop into #fedora-test-day on freenode
and give us a shout!

Thanks,
Cole

Friday, February 27, 2009

virt-manager in Fedora 11: 'New VM' wizard redesign

There are some pretty big changes queued up for virt-manager in Fedora 11: foremost among them is a completely redesigned 'New Virtual Machine' wizard.

The current wizard has clearly started to show its age. The original design was largely based on xen specific assumptions and the state of libvirt/virtinst at the time: many of those assumptions don't apply today, or require a bit more thought since we now support both xen and qemu based VMs.

So, some screenshots!

Page 1: VM Name and Install method




We scrapped the 'intro' page: I don't think anyone will miss it. Having the 'name' box occupy an entire page by itself was also a bit overkill, so we did away with that as well.

One of the biggest changes we've made from the old design is that we no longer ask upfront about paravirt vs. fullvirt, VM architecture, or qemu vs. kvm vs. xenner. For new users, this has been an endless pain point ("Why can't I install a PV kvm guest?" among others) and is really a distinction we don't need to force on people: we are certainly in a position to choose sensible defaults (and for kvm, paravirt/virtio has always been setup in the background depending on what OS version is being installed). The logic for the defaults are now as follows:
  • For the qemu libvirt driver, use the first available of the following: kvm, plain qemu, xenner.
  • For the xen libvirt driver, use paravirt if the user selects a URL install and the tree supports it, otherwise use fullvirt.
  • Always default to the host architecture for new VMs.
We allow the user to deviate from these defaults in the final screen under the 'Advanced Options' section.

Also, you'll notice there is a generic 'Computer' icon in the wizard header: this will soon be replaced by a custom icon.

The one new piece here is the option to choose the libvirt connection to install on. Rather than have the 'New' button on the main manager window be conditionally sensitive, the user can now always launch the wizard, choosing the connection from there.


Page 2: Install media info

CD-ROM/ISO page



URL Install



This hasn't deviated much from the current options: the one difference is that the OS Type/Variant choice has been moved to these screens. This will allow us in the future to offer automatic distro detection based on the selected install media (we may have this for URL installs by the time the release goes out).

Since PXE installs require no extra input, the screen will only have the OS Type/Variant option listed.


Page 3: CPU + Mem details




We dropped the max memory vs. default memory split that is in the existing wizard: it doesn't have much meaning the qemu/kvm world, and even for xen it isn't something that needs to be asked up front. The user can always change it later.

Also, rather than list tons of warning information about overcommitting vcpus, we simply cap the amount at the number available on the host. If for some reason a user wants to allocate more than the host amount of virtual cpus to a VM (say for development purposes) it can easily be done post-install.


Page 4: Storage




The main change here is that we removed the block device vs. file device dichotomy: we are pretty capable of making this distinction behind the scenes.

The option is also now available to skip adding storage altogether: this is useful in the case of Live CDs or diskless PXE booting.

When adding storage, the two options are now:

1 - "Create a disk image on the computer's hard drive": We set up a libvirt storage pool behind the scenes to point to the default location (if using PolicyKit or running as root, this is /var/lib/libvirt/images) and allocate a disk image based on the requested size.

In the future, the default location will be configurable with a global preference.

2 - "Use managed or other existing storage" : This allows pointing to an existing path, or provisioning more complex storage on demand (this is dependent on a libvirt storage API aware browser dialog, which is ongoing work. For the time being, this just launches a local GTK file browser).

The one piece not shown here is the option to choose sparse Vs. non-sparse. We will be putting this back in before the final version is done.


Page 5: Summary and Advanced Options






The summary section is pretty straight forward, no surprises here. The 'Advanced Options' section encompasses networking, hypervisor, and architecture options. The hypervisor and arch defaults were explained above.

For networking, the default is:
  • A bridge device if any exist, else
  • Virtual Network 'default' (comes with libvirt), else
  • First available virtual network, else
  • No networking!
This logic will be globally configurable at some point, e.g. if you wanted to use a specific bridge device or virtual network for all new VMs. We also decided to put all the available networking options into 1 drop down, rather than have 2 separate sections for bridges vs. virtual networking.


I think that covers all the significant bits, hopefully other than that the screenshots speak for themselves. I hope you'll agree it's a much simpler and usable layout. This design was largely done by Tim Allen (former Red Hatter) and Jeremy Perry (current Red Hatter), so a big thank you to them.

Any feedback is appreciated: none of this set in stone.

Thanks,
Cole

Thursday, December 4, 2008

Fedora planet introduction

Hello Fedora land!

My name is Cole Robinson, I'm a developer at Red Hat working on some of the userland virt stack (virt-manager, virt-install, libvirt) for Fedora, RHEL, and upstream.

I'll be posting in an effort to make things a bit more transparent in virt land, keeping people updated on developments that are coming down the pipe, and hopefully solicit feedback on some of the user facing bits. I'm on IRC as 'crobinso', so feel free to ping me if you have questions or problems with any of the above packages.

Some info about me: I'm 23, live in Massachusetts, and spend most of my money on dance music (largely drum + bass these days, though I really don't discriminate). So hello everyone!