Features/VirtImprovedConsole

From FedoraProject

< Features(Difference between revisions)
Jump to: navigation, search
m (add to virt category)
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{admon/important | Comments and Explanations | The page source contains comments providing guidance to fill out each section.  They are invisible when viewing this page.  To read it, choose the "edit" link.<br/> '''Copy the source to a ''new page'' before making changes!  DO NOT EDIT THIS TEMPLATE FOR YOUR FEATURE.'''}}
 
 
<!-- All fields on this form are required to be accepted by FESCo.
 
We also request that you maintain the same order of sections so that all of the feature pages are uniform.  -->
 
 
<!-- The actual name of your feature page should look something like: Features/YourFeatureName.  This keeps all features in the same namespace -->
 
 
 
= Improved graphical console for virtual guests =
 
= Improved graphical console for virtual guests =
  
Line 12: Line 5:
  
 
== Owner ==
 
== Owner ==
 
 
* Name: [[User:DanielBerrange| DanielBerrange]]
 
* Name: [[User:DanielBerrange| DanielBerrange]]
 
<!-- Include you email address that you can be reached should people want to contact you about helping with your feature, status is requested, or  technical issues need to be resolved-->
 
 
* email: berrange@fedoraproject.org
 
* email: berrange@fedoraproject.org
  
 
== Current status ==
 
== Current status ==
 
* Targeted release: [[Releases/11 | Fedora 11 ]]  
 
* Targeted release: [[Releases/11 | Fedora 11 ]]  
* Last updated: 2009-02-26
+
* Last updated: 2009-02-27
* Percentage of completion: 50%
+
* Percentage of completion: 100%
  
 
== Detailed Description ==
 
== Detailed Description ==
Line 41: Line 31:
 
# Install a new guest using virt-install or virt-manager, being sure to select 'Linux + Fedora 11' as the OS type + variant
 
# Install a new guest using virt-install or virt-manager, being sure to select 'Linux + Fedora 11' as the OS type + variant
 
# Observe installer starting in 1024x768 screen resolution
 
# Observe installer starting in 1024x768 screen resolution
# sing virt-viewer or virt-manager as a VNC client, the mouse pointer in the guest should track 1-to-1 with the local desktop mouse, and not require any pointer grab
+
# Using virt-viewer or virt-manager as a VNC client, the mouse pointer in the guest should track 1-to-1 with the local desktop mouse, and not require any pointer grab
 
# Complete install and boot new system.
 
# Complete install and boot new system.
 
# X should come up in 1024x768 resolution again, and mouse pointer should still be tracking 1-to-1 and not require pointer grab
 
# X should come up in 1024x768 resolution again, and mouse pointer should still be tracking 1-to-1 and not require pointer grab
Line 52: Line 42:
 
== Dependencies ==
 
== Dependencies ==
 
This impacts
 
This impacts
* hal for FDI rules for USB tablet https://bugzilla.redhat.com/show_bug.cgi?id=487025
+
* hal for FDI rules for USB tablet [COMPLETED] https://bugzilla.redhat.com/show_bug.cgi?id=487025
* xorg-x11-drv-cirrus  for larger screen resolution https://bugzilla.redhat.com/show_bug.cgi?id=251264
+
* xorg-x11-drv-cirrus  for larger screen resolution [COMPLETED] https://bugzilla.redhat.com/show_bug.cgi?id=251264
* kvm/qemu for PCI vendor ID on cirrus card https://bugzilla.redhat.com/show_bug.cgi?id=487118
+
* kvm/qemu for PCI vendor ID on cirrus card [COMPLETED] https://bugzilla.redhat.com/show_bug.cgi?id=487118
* virt-install for default USB tablet in F11 guests https://bugzilla.redhat.com/show_bug.cgi?id=487028
+
* virt-install for default USB tablet in F11 guests [COMPLETED] https://bugzilla.redhat.com/show_bug.cgi?id=487028
  
 
== Contingency Plan ==
 
== Contingency Plan ==
Line 66: Line 56:
  
 
== Release Notes ==
 
== Release Notes ==
<!-- The Fedora Release Notes inform end-users about what is new in the release.  Examples of past release notes are here: http://docs.fedoraproject.org/release-notes/ -->
+
Previous Fedora virtual guest consoles were limited to a screen
<!-- The release notes also help users know how to deal with platform changes such as ABIs/APIs, configuration or data file formats, or upgrade concerns.  If there are any such changes involved in this feature, indicate them here. You can also link to upstream documentation if it satisfies this need.  This information forms the basis of the release notes edited by the documentation team and shipped with the release. -->
+
resolution of 800x600, and the <code>PS2</code> mouse pointer operated in
* '''FIXME'''--Needed?
+
relative coordinate mode. This prevented the guest pointer from tracking
 +
the local client pointer one for one.
  
== Comments and Discussion ==
+
Fedora 11 provides more accurate mouse pointer positioning and higher
* See [[Talk:Features/VirtImprovedConsole]]  <!-- This adds a link to the "discussion" tab associated with your page. This provides the ability to have ongoing comments or conversation without bogging down the main feature page -->
+
screen resolutions for virtual machine consoles.
 +
