Giter VIP home page Giter VIP logo

mvisor's People

Contributors

78 avatar nooodles2023 avatar wecofuture avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mvisor's Issues

network and hostfile access configuration

Hi,
I installed windows 10 on mvisor. guest os is running and has internet access, but no access to local host. Also, no access to host file system.
How to configure access to local network and host file system?

woecj

../core/vcpu.cc:650 SaveStateTo() panic-error: failed to get MSR(4) index=0x3a errno=2, No such file or directory

我正在试用它, 所以按照你的build进行下去, i440 与 q35 也切换了, 但还是出了问题.

$ ./mvisor -c ../config/1.yaml
[0.000] ../core/vcpu.cc:650 SaveStateTo() panic-error: failed to get MSR(4) index=0x3a errno=2, No such file or directory

1.yaml:

name: Default configuration
base: q35.yaml

machine:
  memory: 4G
  vcpu: 2
  # Set vcpu thread priority value [-20, 19]
  # A higher value means a lower priority
  priority: 1
  # Turn on BIOS output and performance measurement
  debug: No
  # Turn on hypervisor to lower CPU usage (Hyper-V is used for Windows)
  hypervisor: Yes

objects:
  - name: cmos
    # gmtime for linux, localtime for windows
    rtc: localtime

  - class: qxl
  - class: spice-agent
  - class: qemu-guest-agent
  - class: usb-tablet

  - class: virtio-network
    backend: uip
    mac: 00:50:00:11:22:33
    map: tcp:0.0.0.0:8022-:22

  - class: ata-cdrom 
    image: /home/spobit/Desktop/en_windows_7_professional_x86_dvd.iso
  
  - class: ata-cdrom
    image: /home/spobit/Desktop/virtio-win-0.1.240.iso

  - class: ata-disk
    image: /home/spobit/Desktop/mvisor-master/share/empty.qcow2
    snapshot: No
  
  # - class: floppy
  #   image: /data/images/floppy.img

  # - class: virtio-block
  #   image: /data/empty.qcow2
  #   snapshot: No

  # - class: virtio-fs
  #   path: /tmp/fuse
  #   disk_name: mvisor-fs
  #   disk_size: 2G
  #   inode_count: 200

  # - class: vfio-pci
  #   sysfs: /sys/bus/mdev/devices/c2e088ba-954f-11ec-8584-525400666f2b
  #   debug: Yes

  # - class: virtio-vgpu
  #   memory: 1G
  #   staging: No
  #   blob: No
  #   node: /dev/dri/renderD131

只是改了vcpu为2, ata-cdrom, ata-disk, hypervisor, 其它配制什么都没改变.

Feature request: ARM64 support

Hello. I can see that, with exception for seabios and cpuid, along with the chipset emulation, there is no x86 architecture bound code in this project. As it stands, both KVM and Hyper-V have aarch64 support which is transparent for the applications. Therefore, almost all of this code should work fine on top of the aarch64 KVM. Are there any plans of implementing the aarch64 support? It would be nice to have an alternative for Qemu.

What are the key differences between mvisor and QEMU?

I have a few questions regarding the key differences between mvisor and QEMU.

I think it is unlikely that mvisor would outperform QEMU in terms of speed, since both of them are using KVM.
Does mvisor have a significantly smaller memory footprint or lower CPU usage compared to QEMU?
Does mvisor offers any additional functionality than QEMU?

Specifically, I would like to know if mvisor can be used as a gtk-widget or qt-widget, allowing it to be seamlessly embedded in GTK or QT applications. QEMU + spice-gtk-widget solution is heavy and complex, since QEMU needs to be managed as a separate process, and QMP protocol and SPICE protocol must be used to interact with it.

Feature request: support for virtio-snd (paravirtualized sound device)

Cool! An alternative for QEMU with KVM support! 🙂

I have a feature request for mvisor:

Would you consider adding support for virtio-snd? The Linux kernel has had a guest driver for this VirtIO device for 2 years (since kernel 5.13), but until this day, QEMU has not yet delivered host support for it.

It would be nice to have at least one open-source hypervisor that could make use of it.

Thanks for considering!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.