[qubes-users] Re: connection android w. android-studio

2019-07-26 Thread Doesnt Work
Forgot link:
[1]:
https://groups.google.com/forum/?_escaped_fragment_=msg/qubes-users/HGAT6DmuQkM/8g1oR2_sCwAJ

Doesnt Work:
> I've managed to start an andorid-x86 iso within qubes. Will go through
> the long process[1] of building and installing self-compiled images when
> I find the time.
>
> My goal is to do device-testing with android-studio. Since I can attach
> a physical phone to the android-studio-VM and run device-tests that way,
> I believe it should be possible to attach the android-x86-VM to the
> studio-VM and run tests on the VM instead of the virtual device.
> However, I can't find any resources how to even get started.
>
> Has anybody here tried the same thing or ideas how to get this
> (attaching android-VM as USB-device to studio-VM) working? Would be
> happy about pointers where to start as well.
>
> sincerely
>  GammaSQ
>

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/6379d41d-2d70-1bdc-5c23-986a00be1b7a%40gmx.at.


[qubes-users] duplicity incremental backup to virtual block device

2016-06-04 Thread Doesnt Work
Hello!

My basic problem:
I'd like to backup some of my files from AppVMs incrementally with
duplicity. Some of them (vault, ...) don't have network access. I
believe I don't have enough free HDD-space to keep the update within the
AppVM and copy every update to a network-enabled AppVM. (apart from
that, it would take quite long.

My current solution:
Plug in a Thumb-Drive, start first AppVM to be backuped, attach it to
the AppVM, run duplicity, detach thumbdrive, shutdown AppVM, rinse and
repeat with other AppVMs that need to be backuped.
In theory, this should be possible with a script in dom0, but currently
I do it manually. It works fine.
Finally, the thumbdrive is attached to an AppVM with network access and
the whole backup uploaded via sftp. (I want to have a local and off-site
backup anyway, so uploading a huge file isn't that big of a deal for me.)

What I want to achieve:
A virtual block device, which I can attach/detach programatically, so I
don't need to attach a regular thumbdrive.

I've tried to create a virtual blockdevice:

dd if=/dev/zero of=~/backup.img

losetup --find --partscan --show bakup.img

mkfs.fat /dev/loop19

but it doesn't show up in qvm-block -l.

So I don't know weather it's easier to tell qubes "This is a USB
device!" (how?) or tell qubes to attach this loop device to an AppVM.
(Again, how? I was thinking about creating a virtual PCI-device, though
I'd still have to google weather that's possible.)

Sincerely
  GammaSQ

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/35eb9b31-e10d-01e7-fe5e-59fcabe10a4b%40gmx.at.
For more options, visit https://groups.google.com/d/optout.