Skip to content

Commit

Permalink
docs: add docs for gtk
Browse files Browse the repository at this point in the history
Signed-off-by: Xiao Ye <[email protected]>
  • Loading branch information
yexiao authored and Fei Xu committed Nov 9, 2023
1 parent 36d2399 commit 486b5cd
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion docs/config_guidebook.md
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,30 @@ It determines the order of bootable devices which firmware will use for booting
-drive file=path_on_host,id=drive-scsi0-0-0-0[,readonly=true,aio=native,direct=true]
-device scsi-hd,bus=scsi0.0,scsi-id=0,lun=0,drive=drive-scsi0-0-0-0,id=scsi0-0-0-0[,serial=123456,bootindex=1]
```
### 2.16 VNC
### 2.16 Display
Multiple display methods are supported by stratovirt, including `GTK` and `VNC`, which allows users to interact with virtual machine.
#### 2.16.1 GTK
Graphical interface drawn by gtk toolkits. Visit [GTK](https://www.gtk.org) for more details.
Two properties can be set for GTK.
* appname: string of the program name, which will be drawn on the titlebar of the window.
* full-screen: if configured on, the initial window will cover the entire screen.
Sample Configuration:
```shell
-display gtk[,appname=<application_name>,full-screen={on|off}]
```
Note: It should be ensured that gtk toolkits have been installed before using gtk.
Please see the [4. Build with features](docs/build_guide.md) if you want to enable GTK.
#### 2.16.2 VNC
VNC can provide the users with way to login virtual machines remotely.
In order to use VNC, the ip and port value must be configured. The IP address can be set to a specified value or `0.0.0.0`, which means that all IP addresses on the host network card are monitored
Expand Down

0 comments on commit 486b5cd

Please sign in to comment.