forked from AbleOS/ableos
potential windows fixes
This commit is contained in:
parent
9da66e7b29
commit
09bf7053b6
|
@ -440,7 +440,7 @@ fn run(release: bool, target: Target, do_accel: bool) -> Result<(), Error> {
|
||||||
{
|
{
|
||||||
"accel=hax"
|
"accel=hax"
|
||||||
} else if supported.contains("whpx") {
|
} else if supported.contains("whpx") {
|
||||||
"accel=whpx"
|
"accel=whpx,kernel-irqchip=off"
|
||||||
} else {
|
} else {
|
||||||
"accel=tcg"
|
"accel=tcg"
|
||||||
}
|
}
|
||||||
|
@ -461,10 +461,6 @@ fn run(release: bool, target: Target, do_accel: bool) -> Result<(), Error> {
|
||||||
// "-serial", "stdio",
|
// "-serial", "stdio",
|
||||||
"-m", "2G",
|
"-m", "2G",
|
||||||
"-smp", "1",
|
"-smp", "1",
|
||||||
"-audiodev",
|
|
||||||
"pa,id=speaker",
|
|
||||||
"-machine",
|
|
||||||
"pcspk-audiodev=speaker",
|
|
||||||
"-parallel", "none",
|
"-parallel", "none",
|
||||||
"-monitor", "none",
|
"-monitor", "none",
|
||||||
"-machine", accel,
|
"-machine", accel,
|
||||||
|
|
Loading…
Reference in a new issue