iphone – Set the default paper size for scanning with the pass-through camera

How can I set the default paper size when scanning with a through-camera with my iPhone?

I use the fantastic new Mojave feature to scan documents directly into the preview with my iPhone. My paper is a white A4 sheet. The iPhone automatically detects the edges against a darker background and I take a snapshot. However, when previewed, the image is slightly stretched and the dimensions (cmd + I) show that it has a letter size of 8.5 x 11.

How can I make sure that it is A4?

ms dos – Using QEMU to emulate DOS with passthrough SCSI access?

I would like to use QEMU to emulate an MS-DOS system running very specialized proprietary software required for communicating with a SCSI tape device.

I see that QEMU provides passthrough access to the host SCSI bus, and it looks like it could also emulate a SCSI adapter that the guest operating system can use. However, I have very little experience with setting up QEMU with SCSI, and the documentation is somewhat dense.

Here's my QEMU command line so far:

qemu-system-i386 -m 32 -drive-file = "dosdrive.img", format = raw 
-drive id = tape device, if = none, format = raw, readonly = off, file = / dev / sg2 
virtio-scsi-pci, id = scsi0 
-device scsi-generic, bus = scsi0.0, drive = tape device

… but my MS-DOS guest does not recognize the SCSI adapter. What am I doing wrong and is it possible at all?

[Quality made in Germany] KVM with CPU passthrough, all flash and lifetime discount

——————————-
Hi, we are the first root.

——————————-

All our nodes run on corporate hardware. These include Intel Data Center SSDs, hardware RAID controllers, dual Xeon processors, n + 1 network uplinks, and redundant power supplies!

NEW: Now you can privately network between all your VPS at no extra cost!

————————————————– —-
Boost your business: KVM Power Edition

————————————————– —-

Designed for all customers with high memory and CPU requirements. Now with 33% discount on the life.

KVM Power Edition Light – Configure now

CENTRAL PROCESSOR: 1 shared Intel Xeon Core
R.A.M: 1,024 MB ECC RAM
PLATE: 40 GB SSD
TRAFFIC: 5 TB at 1 Gbit / s (mirror)

PRICE: 3,00 EUR / month

Launch of the KVM Power Edition – Configure now

CENTRAL PROCESSOR: 2 shared Intel Xeon Core
R.A.M: 2.048 MB ECC RAM
PLATE: 80 GB SSD
TRAFFIC: 5 TB at 1 Gbit / s (mirror)

PRICE: 4,00 EUR / month

KVM Power Edition Pro – Configure now

CENTRAL PROCESSOR: 3 shared Intel Xeon Core
R.A.M: 4,096 MB ECC RAM
PLATE: 140 GB SSD
TRAFFIC: 5 TB at 1 Gbit / s (mirror)

PRICE: 7,00 EUR / month

KVM Power Edition Premium – Configure now

CENTRAL PROCESSOR: 4 shared Intel Xeon Core
R.A.M: 8.192 MB ECC RAM
PLATE: 300 GB SSD
TRAFFIC: 5 TB at 1 Gbit / s (mirror)

PRICE: 13.00 EUR / month

KVM Power Edition Ultra – Configure now

CENTRAL PROCESSOR: 6 shared Intel Xeon Core
R.A.M: 16,384 MB ECC RAM
PLATE: 600 GB SSD
TRAFFIC: 10 TB at 1 Gbit / s (mirror)

PRICE: 22.00 EUR / month

KVM Power Edition Ultimate – Configure now

CENTRAL PROCESSOR: 8 shared Intel Xeon Core
R.A.M: 32,768 MB ECC RAM
PLATE: 1000 GB SSD
TRAFFIC: 10 TB at 1 Gbit / s (mirror)

PRICE: 38.00 EUR / month


Prices shown exclude VAT. And for customers living outside the European Union. If you live in the European Union, your local VAT will be applied.

—————
F-Com Terminal

—————

Since the company was founded in 2011, we have been developing and using our own customer portal. Our vision is to create a place where you can handle all your needs conveniently and easily. We love the benefit of being able to develop and implement new features ourselves instead of relying on third parties.

LEARN MORE

—————
HARDWARE

—————

Nothing is more annoying than unreliable services or downtime. As one of our main goals is to provide first-class services and avoid downtime and problems at all costs, all our systems are based on carefully tested components with the highest level of reliability.

LEARN MORE

———————
NO RESELLER

———————

To provide the best services and availability, we own and operate all our server, switching and routing devices. In case of problems our office is located 5 minutes from our location, so that we can guarantee the shortest reaction times.

LEARN MORE

——————
AVAILABILITY

——————

Knowing that our customers rely on our services, we guarantee 99.9% availability throughout the year.

LEARN MORE

————————————————– ——————
TESTIMONIALS / FEEDBACK FROM OTHER CUSTOMERS

————————————————– ——————

Nobody is perfect, but we can try it. Read what our customers write about us.

SEE MORE

————————————————–
CONTRACT DETAILS. SIMPLE AND FAIR.

————————————————–

In the configuration process, choose from 4 contract models. These contract models are currently available:

1st contract model: 1 month – 0% discount on the life
2. Contract model: 3 months – 2% term rebate
3. Contract model: 6 months – 4% term rebate
4. Contract model: 12 months – 10% discount on the life

You can also deactivate the subscription so that the contract is automatically terminated after the expiration of the contract term.

—————
NETWORK

—————

All VPS have a dedicated IPv4 address and a dedicated / 64 IPv6 network.
We offer free BGP sessions (IPv4 and IPv6) for all KVM Power Edition VPS.

—————
INTERNAL NETWORK

—————

Get two or more VPS and create private connections between them for free.

—————
14 DAYS MONEY BACK GUARANTEE

—————

First Root offers a 14-day money-back guarantee for new customers.

————————–
PAYMENT METHODS

————————–

Our options for your payment.

– Bank transfer
– SEPA direct debit (for EU customers)
– PayPal
– Credit card (VISA, Mastercard, American Express)
– Bitcoin

All payment methods are free, we do not charge credit card fees!

———–
IMPRINT

———–

First root UG (limited liability)
Münsterstr. 330
40470 Dusseldorf
Germany

E-Mail: info@first-root.com
Web: www.first-root.com
Phone: +49 211/41 74 12 23 (Mon – Fri 09:00 – 18:00 CE (D) T)

Registry Court: District Court Düsseldorf
Registration number: HRB 66599

Sales tax identification number: DE815299021
Managing Director: Michael Hoffrath

kvm virtualization – The KVM VGA passthrough guest has a mouse delay when using Youtube

I have a very specific and strange problem with my Windows 10 KVM guest. It uses VGA passthrough and can easily play AAA games.

However, if you watch a video on Youtube and jump to a random time, which caches the video, the mouse has a strange delay and jumps around, the CPU usage increases to about 40-50%, and then returns to normal. The video will be played again.

I tried updating all the virtio drivers in the Guest, updating libvirt, enabling MSI interrupts in the registry, and none of them could solve this problem. This is the only noticeable issue in the year I use this setup.

The host runs Gentoo, but is also reproducible on Fedora. It runs Kernel 4.14.83 and Libvirt 5.0.0.

Pass-through SSL with HAProxy and vhosts on the same IP

Can I forward SSL with HAProxy to a vhost sharing the IP address with other vhosts?

I'm trying

Frontend https
bind *: 443 #ssl
Mode tcp
default_backend port_443

Backend port_443
Mode tcp
Server web42 www.example.com

But I see the default web server, not www.example.com

I could do SNI on the frontend, but how can I say that's the backend – that's for the domain www.example.com?