Fedora 11 guests default to a screen resolution of at least 1024x768,
 +
and are provided with a <code>USB</code> tablet in absolute coordinate
 +
mode. This results in a mouse pointer which tracks the local client pointer one
 +
for one.
  
 +
== Comments and Discussion ==
 +
* See [[Talk:Features/VirtImprovedConsole]]
  
[[Category:FeatureReadyForWrangler]] [[Category:F11_Virt_Features]]
+
[[Category:FeatureAcceptedF11]]
 +
[[Category:F11_Virt_Features|VirtImprovedConsole]]
 +
[[Category:Virtualization|VirtImprovedConsole]]
 
<!-- When your feature page is completed and ready for review -->
 
<!-- When your feature page is completed and ready for review -->
 
<!-- remove Category:FeaturePageIncomplete and change it to Category:FeatureReadyForWrangler -->
 
<!-- remove Category:FeaturePageIncomplete and change it to Category:FeatureReadyForWrangler -->
 
<!-- After review, the feature wrangler will move your page to Category:FeatureReadyForFesco... if it still needs more work it will move back to Category:FeaturePageIncomplete-->
 
<!-- After review, the feature wrangler will move your page to Category:FeatureReadyForFesco... if it still needs more work it will move back to Category:FeaturePageIncomplete-->
 
<!-- A pretty picture of the page category usage is at: https://fedoraproject.org/wiki/Features/Policy/Process -->
 
<!-- A pretty picture of the page category usage is at: https://fedoraproject.org/wiki/Features/Policy/Process -->

Latest revision as of 10:50, 19 March 2009

Contents

[edit] Improved graphical console for virtual guests

[edit] Summary

This feature aims to improve the user experiance for virtual guests' graphical console, by providing an accurate mouse pointer and higher screen resolution, without requiring manual configuration.

[edit] Owner

[edit] Current status

  • Targeted release: Fedora 11
  • Last updated: 2009-02-27
  • Percentage of completion: 100%

[edit] Detailed Description

In Fedora 10 and earlier the virtual guest console is limited to a screen resolution of 800x600. The PS2 mouse pointer operates in relative coordinate mode, meaning the guest pointer does not track the local client pointer 1-for-1. In Fedora 11 the goal is to have the screen default to at least 1024x768 resolution out of the box. New installs of F11 will also be provided with a USB tablet and X in the guest will automatically detect & configure this in absolute coordinate mode out of the box. This will result in a mouse pointer which tracks the local client pointer 1-for-1.

[edit] Benefit to Fedora

Increased screen real-estate of 1024x768 will improve usability of programs in the guest, in particular anaconda and firstboot which struggle to fit their whole UI into the current 800x600 real estate. Users of virt-manager and virt-viewer will have a mouse pointer which works without requiring a pointer grab

[edit] Scope

For the screen resolution change:

  • Enhance KVM/QEMU to identify its Cirrus card with the Red Hat PCI vendor ID
  • Enhance X cirrus driver to look for Red Hat PCI vendor ID, and thus enable 1024x768 resolution

For mouse pointer changes:

  • Add HAL FDI rules to identify the USB tablet and assign it a 'evdev' driver
  • Make virt-install/virt-manager enable a USB tablet for all F11 guest installs

[edit] How To Test

  1. Install a new guest using virt-install or virt-manager, being sure to select 'Linux + Fedora 11' as the OS type + variant
  2. Observe installer starting in 1024x768 screen resolution
  3. Using virt-viewer or virt-manager as a VNC client, the mouse pointer in the guest should track 1-to-1 with the local desktop mouse, and not require any pointer grab
  4. Complete install and boot new system.
  5. X should come up in 1024x768 resolution again, and mouse pointer should still be tracking 1-to-1 and not require pointer grab

For added bonus, look in /var/log/Xorg.0.log and verify that it enabled 'QEMU USB Tablet' device with evdev.

[edit] User Experience

The user will have larger screen real estate for the guest console, and a more pleasant mouse pointer

[edit] Dependencies

This impacts

[edit] Contingency Plan

If screen resolution changes can't be completed, guests will continue to use current 800x600 resolution

If mouse pointer changes can't be completed, guest will continue to use PS/2 mouse

[edit] Documentation

  • There should be no documentation required, since the core point of the feature is that everything should 'just work' without any configuration required by the user.

[edit] Release Notes

Previous Fedora virtual guest consoles were limited to a screen resolution of 800x600, and the PS2 mouse pointer operated in relative coordinate mode. This prevented the guest pointer from tracking the local client pointer one for one.

Fedora 11 provides more accurate mouse pointer positioning and higher screen resolutions for virtual machine consoles. Fedora 11 guests default to a screen resolution of at least 1024x768, and are provided with a USB tablet in absolute coordinate mode. This results in a mouse pointer which tracks the local client pointer one for one.

[edit] Comments and Discussion