[pve-devel] [PATCH] enable q35 machine support
Alexandre DERUMIER
aderumier at odiso.com
Tue May 27 06:38:49 CEST 2014
>>Stupid question, but can we have such setup file for the old architecture?
Yes, of course. (we are already doing it for usb2)
but currently we don't have too many "static" devices to add in pve-pc.cfg.
pci bridge are added dynamically (to not break live migration fo example).
----- Mail original -----
De: "Dietmar Maurer" <dietmar at proxmox.com>
À: "Alexandre Derumier" <aderumier at odiso.com>, pve-devel at pve.proxmox.com
Envoyé: Mardi 27 Mai 2014 06:29:13
Objet: RE: [pve-devel] [PATCH] enable q35 machine support
> - $pciaddr = print_pci_addr("piix3", $bridges);
> - push @$devices, '-device', "piix3-usb-uhci,id=uhci$pciaddr.0x2";
> + if($q35){
> + push @$devices, '-readconfig', '/usr/share/qemu-server/pve-q35.cfg';
> + }else{
> + $pciaddr = print_pci_addr("piix3", $bridges);
> + push @$devices, '-device',
> + "piix3-usb-uhci,id=uhci$pciaddr.0x2";
Stupid question, but can we have such setup file for the old architecture?
if($q35){
push @$devices, '-readconfig', '/usr/share/qemu-server/pve-q35.cfg';
}else{
push @$devices, '-readconfig', '/usr/share/qemu-server/pve-pc.cfg';
}
More information about the pve-devel
mailing list