summary refs log tree commit diff stats
path: root/results/classifier/accel-gemma3:12b/kvm/1657
blob: 601845607fc7a76defebf82e014c772bbcde766e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Unable to use ide hard drive when using xlnx-zcu102 board
Description of problem:
I have only recently started using qemu and am reading content related to ahci. When I started QEMU using the above command line (I did not specify the Linux kernel because I only wanted to see which devices were initialized on the motherboard), I found the following devices in the device tree:
 ```
dev: sysbus-ahci, id ""

gpio-out "sysbus-irq" 1

num-ports = 2 (0x2)

mmio 00000000fd0c0000/0000000000001000

bus: ide.1

type IDE

bus: ide.0

type IDE
 ```

I think this is similar to the ICH9 ahci device, so I tried to mount an IDE hard drive(using command line:-drive file=./testide.img)but failed. QEMU shows
 ```
qemu-system-aarch64: -drive file=./ testide.img: machine type does not support if=ide,bus=0,unit=0
 ```
So if the ide bus generated by sysbus ahci cannot mount a hard drive, what device should it mount?
It will be grateful if anyone can answer this question.
Steps to reproduce:
1.
2.
3.
Additional information: