Bug 1327854

Summary: Auto resize VM don't work
Product: [Fedora] Fedora Reporter: rvcsaba
Component: spice-vdagentAssignee: Christophe Fergeau <cfergeau>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: alon, cfergeau, marcandre.lureau, pgrunt, sandmann, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-17 17:38:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description rvcsaba 2016-04-16 23:17:45 UTC
Description of problem:

I use qemu-kvm and virt-manager. Host is Fedora 24. Autoresize VM work, if guest is Windows XP, but don't work, if guest is Fedora 23 or Fedora 24.

On guest running spice-vdagentd daemon, and spice-vdagent client.

pgrep -l vdagent
783 spice-vdagentd
1364 spice-vdagent

Guest use Xfce desktop. On guest:

xrandr -q
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192
Virtual-0 connected 1024x768+0+0 0mm x 0mm
   1168x843      59.90 +
   1920x1200     59.88  
   1920x1080     59.96  
   1600x1200     59.87  
   1680x1050     59.95  
   1400x1050     59.98  
   1280x1024     59.89  
   1440x900      59.89  
   1280x960      59.94  
   1280x854      59.89  
   1280x800      59.81  
   1280x720      59.86  
   1152x768      59.78  
   1024x768      59.92* 
   800x600       59.86  
   848x480       59.66  
   720x480       59.71  
   640x480       59.38  
Virtual-1 disconnected
Virtual-2 disconnected
Virtual-3 disconnected

Xrandr command reported correct preferred resolution, but it not change automatically. Manually work:

xrandr --output Virtual-0 --auto

In virt-manager View -> Scale Display -> Auto resize VM with window checkbox state is on.


Version-Release number of selected component (if applicable):

On guest:

kernel-4.5.1-300.fc24.x86_64
spice-vdagent-0.16.0-3.fc24.x86_64
xorg-x11-server-Xorg-1.18.3-1.fc24.x86_64
xorg-x11-drv-qxl-0.1.4-7.fc24.x86_64


On host:

kernel-4.5.1-300.fc24.x86_64
libvirt-daemon-1.3.3-2.fc24.x86_64
qemu-kvm-2.6.0-0.1.rc2.fc24.x86_64
virt-manager-1.3.2-3.fc24.noarch


Expected results:

Auto resize VM work automatically.

Comment 1 Pavel Grunt 2016-04-17 17:38:59 UTC

*** This bug has been marked as a duplicate of bug 1290586 ***