]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen: only check xen_platform_pci_unplug if hvm
authorIgor Mammedov <imammedo@redhat.com>
Tue, 27 Mar 2012 17:31:08 +0000 (19:31 +0200)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 19 Apr 2012 21:18:41 +0000 (17:18 -0400)
commit006f13d4e1b2ed43bf9f94370f4e5c36d5a9f10e
treeb05890652cedb35da21a131e10c35f15998fd0bb
parent6d949c39900f880697f5e937e4cea1676caeb282
xen: only check xen_platform_pci_unplug if hvm

commit b9136d207f08
  xen: initialize platform-pci even if xen_emul_unplug=never

breaks blkfront/netfront by not loading them because of
xen_platform_pci_unplug=0 and it is never set for PV guest.

[upstream git commit e95ae5a]
Signed-off-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/block/xen-blkfront.c
drivers/net/xen-netfront.c