04.10.2019

Xen Balloon Driver For Mac

87
  1. Canon Driver For Mac

Exclusive Device Access Versus Trusted Driver Domains 331. Exclusive Device Access 331. Mandatory Access Control with sHype and Xen Security Modules 422. Xen Security Modules (XSM) 432. Balloon Driver 451. Xen Project Best Practices – Xen. Information xen balloon applies to opensource Xen Project software from XenProject. Balpoon that point, there is nothing special to do; the VM looks like it did when we shut it down guest thinks it has 2GiB of RAM, but 1GiB is allocated to the balloon driver and not accessed.

I've been trying for months now. I saw it work twice (thanks, Bjorn!), but couldn't reproduce it myself, nor could the original user. One thing we definitely noticed is that networking can't be bridged, but rather must be host only. What I see most of the time is that Xen boots, but the whole Parallels VM crashes when I try to run a guest within Xen. I keep reporting this when it occurs with new versions of Parallels, but obviously (for good reasons) this is way down their list of priorities. Still, if it runs on an x86, it 'should' run in Parallels.

Canon Driver For Mac

(resisting urge to snark) Emulators that use hardware support won't ever run under other emulators. Wait for the Mac version. Xen does have a mode that uses hardware support, but that support is quite new (VT), and it also runs on earlier hardware without that support.

Mac

In that mode, I have seen Xen working, and in fact, with the latest version of Parallels (1922), last night I actually reproduced the successes I'd seen earlier. I haven't narrowed down the settings that enabled this fully, but in addition to host-only networking, I believe that at least 1G needs to be assigned to Parallels for a DomU to boot.

This is great news for me - because I want to do Xen hacking inside a virtual machine (as opposed to having to reboot my hardware when I cause kernel crashes). Log: Linux version 2.6.16.33-xen (root@localhost.localdomain) (gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)) #3 SMP Mon Jan 15 17:34:37 CET 2007 BIOS-provided physical RAM map: Xen: 000000 - 800000 (usable) 0MB HIGHMEM available. 136MB LOWMEM available. ACPI in unprivileged domain disabled Built 1 zonelists Kernel command line: root=/dev/sda1 ro Enabling fast FPU save and restore. Enabling unmasked SIMD FPU exception support.

Initializing CPU#0 PID hash table entries: 1024 (order: 10, 16384 bytes) Xen reported: 1410.995 MHz processor. Console: colour dummy device 80x25 Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Software IO TLB disabled vmalloc area: c9000000-fb7fe000, maxmem 33ffe000 Memory: 120088k/139264k available (1907k kernel code, 10828k reserved, 723k data, 188k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode. Calibratedelaydirect failed to get a good estimate for loopsperjiffy. Probably due to long platform interrupts.

Consider using 'lpj=' boot option. Security Framework v1.0.0 initialized Capability LSM initialized Mount-cache hash table entries: 512 CPU: L1 I cache: 32K, L1 D cache: 32K CPU: L3 cache: 4096K Checking 'hlt' instruction. Brought up 1 CPUs migrationcost=0 checking if image is initramfs. It is Freeing initrd memory: 4946k freed Grant table initialized NET: Registered protocol family 16 Brought up 1 CPUs PCI: setting up Xen PCI frontend stub ACPI: Subsystem revision 20060127 ACPI: Interpreter disabled. Linux Plug and Play Support v0.97 (c) Adam Belay pnp: PnP ACPI: disabled xenmem: Initialising balloon driver. PCI: System does not support PCI PCI: System does not support PCI IA-32 Microcode Update Driver: v1.14-xen audit: initializing netlink socket (disabled) audit(.190:1): initialized VFS: Disk quotas dquot6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) PNP: No PS/2 controller found. Probing ports directly.

I8042.c: No controller found. Floppy drive(s): fd0 is unknown type 15 (usb?), fd1 is unknown type 15 (usb?) Failed to obtain physical IRQ 6 floppy0: no floppy controllers found RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize loop: loaded (max 8 devices) Xen virtual console successfully installed as tty1 Event-channel device installed. Netfront: Initialising virtual ethernet driver. Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx mice: PS/2 mouse device common for all mice md: md driver 0.90.3 MAXMDDEVS=256, MDSBDISKS=27 md: bitmap version 4.39 NET: Registered protocol family 2 Registering block device major 8 blkfront: sda1: barriers enabled blkfront: sda2: barriers enabled -PARALLELS CRASHED. This is with RAMDISK disabled on Xen DomU config root@localhost # xm create -c fc3 Using config file '/etc/xen/fc3'. Started domain fc3 Linux version 2.6.16.33-xen (root@localhost.localdomain) (gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)) #3 SMP Mon Jan 15 17:34:37 CET 2007 BIOS-provided physical RAM map: Xen: 000000 - 800000 (usable) 0MB HIGHMEM available. 136MB LOWMEM available.

ACPI in unprivileged domain disabled Built 1 zonelists Kernel command line: root=/dev/sda1 ro Enabling fast FPU save and restore. Enabling unmasked SIMD FPU exception support.

Initializing CPU#0 PID hash table entries: 1024 (order: 10, 16384 bytes) Xen reported: 1144.339 MHz processor. Console: colour dummy device 80x25 Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Software IO TLB disabled vmalloc area: c9000000-fb7fe000, maxmem 33ffe000 Memory: 125052k/139264k available (1907k kernel code, 5880k reserved, 723k data, 188k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode. Calibrating delay using timer specific routine. 4905.47 BogoMIPS (lpj=24527384) Security Framework v1.0.0 initialized Capability LSM initialized Mount-cache hash table entries: 512 CPU: L1 I cache: 32K, L1 D cache: 32K CPU: L3 cache: 4096K Checking 'hlt' instruction.

Brought up 1 CPUs migrationcost=0 Grant table initialized NET: Registered protocol family 16 Brought up 1 CPUs PCI: setting up Xen PCI frontend stub ACPI: Subsystem revision 20060127 ACPI: Interpreter disabled. Linux Plug and Play Support v0.97 (c) Adam Belay pnp: PnP ACPI: disabled xenmem: Initialising balloon driver. PCI: System does not support PCI PCI: System does not support PCI IA-32 Microcode Update Driver: v1.14-xen audit: initializing netlink socket (disabled) audit(.795:1): initialized VFS: Disk quotas dquot6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) PNP: No PS/2 controller found.

Probing ports directly. I8042.c: No controller found. Floppy drive(s): fd0 is unknown type 15 (usb?), fd1 is unknown type 15 (usb?) Failed to obtain physical IRQ 6 floppy0: no floppy controllers found RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize loop: loaded (max 8 devices) Xen virtual console successfully installed as tty1 Event-channel device installed. Netfront: Initialising virtual ethernet driver.

Mac

It's assumed you have VT-D capable Hardware (CPU/Chipset/Bios) and enabled it accordingly - see It's assumed you have Xen (the Hypervisor) installed and a running Dom0 - see It's assumed you have a ATI Card you want to passthrough, simply because NVIDIA will only work a) with certain patches and b) with certain Windows Versions - this does not apply for High-End Quadro Cards (see for more information). It's assumed you're familiar with compiling a custom kernel and fiddling around with grub options. It's recommended to use newest Xen (newest stable or even xen-unstable) 1.