On Wed, Jul 27, 2011 at 04:02:49PM -0700, Naga Mohan Pothula wrote: > Hi Alon, > > My requirement is to execute Disconnect/Extend displays thru > Vdagent/Vdservice by passing IOCTL_VIDEO_SWITCH_DUALVIEW to qxl driver. > I haven't seen it is handled by miniport module. I want to know How QXL > driver handles Disconnect/Extend displays? > Can you please give me clear idea of handling this?
Windows enables / disables devices via DrvAssertMode function of the display driver (qxldd.dll), not the miniport. This happens when a device is enabled or disabled, either by a user via display settings, or by the agent. The agent disables/enables screens based on a message from the client that wants the vm to have the same amount (if possible) of screens on the vm as on the client. In practice that means you need to start the vm with the maximum number of screens you expect a client to have. 4 is the limit of the QXL driver. > > > Thanks/Mohan. > > > ________________________________ > From: Naga Mohan Pothula <[email protected]> > To: Naga Mohan Pothula <[email protected]>; > "[email protected]" <[email protected]> > Sent: Sunday, July 24, 2011 9:54 PM > Subject: Re: [Spice-devel] Dual head issues with Win7 Guests... > > > Hi, > > I'm eagerly looking for your suggestions on below issues. Tested with Spice > v0.8.1 and Spice-protocol v0.8.0 > > 1.) Currently, Spice Agent/QXL driver doesn't handle Dual head to Single head > roaming(ie., Spice client should detect physical monitors and pass info to > Vdservice > and this to QXL driver for Extend/Disconnect displays > > 2.) Setting max resolution for Guest system displays based on physical > monitor resolution. > > 3.) currently Auto-config is working only for primary display and it should > work for secondary display too. > > > Thanks, > Mohan. > > > > ________________________________ > From: Naga Mohan Pothula <[email protected]> > To: "[email protected]" <[email protected]> > Sent: Tuesday, July 12, 2011 2:54 AM > Subject: [Spice-devel] Dual head issues with Win7 Guests... > > > Hi, > > I did setup Dual head environment for Win7 guests with Spice v0.8.1, and > using Qemu v0.14.0. I'm facing few issues with this environment. > > 1.) I've noticed Secondary display is disconnected by default. I'm trying to > Extend /Disconnect Displays at win7 Guest based on physical monitors info. at > client. > Could anyone give info for achieving this.(I'm thinking vdservice needs > to be used for this to pass IOCTLs to QXL driver as roaming of Single head to > Dual head and vice versa happens frequently ). > > 2.) Currently, user is allowed to choose incompatible resolution ie., > choosing resolution greater than resolution supported by physical monitor. > I have plan setting max resolution for Primary and Secondary displays > based on resolution supported by Primary and Secondary monitors. > > Can anyone please provide approaches for doing above two scenarios? > > > > Thanks, > Mohan. > _______________________________________________ > Spice-devel mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/spice-devel _______________________________________________ Spice-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/spice-devel
