RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1111667 - RHEL: spice-vdagent does not resize the display
Summary: RHEL: spice-vdagent does not resize the display
Keywords:
Status: CLOSED DUPLICATE of bug 1075139
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: spice-vdagent
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Default Assignee for SPICE Bugs
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On: 1075139
Blocks: 1113520
TreeView+ depends on / blocked
 
Reported: 2014-06-20 16:47 UTC by Evgheni Dereveanchin
Modified: 2019-04-16 14:12 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-21 15:33:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Evgheni Dereveanchin 2014-06-20 16:47:13 UTC
Description of problem:
When installing RHEL7 in RHEV and connecting to it using remote-viewer, window size changes are not causing the VM screen to resize accordingly. spice-vdagentd is installed and running in the VM. The same virt-viewer works as expected with RHEL6 VMs.

Version-Release number of selected component (if applicable):
spice-vdagent-0.14.0-7.el7.x86_64 
xorg-x11-drv-qxl-0.1.1-9.el7.x86_64  

How reproducible:
always

Steps to Reproduce:
1. open VM console from RHEV
2. resize console window

Actual results:
VM screen resolution does not change

Expected results:
VM screen resolution matches new window size

Additional info:

Comment 1 Evgheni Dereveanchin 2014-06-20 16:52:37 UTC
Here's the output I got from vdagentd when running it in debug mode:

Jun 20 18:44:17.349197 spice-vdagentd: info: Active session: c1
Jun 20 18:44:33.767678 spice-vdagentd: info: Active session: 2
Jun 20 18:44:35.423233 spice-vdagentd: debug: new client accepted: 0x7f8f90e70a10, pid: 2496
Jun 20 18:44:35.423613 spice-vdagentd: info: Session for pid 2496: 2
Jun 20 18:44:35.423994 spice-vdagentd: debug: 0x7f8f90e70a10 sent version, arg1: 0, arg2: 0, size 7
Jun 20 18:44:35.424368 spice-vdagentd: debug: 0x7f8f90e70a10 is now the active session
Jun 20 18:44:36.363870 spice-vdagent[2496]: warning: warning could not get file xfer save dir, using cwd
Jun 20 18:44:36.371974 spice-vdagentd: debug: 0x7f8f90e70a10 received guest xorg resolution, arg1: 1024, arg2: 768, size 16
Jun 20 18:44:36.378383 spice-vdagentd: info: opening vdagent virtio channel
Jun 20 18:44:36.391023 spice-vdagentd: debug: New client connected
Jun 20 18:44:36.391237 spice-vdagentd: debug: 0x7f8f90e70a10 sent monitors config, arg1: 0, arg2: 0, size 28
Jun 20 18:44:36.392017 spice-vdagentd: debug: 0x7f8f90e70a10 received guest xorg resolution, arg1: 1024, arg2: 768, size 16
Jun 20 18:44:46.300841 spice-vdagentd: debug: 0x7f8f90e70a10 sent monitors config, arg1: 0, arg2: 0, size 328
Jun 20 18:44:46.302832 spice-vdagentd: debug: 0x7f8f90e70a10 received guest xorg resolution, arg1: 1024, arg2: 768, size 16
Jun 20 18:44:59.301212 spice-vdagentd: debug: 0x7f8f90e70a10 sent monitors config, arg1: 0, arg2: 0, size 328
Jun 20 18:44:59.309911 spice-vdagentd: debug: (nil) is now the active session
Jun 20 18:44:59.313557 spice-vdagentd: info: closed vdagent virtio channel
Jun 20 18:44:59.313915 spice-vdagentd: debug: 0x7f8f90e70a10 disconnected

The resolution never changed from 1024x768 and vdagent stopped responding completely after some time. Xorg.0.log does not list any attempts to resize the display either.

Comment 3 Marc-Andre Lureau 2014-06-20 17:54:14 UTC
are you using a rhel6 host? If yes, this is likely a duplicate of bug 1075139

rhel7 VM guest resize fine on f20 host.

(the resizing code path with rhel7 is very different, it doesn't really involve vdagent - it's handled by kernel & mutter)

Comment 4 Evgheni Dereveanchin 2014-06-21 10:53:02 UTC
Marc-Andre yes, a RHEL6 host is used (RHEL7 hosts are tech preview for RHEV 3.4 so all production RHEV deployments are on RHEL6). I can confirm that secondary display selection is unavailable either. The test build in 1075139 is for plain KVM, not RHEV so I am unable to confirm if it fixes the issue for me.

Comment 5 Ludek Smid 2014-06-26 09:06:22 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.

Comment 6 Ludek Smid 2014-06-26 11:15:46 UTC
The comment above is incorrect. The correct version is bellow.
I'm sorry for any inconvenience.
---------------------------------------------------------------

This request was NOT resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you need
to escalate this bug.

Comment 7 Marc-Andre Lureau 2014-07-03 17:37:09 UTC
please verify with scratchbuild from bug 1075139. thanks

Comment 9 Marc-Andre Lureau 2014-07-21 15:33:57 UTC
This is fixed with qemu-kvm-0.12.1.2-2.429.el6 from bug 1075139. marking as duplicate

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


Note You need to log in before you can comment on or make changes to this bug.