-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
target-s390: Don't compile in virtio-pci
As soon as virtio-pci.c gets compiled and used on S390 the internal qdev magic gets confused and tries to give us PCI devices instead of S390 virtio devices. Since we don't have PCI on S390, we can safely not compile virtio-pci at all. In order to do this I added a new config option "CONFIG_VIRTIO_PCI" that I enabled for every platform except S390. Thanks to this the change should be a complete nop for every other platform. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
- Loading branch information
Showing
18 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,3 +24,4 @@ CONFIG_SSI_SD=y | |
CONFIG_LAN9118=y | ||
CONFIG_SMC91C111=y | ||
CONFIG_DS1338=y | ||
CONFIG_VIRTIO_PCI=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
|
||
CONFIG_NAND=y | ||
CONFIG_PTIMER=y | ||
CONFIG_VIRTIO_PCI=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,4 @@ CONFIG_IDE_PIIX=y | |
CONFIG_NE2000_ISA=y | ||
CONFIG_PIIX_PCI=y | ||
CONFIG_SOUND=y | ||
CONFIG_VIRTIO_PCI=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
|
||
CONFIG_GDBSTUB_XML=y | ||
CONFIG_PTIMER=y | ||
CONFIG_VIRTIO_PCI=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# Default configuration for microblaze-softmmu | ||
|
||
CONFIG_PTIMER=y | ||
CONFIG_VIRTIO_PCI=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,4 @@ CONFIG_IDE_ISA=y | |
CONFIG_IDE_PIIX=y | ||
CONFIG_NE2000_ISA=y | ||
CONFIG_SOUND=y | ||
CONFIG_VIRTIO_PCI=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,4 @@ CONFIG_IDE_ISA=y | |
CONFIG_IDE_PIIX=y | ||
CONFIG_NE2000_ISA=y | ||
CONFIG_SOUND=y | ||
CONFIG_VIRTIO_PCI=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,4 @@ CONFIG_IDE_ISA=y | |
CONFIG_IDE_PIIX=y | ||
CONFIG_NE2000_ISA=y | ||
CONFIG_SOUND=y | ||
CONFIG_VIRTIO_PCI=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,4 @@ CONFIG_IDE_ISA=y | |
CONFIG_IDE_PIIX=y | ||
CONFIG_NE2000_ISA=y | ||
CONFIG_SOUND=y | ||
CONFIG_VIRTIO_PCI=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,4 @@ CONFIG_IDE_ISA=y | |
CONFIG_IDE_CMD646=y | ||
CONFIG_NE2000_ISA=y | ||
CONFIG_SOUND=y | ||
CONFIG_VIRTIO_PCI=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,4 @@ CONFIG_IDE_ISA=y | |
CONFIG_IDE_CMD646=y | ||
CONFIG_NE2000_ISA=y | ||
CONFIG_SOUND=y | ||
CONFIG_VIRTIO_PCI=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,4 @@ CONFIG_IDE_ISA=y | |
CONFIG_IDE_CMD646=y | ||
CONFIG_NE2000_ISA=y | ||
CONFIG_SOUND=y | ||
CONFIG_VIRTIO_PCI=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
CONFIG_USB_OHCI=y | ||
CONFIG_SERIAL=y | ||
CONFIG_PTIMER=y | ||
CONFIG_VIRTIO_PCI=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
CONFIG_USB_OHCI=y | ||
CONFIG_SERIAL=y | ||
CONFIG_PTIMER=y | ||
CONFIG_VIRTIO_PCI=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ CONFIG_ESCC=y | |
CONFIG_M48T59=y | ||
CONFIG_PTIMER=y | ||
CONFIG_FDC=y | ||
CONFIG_VIRTIO_PCI=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,4 @@ CONFIG_IDE_QDEV=y | |
CONFIG_IDE_PCI=y | ||
CONFIG_IDE_ISA=y | ||
CONFIG_IDE_CMD646=y | ||
CONFIG_VIRTIO_PCI=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,4 @@ CONFIG_IDE_PIIX=y | |
CONFIG_NE2000_ISA=y | ||
CONFIG_PIIX_PCI=y | ||
CONFIG_SOUND=y | ||
CONFIG_VIRTIO_PCI=y |