diff --git a/pve-q35.cfg b/pve-q35.cfg
new file mode 100644
index 000..f9f72fc
--- /dev/null
+++ b/pve-q35.cfg
@@ -0,0 +1,147 @@
+[device ehci]
+ driver = ich9-usb-ehci1
+ multifunction = on
+ bus = pcie.0
Bus names are 'pcie.$bus'? But we use 'pci.$bus' inside code?
-$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
-push @$devices, '-device', 'usb-tablet,id=tablet,bus=uhci.0,port=1' if
$tablet;
+my $usbbus = $q35 ? ehci : uhci;
+push @$devices, '-device',
+ usb-tablet,id=tablet,bus=$usbbus.0,port=1 if $tablet;
Can't we always plug the tablet to ehci (why not)?
.
- Mail original -
De: Dietmar Maurer diet...@proxmox.com
À: Alexandre Derumier aderum...@odiso.com, pve-devel@pve.proxmox.com
Envoyé: Mercredi 18 Juin 2014 06:19:35
Objet: RE: [pve-devel] [PATCH] enable q35 machine support
- $pciaddr = print_pci_addr(piix3, $bridges);
- push
Maurer diet...@proxmox.com
À: Alexandre Derumier aderum...@odiso.com, pve-devel@pve.proxmox.com
Envoyé: Mercredi 18 Juin 2014 06:22:58
Objet: RE: [pve-devel] [PATCH] enable q35 machine support
- push @$devices, '-device', 'usb-tablet,id=tablet,bus=uhci.0,port=1' if
$tablet;
+ my $usbbus
I think we have tried last year, but they was a qemu bug (resolved since),
and usb
mice was not selected by default.
But It's should work now, need to be tested on differents linux distros +
windows.
if it works for q35, it should also work with old setup (or what is the
difference)?
...@proxmox.com
À: Alexandre Derumier aderum...@odiso.com, pve-devel@pve.proxmox.com
Envoyé: Mercredi 18 Juin 2014 06:14:31
Objet: RE: [pve-devel] [PATCH] enable q35 machine support
diff --git a/pve-q35.cfg b/pve-q35.cfg
new file mode 100644
index 000..f9f72fc
--- /dev/null
+++ b/pve
Note, It should be possible to plug classic devices on pcie.0 but I look the
libvirt doc , it's not recommanded because:
- pcie.0 is not hotpluggable
- in the future it'll not be possible to connect pci devices on pcie.0, but
only pci-
express devices
Many thanks for the details!
: Dietmar Maurer diet...@proxmox.com
À: Alexandre DERUMIER aderum...@odiso.com
Cc: pve-devel@pve.proxmox.com
Envoyé: Mercredi 18 Juin 2014 06:28:20
Objet: RE: [pve-devel] [PATCH] enable q35 machine support
I think we have tried last year, but they was a qemu bug (resolved since),
and usb
, because pcidmi brige is non hotpluggable
- Mail original -
De: Dietmar Maurer diet...@proxmox.com
À: Alexandre DERUMIER aderum...@odiso.com
Cc: pve-devel@pve.proxmox.com
Envoyé: Mercredi 18 Juin 2014 06:34:16
Objet: RE: [pve-devel] [PATCH] enable q35 machine support
Note
q35 use pcie.0 root by default. so currently we can't start machine model q35.
we need to add 3 pci-bridge pci.0, pci.1, pci.2, to handle our devices.
pcie.0 does not support hotplug. so pci-bridge are defined at startup.
I use an pve-q35.cfg (mostly the same than q35-chipset.cfg from qemu
-$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
-
De: Dietmar Maurer diet...@proxmox.com
À: Alexandre Derumier aderum...@odiso.com, pve-devel@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
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).
OK, I see.
___
pve-devel mailing list
pve-devel@pve.proxmox.com
14 matches
Mail list logo