Files
xen/tools/libxl
Tiejun Chen 488508b49a libxl: introduce gfx_passthru_kind
Although we already have 'gfx_passthru' in b_info, this doesn't suffice
after we want to handle IGD specifically. Now we define a new field of
type, gfx_passthru_kind, to indicate we're trying to pass IGD. Actually
this means we can benefit this to support other specific devices just
by extending gfx_passthru_kind. And then we can cooperate with
gfx_passthru to address IGD cases as follows:

    gfx_passthru = 0    => sets build_info.u.gfx_passthru to false
    gfx_passthru = 1    => sets build_info.u.gfx_passthru to true and
                           build_info.u.gfx_passthru_kind to DEFAULT
    gfx_passthru = "igd"    => sets build_info.u.gfx_passthru to true
                               and build_info.u.gfx_passthru_kind to IGD

Here if gfx_passthru_kind = DEFAULT, we will call
libxl__is_igd_vga_passthru() to check if we're hitting that table to need
to pass that option to qemu. But if gfx_passthru_kind = "igd" we always
force to pass that.

And "-gfx_passthru" is just introduced to work for qemu-xen-traditional
so we should get this away from libxl__build_device_model_args_new() in
the case of qemu upstream.

Signed-off-by: Tiejun Chen <tiejun.chen@intel.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
2015-09-25 15:59:06 +01:00
..
2013-10-10 15:48:55 +01:00
2015-06-26 16:53:51 +01:00
2012-10-05 14:34:30 +01:00
2014-07-10 13:06:55 +01:00
2015-09-24 11:46:29 +01:00
2015-09-25 15:59:06 +01:00
2015-07-07 15:50:12 +01:00
2015-06-03 11:12:02 +01:00
2015-09-24 11:46:29 +01:00
2015-09-25 15:59:06 +01:00
2013-10-10 15:48:55 +01:00
2015-08-11 15:39:01 +01:00
2011-10-12 16:21:32 +01:00
2015-01-19 15:32:17 +00:00
2015-09-24 11:46:29 +01:00
2015-01-27 16:34:05 +00:00