docs: Minor updates around ide-drive
cover docs: Minor updates around ide-drive
Markus Armbruster (2):
docs qemu-doc: Avoid ide-drive, it's deprecated docs/qdev-device-use.txt: update section Default Devices
docs/bootindex.txt | 2 +- docs/qdev-device-use.txt | 13 +++++++------ qemu-options.hx | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-)
Signature · 1 line
2.7.4
PATCH 1/2 docs qemu-doc: Avoid ide-drive, it's deprecated
--- docs/bootindex.txt | 2 +- docs/qdev-device-use.txt | 4 ++-- qemu-options.hx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)
docs/bootindex.txt +1 -1
@@ -13,7 +13,7 @@ Let's assume we have a QEMU machine with two NICs (virtio, e1000) and two disks (IDE, virtio): qemu -drive file=disk1.img,if=none,id=disk1 - -device ide-drive,drive=disk1,bootindex=4 + -device ide-hd,drive=disk1,bootindex=4 -drive file=disk2.img,if=none,id=disk2 -device virtio-blk-pci,drive=disk2,bootindex=3 -netdev type=user,id=net0 -device virtio-net-pci,netdev=net0,bootindex=2
docs/qdev-device-use.txt +2 -2
@@ -31,8 +31,8 @@ A QEMU block device (drive) has a host and a guest part. In the general case, the guest device is connected to a controller device. For instance, the IDE controller provides two IDE buses, each -of which can have up to two ide-drive devices, and each ide-drive -device is a guest part, and is connected to a host part. +of which can have up to two devices, and each device is a guest part, +and is connected to a host part. Except we sometimes lump controller, bus(es) and drive device(s) all together into a single device. For instance, the ISA floppy
qemu-options.hx +1 -1
@@ -224,7 +224,7 @@ STEXI Set default value of @var{driver}'s property @var{prop} to @var{value}, e.g.: @example -qemu-system-i386 -global ide-drive.physical_block_size=4096 -drive file=file,if=ide,index=0,media=disk +qemu-system-i386 -global ide-hd.physical_block_size=4096 disk-image.img @end example In particular, you can use this to set driver properties for devices which are
Signature · 1 line
2.7.4
Re: [Qemu-devel] [PATCH 1/2] docs qemu-doc: Avoid ide-drive, it's deprecated
Quoted 42 lines · Markus Armbruster
Suggested-by Thomas Huth <[email protected]>Signed-off-by Markus Armbruster <[email protected]>--- docs/bootindex.txt | 2 +- docs/qdev-device-use.txt | 4 ++-- qemu-options.hx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)docs/bootindex.txt +1
-1@@ -13,7 +13,7 @@ Let's assume we have a QEMU machine with two NICs (virtio, e1000) and two disks (IDE, virtio): qemu -drive file=disk1.img,if=none,id=disk1 - -device ide-drive,drive=disk1,bootindex=4 + -device ide-hd,drive=disk1,bootindex=4 -drive file=disk2.img,if=none,id=disk2 -device virtio-blk-pci,drive=disk2,bootindex=3 -netdev type=user,id=net0 -device virtio-net-pci,netdev=net0,bootindex=2docs/qdev-device-use.txt +2
-2@@ -31,8 +31,8 @@ A QEMU block device (drive) has a host and a guest part. In the general case, the guest device is connected to a controller device. For instance, the IDE controller provides two IDE buses, each -of which can have up to two ide-drive devices, and each ide-drive -device is a guest part, and is connected to a host part. +of which can have up to two devices, and each device is a guest part, +and is connected to a host part. Except we sometimes lump controller, bus(es) and drive device(s) all together into a single device. For instance, the ISA floppyqemu-options.hx +0
-0
qemu-options.hx STEXI · line 230
Quoted 8 lines
qemu-options.hx +1
-1@@ -224,7 +224,7 @@ STEXI Set default value of @var{driver}'s property @var{prop} to @var{value}, e.g.: @example -qemu-system-i386 -global ide-drive.physical_block_size=4096 -drive file=file,if=ide,index=0,media=disk +qemu-system-i386 -global ide-hd.physical_block_size=4096 disk-image.img @end example In particular, you can use this to set driver properties for devices which are
PATCH 2/2 docs/qdev-device-use.txt: update section Default Devices
In reply to Markus ArmbrusterResynchronize the table of default device suppressions with vl.c's default_list[].
--- docs/qdev-device-use.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
docs/qdev-device-use.txt +5 -4
@@ -401,12 +401,13 @@ type. some DEVNAMEs: default device suppressing DEVNAMEs - CD-ROM ide-cd, ide-drive, scsi-cd - isa-fdc's driveA isa-fdc + CD-ROM ide-cd, ide-drive, ide-hd, scsi-cd, scsi-hd + isa-fdc's driveA floppy, isa-fdc parallel isa-parallel serial isa-serial - VGA VGA, cirrus-vga, vmware-svga - virtioconsole virtio-serial-pci, virtio-serial-s390, virtio-serial + VGA VGA, cirrus-vga, isa-vga, isa-cirrus-vga, + vmware-svga, qxl-vga, virtio-vga + virtioconsole virtio-serial-pci, virtio-serial The default NIC is connected to a default part created along with it. It is *not* suppressed by configuring a NIC with -device (you may call
Signature · 1 line
2.7.4
Re: [Qemu-devel] [PATCH 2/2] docs/qdev-device-use.txt: update section Default Devices
Quoted 14 lines · Markus Armbruster
Resynchronize the table of default device suppressions with vl.c's default_list[].
Signed-off-by Markus Armbruster <[email protected]>--- docs/qdev-device-use.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)docs/qdev-device-use.txt +0
-0@@ -401,12 +401,13 @@ type. some DEVNAMEs:
docs/qdev-device-use.txt type. · line 409
Quoted 10 lines
docs/qdev-device-use.txt +2
-4default device suppressing DEVNAMEs - CD-ROM ide-cd, ide-drive, scsi-cd - isa-fdc's driveA isa-fdc + CD-ROM ide-cd, ide-drive, ide-hd, scsi-cd, scsi-hd + isa-fdc's driveA floppy, isa-fdc parallel isa-parallel serial isa-serial - VGA VGA, cirrus-vga, vmware-svga - virtioconsole virtio-serial-pci, virtio-serial-s390, virtio-serial
virtio-serial-s390 has been removed by commit 7b3fdbd9a8267, so that should be OK.
docs/qdev-device-use.txt type. · line 413
Quoted 6 lines
docs/qdev-device-use.txt +3
-0+ VGA VGA, cirrus-vga, isa-vga, isa-cirrus-vga, + vmware-svga, qxl-vga, virtio-vga + virtioconsole virtio-serial-pci, virtio-serial The default NIC is connected to a default part created along with it. It is *not* suppressed by configuring a NIC with -device (you may call
I mis-pasted cc: Thomas. Sorry for the inconvenience.
Quoted 9 lines · Markus Armbruster
Markus Armbruster (2):
docs qemu-doc: Avoid ide-drive, it's deprecateddocs/qdev-device-use.txt: update section Default Devicesdocs/bootindex.txt | 2 +- docs/qdev-device-use.txt | 13 +++++++------ qemu-options.hx | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-)
Shame on me for not noticing, but thank you.
Quoted 11 lines · John Snow
Quoted 9 lines · Markus Armbruster
Markus Armbruster (2):
docs qemu-doc: Avoid ide-drive, it's deprecateddocs/qdev-device-use.txt: update section Default Devicesdocs/bootindex.txt | 2 +- docs/qdev-device-use.txt | 13 +++++++------ qemu-options.hx | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-)
Quoted 3 lines
Shame on me for not noticing, but thank you.
Acked-by John Snow <[email protected]>
Thanks!
The canonical path is through your tree, but I could stick it into a miscellaneous pull request if you like.
Quoted 13 lines · Markus Armbruster
Quoted 11 lines · John Snow
Quoted 9 lines · Markus Armbruster
Markus Armbruster (2):
docs qemu-doc: Avoid ide-drive, it's deprecateddocs/qdev-device-use.txt: update section Default Devicesdocs/bootindex.txt | 2 +- docs/qdev-device-use.txt | 13 +++++++------ qemu-options.hx | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-)
Quoted 8 lines
Quoted 3 lines
Shame on me for not noticing, but thank you.
Acked-by John Snow <[email protected]>Thanks!
The canonical path is through your tree, but I could stick it into a miscellaneous pull request if you like.
Nevermind, qemu-trivial picked it up.
Quoted 17 lines · Markus Armbruster
Quoted 15 lines · Markus Armbruster
Quoted 13 lines · John Snow
Quoted 9 lines · Markus Armbruster
Markus Armbruster (2):
docs qemu-doc: Avoid ide-drive, it's deprecateddocs/qdev-device-use.txt: update section Default Devicesdocs/bootindex.txt | 2 +- docs/qdev-device-use.txt | 13 +++++++------ qemu-options.hx | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-)Shame on me for not noticing, but thank you.
Quoted 9 lines
Quoted 6 lines
Quoted 1 line
Acked-by John Snow <[email protected]>Thanks!
The canonical path is through your tree, but I could stick it into a miscellaneous pull request if you like.
Nevermind, qemu-trivial picked it up.
That was my assumption since it went to -trivial :) Glad my inaction helped sort it out.
Michael Tokarev
AppliedQuoted 3 lines · Markus Armbruster
Markus Armbruster (2):
docs qemu-doc: Avoid ide-drive, it's deprecateddocs/qdev-device-use.txt: update section Default Devices
Applied to -trivial, thanks!
/mjt