]> Git Repo - qemu.git/commit
s390x/css: realize css_sch_build_schib
authorXiao Feng Ren <[email protected]>
Wed, 17 May 2017 00:48:04 +0000 (02:48 +0200)
committerCornelia Huck <[email protected]>
Fri, 19 May 2017 10:29:01 +0000 (12:29 +0200)
commit8f3cf0128cbac1ac19be8515dc184edb88dd5fb1
treee5f849d2ec1acaff59b28f6144912baca63788b1
parent274250c30158f60aefb46088a7bb0d711061226c
s390x/css: realize css_sch_build_schib

The S390 virtual css support already has a mechanism to build a
virtual subchannel information block (schib) and provide virtual
subchannels to the guest. However, to pass-through subchannels to
a guest, we need to introduce a new mechanism to build its schib
according to the real device information. Thus we realize a new css
sch_build_schib function to extract the path_masks, chpids, chpid
type from sysfs. To reuse the existing code, we refactor
css_add_virtual_chpid to css_add_chpid.

Reviewed-by: Pierre Morel <[email protected]>
Signed-off-by: Xiao Feng Ren <[email protected]>
Signed-off-by: Dong Jia Shi <[email protected]>
Message-Id: <20170517004813[email protected]>
Signed-off-by: Cornelia Huck <[email protected]>
hw/s390x/css.c
include/hw/s390x/css.h
This page took 0.027054 seconds and 4 git commands to generate.