Method and device for accessing PCI password card in virtual machine
The invention provides a method and device for accessing a PCI password card in a virtual machine, and the method comprises the following steps: S1, configuring a hardware and software environment ofthe PCI password card for a server, installing the PCI password card and an equipment driver thereof,...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a method and device for accessing a PCI password card in a virtual machine, and the method comprises the following steps: S1, configuring a hardware and software environment ofthe PCI password card for a server, installing the PCI password card and an equipment driver thereof, taking the server with the environment configured as a host machine, and setting the host machineto start CPU virtualization; S2, a qemu tool being installed in the host machine, and a kvm module, a crypto password module, a virtio virtual IO module and a virtio rear-end driver being configured for the qemu tool; S3, a mirror image being created through a qemu tool, the virtual machine being started, and a virtio front-end driver being installed in the virtual machine; and S4, establishing connection between the application in the virtual machine and the virtio rear-end driver in the host machine through the virtio front-end driver, and then accessing the PCI cipher card of the host machine through the PCI cipher |
---|